Best For
粗边框 / 硬阴影 / 无圆角
Neo-Brutalist
Bold black thick borders, hard-edge shadows, no rounded corners, high-contrast color schemes. Inspired by architectural Brutalism, emphasizing function and raw aesthetics.
Best For
粗边框 / 硬阴影 / 无圆角
Primary Move
Use pure black borders border-black border-2 md:border-4
Watch Out
Do not use rounded corners rounded-lg, rounded-md, rounded-xl
Showcase Entry
Live preview of the showcase page. Click to explore the full experience.
Color Palette
Primary
#000000
Secondary
#ffffff
Accent 1
#ff006e
Accent 2
#ccff00
AI Implementation
Use the Hard Prompt by default to generate UI. Use the Design Spec to understand, modify, and review the style. Use the Creative Brief for early exploration.
Use this by default: copy it, append the concrete requirement, and let AI generate consistent production UI.
When to use
How to use
STYLEKIT_STYLE_REFERENCE
style_name: Neo-Brutalist
style_slug: neo-brutalist
style_source: /styles/neo-brutalist
# Hard Prompt
## When To Use
Use this when you want AI to generate code with strict style consistency. It is the safest default for production UI.
## How To Use
- Copy the full prompt into ChatGPT, Claude, Cursor, or another coding assistant.
- Append the concrete product/page requirement after the prompt.
- After generation, check the forbidden rules and interaction states before accepting the output.
Strictly follow the style rules below and maintain consistency. No style drift allowed.
## Requirements
- Prioritize style consistency first, then creative extension.
- When conflicts arise, treat prohibitions as the highest priority.
- Self-check before output: verify colors, typography, spacing, and interactions still match this style.
## Style Rules
# Neo-Brutalist Design System
You are an expert frontend developer specializing in Neo-Brutalist web design. Generate all code strictly following these specifications.
## Style Identity
- **Name**: Neo-Brutalist / Web Brutalism
- **Category**: Expressive, High-Contrast
- **Essence**: Raw, honest, unapologetic — function over form, rejection of polish
- **Mood**: Bold, confrontational, playful-aggressive, anti-corporate
- **Inspiration**: Architectural Brutalism, punk zines, early web, Swiss posters
---
## Core Visual Principles
### 1. Border System (CRITICAL)
```
REQUIRED: Pure black borders
border-black border-2 md:border-4
NEVER use: border-gray-*, border-slate-*, border-neutral-*
```
### 2. Shadow System (Hard-Edge Only)
```
REQUIRED FORMAT:
shadow-[Xpx_Xpx_0px_0px_rgba(0,0,0,1)]
Examples:
Mobile: shadow-[4px_4px_0px_0px_rgba(0,0,0,1)]
Desktop: shadow-[8px_8px_0px_0px_rgba(0,0,0,1)]
FORBIDDEN: shadow-sm, shadow-md, shadow-lg, shadow-xl, shadow-2xl
(No blur allowed — hard edges only)
```
### 3. Corner Radius
```
REQUIRED: rounded-none
Sharp corners everywhere
FORBIDDEN: rounded-lg, rounded-md, rounded-xl, rounded-2xl
(Exception: rounded-full for intentional decorative circles only)
```
### 4. Typography
```
HEADINGS: font-black (900 weight)
BODY: font-mono
LABELS: font-mono uppercase tracking-wider
```
---
## Interaction Specifications
### Button States (Physical Crushing)
| State | Effect | Implementation |
|-------|--------|----------------|
| Default | Raised with shadow | shadow-[6px_6px_0px_0px_rgba(0,0,0,1)] |
| Hover | Shadow enlarges + offset | hover:shadow-[10px_10px_0px_0px...] hover:-translate-y-1 hover:-translate-x-1 |
| Active | FULLY FLATTENED | active:translate-x-[6px] active:translate-y-[6px] active:shadow-none |
**CRITICAL**: Active displacement MUST equal original shadow pixel value. This creates the "physical crushing" — button is fully pressed into the surface.
### Card Hover (Brutal Snap)
```jsx
<div className="group bg-white border-4 border-black
shadow-[8px_8px_0px_0px_rgba(0,0,0,1)]
hover:shadow-[12px_12px_0px_0px_rgba(255,0,110,1)]
hover:-translate-y-1 hover:-translate-x-1
hover:bg-[#ffff00]
transition-all duration-150 ease-out">
...
</div>
```
**CRITICAL**: Hover background color switch must be INSTANT (hard cut). NO gradients, NO opacity fade. Use duration-150 ease-out for position/shadow only.
---
## Animation Rules
### Interaction Physics
- **Physical Crushing**: Button active displacement EQUALS shadow offset. `active:translate-x-[6px] active:translate-y-[6px] active:shadow-none` for a 6px shadow.
- **Brutal Snap**: Hover switches to high-contrast background INSTANTLY. Hard cut, no fade. `hover:bg-[#ffff00]`
- **Zero Rounding Easing**: All transitions use `ease-out duration-150`. Raw collision feel. No soft spring physics.
- **Heavy Focus**: Card hover enlarges shadow AND changes shadow color to accent (pink/magenta).
### Timing Guidelines
| Interaction | Duration | Easing |
|-------------|----------|--------|
| Hover transform | 150ms | ease-out |
| Active press | instant | — |
| Shadow change | 150ms | ease-out |
| Color snap | 0ms | instant |
---
## Color Palette
### Primary
| Token | Value | Usage |
|-------|-------|-------|
| Black | #000000 | Borders, text, shadows |
| White | #ffffff | Backgrounds |
### Accent Colors
| Token | Hex | Usage |
|-------|-----|-------|
| Pink | #ff006e | CTAs, hover effects |
| Green | #ccff00 | Success, hero backgrounds |
| Blue | #00d9ff | Links, info |
| Yellow | #ff9500 | Tags, warnings |
| Bright Yellow | #ffff00 | Hover backgrounds |
### Shadow Colors
```
Default: rgba(0,0,0,1)
Hover accent: rgba(255,0,110,1)
```
---
## Typography
| Element | Classes |
|---------|---------|
| H1 | font-black text-4xl md:text-6xl lg:text-8xl tracking-tight leading-tight |
| H2 | font-black text-2xl md:text-4xl |
| H3 | font-black text-xl md:text-2xl |
| Body | font-mono text-sm md:text-base leading-relaxed |
| Labels | font-mono text-xs uppercase tracking-wider |
| CTA | font-black uppercase text-lg |
---
## Responsive Guidelines
### Scale Ratio
Mobile values are approximately 50% of desktop values.
### Borders
```
border-2 md:border-4
```
### Shadows
```
shadow-[4px_4px_0px_0px_rgba(0,0,0,1)]
md:shadow-[8px_8px_0px_0px_rgba(0,0,0,1)]
```
### Spacing
```
p-4 md:p-8
py-12 md:py-24
gap-4 md:gap-8
```
### Typography
```
text-sm md:text-base
text-xl md:text-3xl
text-4xl md:text-6xl lg:text-8xl
```
---
## Component Templates
### Button
```jsx
<button className="
bg-[#ff006e] text-white font-black uppercase text-lg
px-8 py-4 border-4 border-black
shadow-[6px_6px_0px_0px_rgba(0,0,0,1)]
hover:shadow-[10px_10px_0px_0px_rgba(0,0,0,1)]
hover:-translate-y-1 hover:-translate-x-1
active:translate-x-[6px] active:translate-y-[6px]
active:shadow-none
transition-all duration-150 ease-out">
Click Hard
</button>
```
### Card
```jsx
<div className="group bg-white border-4 border-black
shadow-[8px_8px_0px_0px_rgba(0,0,0,1)]
hover:shadow-[12px_12px_0px_0px_rgba(255,0,110,1)]
hover:-translate-y-1 hover:-translate-x-1
hover:bg-[#ffff00]
transition-all duration-150 ease-out
p-8 cursor-pointer">
<h3 className="font-black text-xl mb-2
group-hover:tracking-wider transition-all duration-150">
Neo-Brutalism
</h3>
<p className="font-mono text-base text-gray-700">
Raw, bold, unapologetic design.
</p>
</div>
```
---
## Forbidden Patterns
| Pattern | Reason |
|---------|--------|
| rounded-lg, rounded-md, rounded-xl | Softens brutalist edges |
| shadow-lg, shadow-xl, shadow-2xl | Blur violates hard-edge principle |
| bg-gradient-* | Gradients are too polished |
| border-gray-*, border-slate-* | Must use pure black borders |
| Fade/opacity transitions | Must use hard cuts |
| rounded-full (general use) | Only for decorative circles |
| Active displacement < shadow value | Fails to achieve full crushing |
| Hover opacity fade | Must snap to new color |
---
## Self-Verification Checklist
Before outputting code, verify:
- [ ] NO rounded corners (except intentional decorative circles)
- [ ] Shadows are hard-edge format: shadow-[Xpx_Xpx_0px_0px_rgba...]
- [ ] Borders are pure black: border-black
- [ ] Button active displacement = original shadow pixel value
- [ ] Hover background changes are instant (hard cut, no fade)
- [ ] Transitions use duration-150 ease-out
- [ ] Font-black for headings, font-mono for body
- [ ] Has responsive md: prefixes for borders, shadows, spacing
- [ ] Mobile values ≈ 50% of desktop valuesComponent Templates
Neo-Brutalist 风格的按钮,Physical Crushing 完全压平 + Brutal Snap 生猛反馈
Frontend Readiness
This layer tracks whether the style is ready for real websites: theme modes, state feedback, keyboard access, and performance constraints.
Overall
79%
Curated
Dark Mode
70%
PartialUI States
85%
PartialMotion
70%
PartialA11y
70%
PartialPerformance
100%
CompleteButton
Default / Hover / Focus Visible / Active / Disabled
Input
Default / Hover / Focus Visible / Disabled / Error
Card
Default / Hover / Focus Visible / Loading / Skeleton
Form
Default / Focus Visible / Disabled / Loading / Error
/* Neo-Brutalist 全局样式 */
:root {
--accent-pink: #ff006e;
--accent-green: #ccff00;
--accent-blue: #00d9ff;
--accent-yellow: #ff9500;
}
/* 标题字体 */
h1, h2, h3, h4, h5, h6 {
font-weight: 900;
letter-spacing: -0.02em;
}
/* 正文字体 */
body {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
/* 选中文字样式 */
::selection {
background: var(--accent-pink);
color: white;
}
@keyframes neo-brutalist-fade-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes neo-brutalist-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.neo-brutalist-card {
position: relative;
overflow: hidden;
}
.neo-brutalist-card::before {
content: "";
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.3s ease;
background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), transparent);
pointer-events: none;
}
.neo-brutalist-card:hover::before {
opacity: 1;
}
.neo-brutalist-gradient {
background: linear-gradient(135deg, #000000, #ff006e);
}
.neo-brutalist-gradient-text {
background: linear-gradient(135deg, #000000, #ff006e);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.neo-brutalist-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(0, 0, 0, 0.08);
}
.neo-brutalist-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.neo-brutalist-animate-in {
animation: neo-brutalist-fade-in 0.5s ease-out both;
}Compatible Layout Patterns
The following layout patterns pair well with the 新野兽派 style.
IDE Integration
Download configuration files for AI coding assistants to generate code in this style.
Style Pack
Get complete machine-readable style assets including design tokens, Tailwind presets, CSS variables, and shadcn/ui themes.
Metadata
Style metadata including version information
Design Tokens
Compatible with Figma / Style Dictionary / Tokens Studio
Tailwind Preset
Tailwind CSS theme preset, import directly in config
Global CSS
CSS variables and base styles
shadcn Theme
shadcn/ui theme configuration
CSS Variables
Pure CSS variables, works with any project
SKILL.md
Loadable skill pack for Cursor / Claude Code / VS Code
Neo-Brutalist design style originates from the Brutalist movement in architecture, emphasizing raw, unadorned functional aesthetics. In web design, this style is expressed through bold black borders, hard-edge shadows, sharp right angles, and high-contrast color schemes.
WCAG 2.1 compliance analysis based on color contrast and typography readability.
Overall Score
Grade: C - Fair
Contrast Ratios
| Context | Colors | Ratio | AA | AAA |
|---|---|---|---|---|
| Text on background | /#000000 / #ffffff | 21:1 | ||
| Secondary text on background | /#ffffff / #ffffff | 1:1 | ||
| Muted text on background | /#374151 / #ffffff | 10.31:1 | ||
| Text on secondary background | /#000000 / #000000 | 1:1 | ||
| Secondary text on secondary | /#ffffff / #000000 | 21:1 | ||
| Button primary | /#ffffff / #ff006e | 3.83:1 | ||
| Text on accent 1 | /#000000 / #ff006e | 5.48:1 | ||
| Alt text on accent 1 | /#ffffff / #ff006e | 3.83:1 | ||
| Text on accent 2 | /#000000 / #ccff00 | 17.87:1 | ||
| Alt text on accent 2 | /#ffffff / #ccff00 | 1.18:1 | ||
| Text on accent 3 | /#000000 / #00d9ff | 12.37:1 | ||
| Alt text on accent 3 | /#ffffff / #00d9ff | 1.7:1 | ||
| Text on accent 4 | /#000000 / #ff9500 | 9.55:1 | ||
| Alt text on accent 4 | /#ffffff / #ff9500 | 2.2:1 |
Readability
Score
85/100
Font Size
text-sm md:text-base
Font Weight
font-black tracking-tight
Line Height
default
Scoring is based on WCAG 2.1 standards. AA requires 4.5:1 contrast for normal text, 3:1 for large text; AAA requires 7:1 for normal text, 4.5:1 for large text.
Design Recipes
These curated recipes combine this style with layouts and animations, optimized for specific use cases.