Seal
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-sealAbout this component
Hold to delete, in void light: a rune ring turns inside it at rest; holding traces a seal round the pill and pulls motes into a growing well; at full it implodes, then detonates, leaving its ends cracked for a moment. Let go early and the seal unwinds.
Triggers
- Click
- Glow
- State change
- Draw
Techniques
- Conic gradient
- stroke-dashoffset
- requestAnimationFrame
- SVG
- CSS variables
Difficulty
Advanced
Accessibility
Keyboard and screen readers
A native <button> labelled "Hold to delete" (then "Deleted"); Space or Enter held works like the pointer. Decorations are aria-hidden.
Reduced motion
The loops and bursts are skipped and the hold still confirms.
Use it in anything you build, commercial and client work included. Licence