A train seen head-on and struck through, for cancelled trains, strikes and closed lines. On a 24×24 grid in stroke, two-tone, duotone and fill, free under MIT.
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M17.8715 17.8715C17.5957 17.9551 17.3031 18 17 18L7 18C5.3431 18 4 16.6569 4 15L4 5C4 4.6969 4.0449 4.4043 4.1285 4.1285M4 9L9 9M4 5L2 5M7 18L5 22M17 18L19 22M7.6569 2L17 2C18.6569 2 20 3.3431 20 5L20 14.3431M14.6569 9L20 9M20 5L22 5M2 2L22 22" fill="none"/>
<path d="M10 13.5C10 14.3284 9.3284 15 8.5 15C7.6716 15 7 14.3284 7 13.5C7 12.6716 7.6716 12 8.5 12C9.3284 12 10 12.6716 10 13.5Z" fill="currentColor" stroke="none"/>
</svg>Also called
What someone searching for this drawing would have typed instead. These are the words the browser's search matches on.
- train off
- no trains
- cancelled train
- rail strike
- line closed
Related icons
The rest of the train family first, then the Transport shelf.
FAQ
Answered from train-front-off's own facts: its shelf, the weights it was drawn in, its siblings and its dates.
- What is the train-front-off icon for?
- A train seen head-on and struck through, for cancelled trains, strikes and closed lines. It is filed under Transport in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as train off, no trains, cancelled train, rail strike and line closed, and the browser's search matches all of those.
- What styles does the train-front-off icon come in?
- All four: stroke, two-tone, duotone and fill. They are drawn from the same geometry, so swapping style never moves anything.
- Is there a square or circle version of train-front-off?
- No. train-front-off is drawn as a bare glyph, and the set has no boxed variant of it.
- What other icons go with train-front-off?
- train-front, train-track, bike, bike-2, bike-2-off and bike-fast, and 12 more, all shown below. The train family is listed first, then the rest of the Transport shelf, so the row under this one is the useful one even where a shelf runs long.
- How do I import train-front-off in React?
- <TrainFrontOff /> is the component, and the weight decides the module: stroke from "@keyline-icons/react", two-tone from "@keyline-icons/react/two-tone", duotone from "@keyline-icons/react/duotone" and fill from "@keyline-icons/react/fill". It takes the usual SVG props plus a size, so <TrainFrontOff size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
- Where is the train-front-off SVG?
- icons/stroke/train-front-off.svg, icons/two-tone/train-front-off.svg, icons/duotone/train-front-off.svg and icons/fill/train-front-off.svg in the repository, normalised: no wrapper, no ids and no classes to strip out. The tabs above hand you the same drawing as SVG or JSX without the download, and neither needs an install.
- When was train-front-off added to the set?
- Added 25 Oct 2026. It ships in v2.2.0, so an install at that version or later has it.
Questions about the set rather than about this drawing are answered where they belong. The home page covers what the set is, how the three styles differ, why some icons come boxed and where the Figma file is; installing the set in a shadcn/ui project covers the React package, the CLI and using an icon without React. The MIT licence is stated in the footer of every page.