A wrapped box with a bow. Hover, focus or tap and the lid lifts off, light pours out and sparkles float up.
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 | 150 | Box width in px. |
| colors | [string, string] | ["#7c3aed", "#fbbf24"] | Box and ribbon colours. |
| open | boolean | Controlled open state. Leave unset to let the box manage itself. | |
| onOpenChange | (open: boolean) => void | Called with the new open state when the box opens or closes. | |
| className | string | Extra classes added to the outer element. |