Settle
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-settleAbout this component
A pay button filled with slowly shifting green, teal and lime light. Pressing it draws the pill in to a circle, a white tick writes itself with a small burst of marks round it, and then it opens back out to the label.
Triggers
- Click
- State change
- Morph
- Gradient
Techniques
- CSS transition
- stroke-dashoffset
- Keyframes
- Radial gradient
Difficulty
Advanced
Accessibility
Keyboard and screen readers
A native button whose aria-label changes from "Pay $24" to "Paid" while the tick shows; the drawn parts are aria-hidden. Presses during the morph are ignored.
Reduced motion
The states swap without animation.
Use it in anything you build, commercial and client work included. Licence