train-front-tunnel

Animated React component — TrainFrontTunnel / TrainFrontTunnelIcon

Hover the train-front-tunnel icon above to see the default draw animation.

Import

Tree-shakable named import — only the icons you reference end up in your bundle.

import { TrainFrontTunnel } from "lucide-motion";

Also exported as TrainFrontTunnelIcon for the Lucide-suffix naming convention.

Quick start

Drop the component into your JSX. The default trigger plays the draw animation on hover.

import { TrainFrontTunnel } from "lucide-motion";

<TrainFrontTunnel size={32} />
Timing presets · hover to play
Snappy
duration={0.2} stagger={0}
Cinematic
duration={1.5} stagger={0.4}
Linear
easing="linear"
Spinner
trigger="mount" repeat={Infinity}
Tags
railwaymetrosubwayundergroundspeedbulletfasttrackline
Related icons

Raw node data

The icon's underlying SVG node tree — useful if you need to render or transform it yourself instead of using the component.

Show IconNode[]
[
  [
    "path",
    {
      "d": "M2 22V12a10 10 0 1 1 20 0v10"
    }
  ],
  [
    "path",
    {
      "d": "M15 6.8v1.4a3 2.8 0 1 1-6 0V6.8"
    }
  ],
  [
    "path",
    {
      "d": "M10 15h.01"
    }
  ],
  [
    "path",
    {
      "d": "M14 15h.01"
    }
  ],
  [
    "path",
    {
      "d": "M10 19a4 4 0 0 1-4-4v-3a6 6 0 1 1 12 0v3a4 4 0 0 1-4 4Z"
    }
  ],
  [
    "path",
    {
      "d": "m9 19-2 3"
    }
  ],
  [
    "path",
    {
      "d": "m15 19 2 3"
    }
  ]
]