Solid, outline, soft, ghost and gradient buttons with every state
Neo-Brutalism Generator
Build bold, flat cards and buttons that push into their shadow when pressed, with contrast checked as you go.
Loading tool…
How to use neo-brutalism generator
Pick a colour preset such as Lemon, Bubblegum, Mint, Sky or Ink.
Set border width, corner radius, shadow offset, font size and weight.
Choose a separate border and shadow colour for dark mode.
Hover and press the preview button, fix any contrast warning, then copy CSS or Tailwind.
What this tool does
- Generates hover lift, pressed, keyboard focus and reduced motion rules, not just the resting state.
- Previews a card and a working button on light and dark backgrounds.
- Warns when text on the surface fails WCAG AA for its size and weight.
- Outputs Tailwind classes with hover:, active: and dark: variants.
How the result is verified
The preview button uses the same rules as the CSS output, so hovering and pressing it is a live test of the states. Contrast uses the WCAG 2 formula.
Frequently asked questions
What makes a design neo-brutalist?
Flat saturated colour, thick dark outlines, hard shadows with no blur and plain bold type. It reads as deliberate and a little raw, unlike soft modern shadows.
Why does the button move when pressed?
On :active it slides by the shadow offset and drops the shadow, so it looks physically pushed into the page. That gives clear feedback without any animation library.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
Layered box-shadow builder with presets, inset and Tailwind output
Layered text-shadow with neon, 3D, outline and long shadow presets
Soft UI shapes for light and dark mode with a WCAG text contrast check