The pin-impression toy. Pins rise to meet your pointer and ease back down. Press and hold to push harder.
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 |
|---|---|---|---|
| cols | number | 18 | Number of pins per row. |
| rows | number | 12 | Number of rows of pins. |
| gap | number | 22 | Pin spacing in px. |
| lift | number | 70 | How far a pin can rise, in px. |
| radius | number | 70 | How wide the pointer's influence is, in px. |
| className | string | Extra classes added to the outer element. |