Brutalist

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-brutalist

About this component

Neo-brutalist style: on focus a hard 4px offset black box-shadow slams from an offset position to zero, while the border snaps to high-contrast. Snappy cubic-bezier easing.

Triggers

  • Focus
  • Border

Techniques

  • Transform only

Difficulty

Beginner

Moves on

Its code uses this curve. Open one to see it plotted and tune it.

Accessibility

Reduced motion

Border color change alone acts as the focus indicator under prefers-reduced-motion; shadow transition is skipped.

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

More inputs

See all
80
Count RingGet code
ElectricGet code