Brutalist
Markup where the component goes, CSS in your stylesheet. No JavaScript.
HTML
CSS
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/input-brutalistAbout 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
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