John KuehJohn Kueh

train icon

Tabler · train · MIT

Download SVG

The Tabler train icon depicts a classic train engine, commonly used to represent railway transport, travel, or public transit options in user interfaces.

Common uses

  • Button to view train schedules
  • Link to a transportation or travel section
  • Indicator for train-related services

Use it in React

Install
npm i @tabler/icons-react
Import & render
import { IconTrain } from '@tabler/icons-react';

<IconTrain size={24} stroke={2} />

Styles

Tabler ships this icon in 2 styles — each its own import:

outline
<IconTrain size={24} stroke={2} />
filled
<IconTrainFilled size={24} stroke={2} />

Details

Library
Tabler (5,093 icons)
License
MIT
viewBox
0 0 24 24
Category
Vehicles
Keywords
railwayrailstgvjourneytravelnetworkroutepassengertraintransportvehicleslocomotive

FAQ

What does the train icon represent?
It represents a train, suitable for indicating railway transport, journeys, or travel-related features.
How do I use the train icon in React?
Import it using `import { IconTrain } from '@tabler/icons-react'` and use it as a component: `<IconTrain />`.
What is the license for this icon?
The Tabler icons, including the train icon, are released under the MIT license.

Related icons

The same idea in other libraries, and near matches in Tabler.

Looking for something else? Search Tabler and 4 more libraries by description →

The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →