Skewed
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-skewedAbout this component
A parallelogram-shaped button using clip-path. On hover, a gradient fill sweeps in from the left with a skewed transform, while the text colour transitions to white. The clip-path outline remains visible at all times.
Triggers
- Hover
Techniques
- clip-path
- CSS transition
Difficulty
Beginner
Accessibility
Reduced motion
Transitions should be disabled under prefers-reduced-motion.
Use it in anything you build, commercial and client work included. Licence