triangle-alert

Animated React component — TriangleAlert / TriangleAlertIcon

Hover the triangle-alert icon above to see the default draw animation.

Import

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

import { TriangleAlert } from "lucide-motion";

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

Quick start

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

import { TriangleAlert } from "lucide-motion";

<TriangleAlert 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
warningalertdangerexclamation marklinter
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": "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"
    }
  ],
  [
    "path",
    {
      "d": "M12 9v4"
    }
  ],
  [
    "path",
    {
      "d": "M12 17h.01"
    }
  ]
]