roller-coaster

Animated React component — RollerCoaster / RollerCoasterIcon

Hover the roller-coaster icon above to see the default draw animation.

Import

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

import { RollerCoaster } from "lucide-motion";

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

Quick start

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

import { RollerCoaster } from "lucide-motion";

<RollerCoaster 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
attractionentertainmentamusement parktheme parkfunfair
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": "M6 19V5"
    }
  ],
  [
    "path",
    {
      "d": "M10 19V6.8"
    }
  ],
  [
    "path",
    {
      "d": "M14 19v-7.8"
    }
  ],
  [
    "path",
    {
      "d": "M18 5v4"
    }
  ],
  [
    "path",
    {
      "d": "M18 19v-6"
    }
  ],
  [
    "path",
    {
      "d": "M22 19V9"
    }
  ],
  [
    "path",
    {
      "d": "M2 19V9a4 4 0 0 1 4-4c2 0 4 1.33 6 4s4 4 6 4a4 4 0 1 0-3-6.65"
    }
  ]
]