A paper pinwheel on a stick. Each blade has a raised folded triangle, so it has real depth. It spins up while you hover or press it, then eases back.
Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.
| Prop | Type | Default | Description |
|---|---|---|---|
| size | number | 120 | Blade length in px. |
| colors | [string, string, string, string] | ["#ef4444", "#facc15", "#3b82f6", "#22c55e"] | Four blade colours. |
| className | string | Extra classes added to the outer element. |