Skewed

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-skewed

About 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

More buttons

See all
Stagger LettersGet code