Pillow
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-pillowAbout this component
A soft raised pill moulded out of its own matte surface, with a small violet lamp beside the label. Hover lifts it; a press sinks it into a dish and the lamp flares.
Triggers
- Hover
- Click
- Neumorphic
- Glow
Techniques
- CSS variables
- CSS transition
- Keyframes
- Radial gradient
Difficulty
Beginner
Accessibility
Keyboard and screen readers
A native button named by its label; the lamp is aria-hidden and :focus-visible draws an outline.
Reduced motion
The lamp stops breathing and transitions are off.
Use it in anything you build, commercial and client work included. Licence