hat-glasses

Animated React component — HatGlasses / HatGlassesIcon

Hover the hat-glasses icon above to see the default draw animation.

Import

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

import { HatGlasses } from "lucide-motion";

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

Quick start

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

import { HatGlasses } from "lucide-motion";

<HatGlasses 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
incognitodisguisecostumemaskedanonymousanonymityprivacyprivate browsingstealthhiddenundercovercloakinvisibleghostspyagentdetectiveidentitycapfedoraspectaclesshadessunglasseseyewear
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": "M14 18a2 2 0 0 0-4 0"
    }
  ],
  [
    "path",
    {
      "d": "m19 11-2.11-6.657a2 2 0 0 0-2.752-1.148l-1.276.61A2 2 0 0 1 12 4H8.5a2 2 0 0 0-1.925 1.456L5 11"
    }
  ],
  [
    "path",
    {
      "d": "M2 11h20"
    }
  ],
  [
    "circle",
    {
      "cx": "17",
      "cy": "18",
      "r": "3"
    }
  ],
  [
    "circle",
    {
      "cx": "7",
      "cy": "18",
      "r": "3"
    }
  ]
]