Brick
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-brickAbout this component
A toy brick with its label printed on the side, sitting on a baseplate: hover lifts it so you see the studs it was clutching; press clicks it back down hard, with a glint along it.
- Dependencies
- None
- Difficulty
- Beginner
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers3
- Hover
- Click
- 3D
Techniques3
- CSS transition
- Gradient
- Pseudo elements
Accessibility
Keyboard and screen readers
A native button named by its label, Build; the studs and plate are aria-hidden.
Reduced motion
The brick moves without transition.
Use it in anything you build, commercial and client work included. Licence