Stapler
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-staplerAbout this component
A desk stapler seen from the side: press the arm and it swings down on its hinge, a staple clinches through the paper corner with a jump of the sheets, and each press adds one more staple to the pile.
- Dependencies
- None
- Difficulty
- Intermediate
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers2
- Click
- State change
Techniques3
- CSS transition
- Keyframes
- Pseudo elements
Accessibility
Keyboard and screen readers
A native button named "Attach" with the staple count in an aria-describedby line.
Reduced motion
The arm and staples change without animation.
Use it in anything you build, commercial and client work included. Licence