graduation-cap

Animated React component — GraduationCap / GraduationCapIcon

Hover the graduation-cap icon above to see the default draw animation.

Import

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

import { GraduationCap } from "lucide-motion";

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

Quick start

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

import { GraduationCap } from "lucide-motion";

<GraduationCap 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
schooluniversitylearnstudymortarboardeducationceremonyacademichatdiplomabachlor'smaster'sdoctorate
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.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z"
    }
  ],
  [
    "path",
    {
      "d": "M22 10v6"
    }
  ],
  [
    "path",
    {
      "d": "M6 12.5V16a6 3 0 0 0 12 0v-3.5"
    }
  ]
]