Brutal

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-brutal

About this component

A yellow slab with a thick black outline, a hard offset shadow and a pink starburst turning on its corner. Hover throws the shadow further and nudges the arrow; a press slams the slab onto its shadow.

Triggers

  • Hover
  • Click
  • Border
  • Loop

Techniques

  • clip-path
  • Keyframes
  • CSS transition
  • CSS variables

Difficulty

Beginner

Accessibility

Keyboard and screen readers

A native button named by its label; the arrow and the star are aria-hidden and :focus-visible draws an outline.

Reduced motion

The star stops and the slab moves without a transition.

Use it in anything you build, commercial and client work included. Licence

More buttons

See all
BusyGet code
ChalkGet code
CipherGet code
ClayGet code