Diamond
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-diamondAbout this component
A diamond-shaped button using a 45-degree rotated wrapper with counter-rotated text. On hover, the button scales up, the background gradient brightens, and a pulse box-shadow animation radiates outward. No clip-path: pure CSS rotate transform.
Triggers
- Hover
- Glow
Techniques
- Keyframes
- CSS transition
Difficulty
Beginner
Accessibility
Reduced motion
Pulse animation disabled under prefers-reduced-motion.
Use it in anything you build, commercial and client work included. Licence