Ink Stamp
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-ink-stampAbout this component
On click, a circular ink-blot radial gradient expands from the center of the button and fades out via a CSS keyframe animation. The effect is re-triggered on every click using the removeAttribute/offsetWidth/setAttribute pattern.
Triggers
- Click
Techniques
- Keyframes
- Radial gradient
Difficulty
Beginner
Accessibility
Reduced motion
Ink animation disabled under prefers-reduced-motion.
Use it in anything you build, commercial and client work included. Licence