A train's front under a tunnel arch, for subways, metros and tunnels. 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="M2 22L2 7C2 4.2386 4.2386 2 7 2L17 2C19.7614 2 22 4.2386 22 7L22 22M8 7L16 7C17.1046 7 18 7.8954 18 9L18 17C18 18.1046 17.1046 19 16 19L8 19C6.8954 19 6 18.1046 6 17L6 9C6 7.8954 6.8954 7 8 7ZM6 11L18 11M8 19L6.5 22M16 19L17.5 22"/>
<path d="M11 15C11 15.5523 10.5523 16 10 16C9.4477 16 9 15.5523 9 15C9 14.4477 9.4477 14 10 14C10.5523 14 11 14.4477 11 15ZM15 15C15 15.5523 14.5523 16 14 16C13.4477 16 13 15.5523 13 15C13 14.4477 13.4477 14 14 14C14.5523 14 15 14.4477 15 15Z" 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.
- tunnel
- subway
- metro
- underground
- train
- transport
- transportation
- vehicle
Related icons
Closest to train-front-tunnel first: its name counts most, then what people search for it by, then the rest of the Transport shelf.
FAQ
Answered from train-front-tunnel's own facts: its shelf, the styles it was drawn in, its siblings and its dates.
- What is the train-front-tunnel icon for?
- A train's front under a tunnel arch, for subways, metros and tunnels. 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 tunnel, subway, metro, underground, train, transport, transportation and vehicle, and the browser's search matches all of those.
- What styles does the train-front-tunnel 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-tunnel?
- No. train-front-tunnel is drawn as a bare glyph, and the set has no boxed variant of it.
- What other icons go with train-front-tunnel?
- train-front, train-front-off, car-front, bus-front, tram-front and car-front-off, and 12 more, all shown below. Closest to train-front-tunnel first: its name counts most, then what people search for it by, then the rest of the Transport shelf.
- How do I import train-front-tunnel in React?
- <TrainFrontTunnel /> is the component, and the style 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 <TrainFrontTunnel size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
- Where is the train-front-tunnel SVG?
- icons/stroke/train-front-tunnel.svg, icons/two-tone/train-front-tunnel.svg, icons/duotone/train-front-tunnel.svg and icons/fill/train-front-tunnel.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-tunnel added to the set?
- Added 26 Nov 2026. It ships in v3.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.