Best For
cyberpunk / neon glow / cyberpunk ui
A futuristic cyberpunk style with neon glow effects, dark backgrounds, and high-tech UI elements. Ideal for games, tech products, and creative studios.
Best For
cyberpunk / neon glow / cyberpunk ui
Primary Move
Use dark backgrounds bg-[#0a0a0f] or bg-gray-950
Watch Out
Do not use light/white backgrounds
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: Cyberpunk Neon
style_slug: cyberpunk-neon
style_source: /styles/cyberpunk-neon
# 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
STYLE: Cyberpunk Neon
TYPE: Futuristic sci-fi interface
MUST USE:
- Dark background: bg-[#0a0a0f] or bg-gray-950
- Neon glow shadows: shadow-[0_0_20px_rgba(0,255,255,0.5)]
- Text glow: style={{textShadow: '0 0 10px currentColor'}}
- Glowing borders: border border-cyan-400 shadow-[0_0_10px...]
- High saturation colors: cyan-400, fuchsia-500, yellow-400
- font-mono for tech text
- uppercase tracking-wider for labels
MUST AVOID:
- Light/white backgrounds
- Low saturation colors
- Regular shadows (shadow-md)
- Warm color schemes
- Large rounded corners (rounded-2xl+)
- Soft/friendly design language
COLOR RULES:
- Primary: Cyan (#00ffff)
- Accent: Magenta (#ff00ff)
- Background: Near-black (#0a0a0f)
- Text: White with glow
- Borders: Primary color with glow
SPECIAL EFFECTS:
- Scan line overlay for tech feel
- Pulsing elements with animate-pulse
- Glow intensifies on hover
---
## Animation Rules
### Interaction Physics
- **Unstable Neon**: Glow effects may pulse subtly. Use `animate-pulse` sparingly. NO high-frequency flickering that hurts readability.
- **Glitch Press**: Active state uses OFFSET translation + color inversion, NOT scale. Example: `active:translate-x-[2px] active:-translate-y-[1px] active:text-fuchsia-400`
- **CRT Scanline**: Cards increase scanline density/visibility on hover, simulating terminal scanning.
- **Fast & Raw**: Standard interactions use `duration-100` to `duration-150`. Only scan sweeps may use up to `duration-300`.
### Timing Guidelines
| Interaction | Duration | Easing |
|-------------|----------|--------|
| Button hover | 100-150ms | ease-out |
| Glow pulse | 2-3s | ease-in-out (loop) |
| Scan sweep | 150-300ms | ease-out |
| Glitch press | instant | — |
---
## Typography
| Element | Classes |
|---------|---------|
| Headers | font-mono font-bold uppercase tracking-[0.2em] |
| Labels | text-xs font-mono uppercase tracking-wider |
| Body | font-mono text-sm |
| Code/Data | font-mono tabular-nums |
---
## Forbidden Patterns
| Pattern | Reason |
|---------|--------|
| Light/white backgrounds | Destroys neon visibility |
| Low saturation colors | Loses cyberpunk intensity |
| shadow-md, shadow-lg | No blur shadows — only glow |
| Warm color schemes | Contradicts cold tech aesthetic |
| rounded-2xl, rounded-3xl | Too soft, not technical enough |
| Soft/friendly language | Breaks immersion |
| scale transforms on active | Use glitch offset instead |
---
## Self-Verification Checklist
Before outputting code, verify:
- [ ] Background is near-black (#0a0a0f or bg-gray-950)
- [ ] Neon glows use shadow-[0_0_Xpx_rgba(...)] format
- [ ] Text has textShadow glow effect where appropriate
- [ ] High saturation colors only (cyan, magenta, yellow, green)
- [ ] font-mono for all text elements
- [ ] Active states use glitch offset, NOT scale
- [ ] Rounded corners are rounded-sm or rounded-none
- [ ] Transitions are fast: duration-100 to duration-150
---
# Cyberpunk Neon Design System
> A futuristic cyberpunk style with neon glow effects, dark backgrounds, and high-tech UI elements. Ideal for games, tech products, and creative studios.
## Design Philosophy
Cyberpunk Neon style draws from cyberpunk sci-fi aesthetics, creating a futuristic feel through neon glow, dark backgrounds, and high contrast.
Core principles:
- Neon glow: Core elements stand out with glow effects
- Dark dominance: Near-black backgrounds make neon colors more striking
- High-tech feel: Grids, scanlines, and other elements enhance the tech atmosphere
- Color impact: Cyan, magenta, yellow, and other high-saturation colors
---
## Token Dictionary (exact class mapping)
### Border
```
Width: border
Color: border-cyan-400/30
Radius: rounded-lg
```
### Shadow
```
sm: shadow-[0_0_10px_rgba(0,255,255,0.3)]
md: shadow-[0_0_15px_rgba(0,255,255,0.4)]
lg: shadow-[0_0_25px_rgba(0,255,255,0.5)]
hover: shadow-[0_0_30px_rgba(0,255,255,0.6)]
focus: shadow-[0_0_20px_rgba(0,255,255,0.5)]
```
### Interaction
```
Hover translate: (none)
Hover scale: hover:shadow-[0_0_30px_rgba(0,255,255,0.6)]
Hover opacity: (none)
Transition: transition-all duration-300
Active: active:scale-95
```
### Typefaces
```
Heading: font-bold
Body: font-mono
Mono: font-mono
```
### Type scale
```
Hero: text-4xl md:text-6xl lg:text-8xl
H1: text-3xl md:text-5xl
H2: text-2xl md:text-3xl
H3: text-xl md:text-2xl
Body: text-sm md:text-base
Small: text-xs
```
### Spacing
```
Section: py-16 md:py-24
Container: px-4 md:px-8
Card: p-6
Gap sm: gap-4
Gap md: gap-6
Gap lg: gap-8
```
### Color roles
```
Background primary: bg-[#0a0a0f]
Background secondary: bg-gray-950
Background accent: bg-cyan-400, bg-fuchsia-500, bg-yellow-400
Text primary: text-white
Text secondary: text-cyan-400
Text muted: text-gray-400
Button primary: bg-cyan-400 text-black
Button secondary: bg-transparent text-cyan-400 border border-cyan-400
```
---
## [FORBIDDEN]
These classes are banned in this style. Check for them before returning code:
### Banned classes
- `bg-white`
- `bg-gray-50`
- `bg-slate-50`
- `shadow-sm`
- `shadow-md`
- `shadow-lg`
- `text-gray-900`
- `rounded-2xl`
- `rounded-3xl`
### Banned patterns
- matches `^bg-white`
- matches `^bg-gray-[1-3]`
- matches `^bg-slate-[1-3]`
- matches `^shadow-(?!\[)`
- matches `^rounded-[23]xl`
### Why they are banned
- `bg-white`: Cyberpunk uses dark backgrounds only
- `shadow-md`: Use neon glow shadows: shadow-[0_0_20px_rgba(0,255,255,0.5)]
- `rounded-2xl`: Keep corners subtle (rounded-lg max)
> WARNING: if your code contains any of the above, replace it before shipping.
---
## [REQUIRED]
### Every button must include
```
px-6 py-3
rounded-lg
font-mono
uppercase tracking-wider
transition-all duration-300
```
### Every card must include
```
bg-gray-950
border border-cyan-400/30
rounded-lg
```
### Every input must include
```
bg-gray-950
border border-cyan-400/30
rounded-lg
text-cyan-400
font-mono
focus:border-cyan-400
focus:shadow-[0_0_15px_rgba(0,255,255,0.3)]
```
---
## [COMPARE] Cyberpunk Neon wrong vs right
The wrong examples below stand for generic library defaults that were never adapted to this style. Do not read them as visual suggestions.
### Button
[WRONG] **Wrong** (generic component library default, do not copy):
```html
<button class="{GENERIC_LIBRARY_BUTTON_DEFAULT}">
Click me
</button>
```
[CORRECT] **Right** (uses this style's tokens):
```html
<button class="px-6 py-3 rounded-lg font-mono uppercase tracking-wider transition-all duration-300 bg-cyan-400 text-black">
Click me
</button>
```
### Card
[WRONG] **Wrong** (generic card, not adapted to this style):
```html
<div class="{GENERIC_LIBRARY_CARD_DEFAULT}">
<h3>{TITLE}</h3>
</div>
```
[CORRECT] **Right** (uses this style's card tokens):
```html
<div class="bg-gray-950 border border-cyan-400/30 rounded-lg p-6">
<h3 class="font-bold text-xl md:text-2xl">{TITLE}</h3>
</div>
```
### Input
[WRONG] **Wrong** (generic input, not adapted to this style):
```html
<input class="{GENERIC_LIBRARY_INPUT_DEFAULT}" />
```
[CORRECT] **Right** (uses this style's input tokens):
```html
<input class="bg-gray-950 border border-cyan-400/30 rounded-lg text-cyan-400 font-mono focus:border-cyan-400 focus:shadow-[0_0_15px_rgba(0,255,255,0.3)]" placeholder="{PLACEHOLDER}" />
```
---
## [TEMPLATES] Cyberpunk Neon page skeletons
These skeletons use this style's tokens only. Replace `{PLACEHOLDER}` values, but keep every token in place:
### Navigation
```html
<nav class="bg-[#0a0a0f] text-white border border-cyan-400/30 px-4 md:px-8">
<div class="flex items-center justify-between max-w-6xl mx-auto gap-6">
<a href="/" class="font-bold text-xl md:text-2xl">
{LOGO_TEXT}
</a>
<div class="flex gap-6 font-mono text-xs">
{NAV_LINKS}
</div>
</div>
</nav>
```
### Hero section
```html
<section class="bg-cyan-400 text-white py-16 md:py-24 px-4 md:px-8">
<div class="max-w-4xl mx-auto">
<h1 class="font-bold text-4xl md:text-6xl lg:text-8xl">
{HEADLINE}
</h1>
<p class="font-mono text-sm md:text-base max-w-xl">
{SUBHEADLINE}
</p>
<button class="px-6 py-3 rounded-lg font-mono uppercase tracking-wider transition-all duration-300 bg-cyan-400 text-black">
{CTA_TEXT}
</button>
</div>
</section>
```
### Card grid
```html
<section class="bg-[#0a0a0f] text-white py-16 md:py-24 px-4 md:px-8">
<div class="max-w-6xl mx-auto">
<h2 class="font-bold text-2xl md:text-3xl">{SECTION_TITLE}</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Card template - repeat for each card -->
<div class="bg-gray-950 border border-cyan-400/30 rounded-lg p-6">
<h3 class="font-bold text-xl md:text-2xl">{CARD_TITLE}</h3>
<p class="font-mono text-sm md:text-base text-gray-400">{CARD_DESCRIPTION}</p>
</div>
</div>
</div>
</section>
```
### Form input
```html
<input class="bg-gray-950 border border-cyan-400/30 rounded-lg text-cyan-400 font-mono focus:border-cyan-400 focus:shadow-[0_0_15px_rgba(0,255,255,0.3)]" placeholder="{PLACEHOLDER}" />
```
### Footer
```html
<footer class="bg-gray-950 text-cyan-400 py-16 md:py-24 px-4 md:px-8">
<div class="max-w-6xl mx-auto">
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div>
<span class="font-bold text-xl md:text-2xl">{LOGO_TEXT}</span>
<p class="font-mono text-xs">{TAGLINE}</p>
</div>
<div>
<h4 class="font-bold text-xl md:text-2xl">{COLUMN_TITLE}</h4>
<ul class="font-mono text-xs">
{FOOTER_LINKS}
</ul>
</div>
</div>
</div>
</footer>
```
---
## [CHECKLIST] Cyberpunk Neon post-generation self check
**Before returning code, verify every token and rule below. Fix any violation before delivering:**
### Token check
- [ ] Button includes: `px-6 py-3 rounded-lg font-mono uppercase tracking-wider transition-all duration-300`
- [ ] Card includes: `bg-gray-950 border border-cyan-400/30 rounded-lg`
- [ ] Input includes: `bg-gray-950 border border-cyan-400/30 rounded-lg text-cyan-400 font-mono focus:border-cyan-400 focus:shadow-[0_0_15px_rgba(0,255,255,0.3)]`
### Forbidden check
- [ ] Not using `bg-white`
- [ ] Not using `bg-gray-50`
- [ ] Not using `bg-slate-50`
- [ ] Not using `shadow-sm`
- [ ] Not using `shadow-md`
- [ ] Not using `shadow-lg`
- [ ] Not using `text-gray-900`
- [ ] Not using `rounded-2xl`
### Style rule check
- [ ] Use dark backgrounds bg-[#0a0a0f] or bg-gray-950
- [ ] Use shadow-[0_0_20px_rgba(0,255,255,0.5)] to create glow effects
- [ ] Text glow with [text-shadow:0_0_10px_currentColor]
- [ ] Glowing borders with border border-cyan-400 shadow-[0_0_10px_rgba(0,255,255,0.3)]
- [ ] Use scanline background effects for tech feel
### Style drift check
- [ ] Does not violate: Do not use light/white backgrounds
- [ ] Does not violate: Do not use low-saturation colors
- [ ] Does not violate: Do not use regular shadows like shadow-md (must use glow shadows)
- [ ] Does not violate: Do not use warm color schemes (unless for warning/error colors)
- [ ] Does not violate: Do not use overly large border radius rounded-2xl, rounded-3xl
### Delivery check
- [ ] Responsive layout holds on phone, tablet and desktop with no horizontal overflow
- [ ] Every interactive element has a visible focus state, an accessible name and a reduced-motion path
- [ ] Text contrast meets WCAG AA and colour alone never carries state
- [ ] The result is still recognizable at a glance as Cyberpunk Neon
---
## [EXAMPLES] Example prompts
### 1.
UI
```
Create a game interface using Cyberpunk Neon style:
- Dark background with scan line effect
- Neon glowing HUD elements
- Stats cards with cyan borders and glow
- Action buttons with pulse animation
- Futuristic font-mono typography
- Magenta accent for alerts/warnings
```
## Absolute Bans (Match and Refuse)
If any of the following patterns appear, it is a style violation — rewrite without exception.
- use light/white backgrounds
- use low-saturation colors
- use regular shadows like shadow-md (must use glow shadows)
- use warm color schemes (unless for warning/error colors)
- use overly large border radius rounded-2xl, rounded-3xl
- use soft/warm design language
## Self-Check (Verify Before Shipping)
If any item fails, the style has drifted — fix before shipping.
- [ ] No purple-to-blue gradients
- [ ] No overused fonts (Inter, Roboto, Geist, Fraunces, Plus Jakarta Sans)
- [ ] No nested cards (cards inside cards)
- [ ] No gray text on colored backgrounds
- [ ] Body text contrast meets WCAG AA (>= 4.5:1)
- [ ] No bounce or elastic easing curves
- [ ] Animations have a prefers-reduced-motion fallback
- [ ] Body text line length capped at 65-75 characters
- [ ] No side-stripe accent borders (border-left/right > 1px)
- [ ] No gradient text (background-clip: text)
- [ ] No glassmorphism used as the default surface treatment
- [ ] No tiny uppercase tracked eyebrow labels above every section heading
- [ ] do not use light/white backgrounds
- [ ] do not use low-saturation colors
- [ ] do not use regular shadows like shadow-md (must use glow shadows)
- [ ] do not use warm color schemes (unless for warning/error colors)
- [ ] do not use overly large border radius rounded-2xl, rounded-3xlMore prompt libraries: All UI Prompts · Tailwind UI Prompts · Dark Mode UI Prompts
Component Templates
Cyberpunk 风格的霓虹按钮
Pointer Interactions
Pointer interactions tailored to this style — same cursor, completely different character. Move around the stage to feel it.
Frontend Readiness
This layer tracks whether the style is ready for real websites: theme modes, state feedback, keyboard access, and performance constraints.
Overall
51%
Fallback
Dark Mode
0%
MissingUI States
79%
PartialMotion
70%
PartialA11y
70%
PartialPerformance
35%
FallbackButton
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
FAQ
/* Cyberpunk Neon Global Styles */
@layer base {
body {
@apply bg-[#0a0a0f] text-white antialiased;
background-image:
linear-gradient(transparent 50%, rgba(0, 255, 255, 0.02) 50%);
background-size: 100% 4px;
}
h1, h2, h3 {
text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}
::selection {
@apply bg-cyan-400 text-black;
}
}
@keyframes neon-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
/* Cyberpunk Neon Design Tokens */
:root {
--cyberpunk-neon-primary: #00ffff;
--cyberpunk-neon-secondary: #0a0a0f;
--cyberpunk-neon-accent: #ff00ff;
--cyberpunk-neon-glow: rgba(0, 255, 255, 0.3);
}
.cyberpunk-neon-card {
position: relative;
overflow: hidden;
}
.cyberpunk-neon-card::before {
content: "";
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.3s ease;
background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), transparent);
pointer-events: none;
}
.cyberpunk-neon-card:hover::before {
opacity: 1;
}
.cyberpunk-neon-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(0, 255, 255, 0.08);
}
.cyberpunk-neon-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.cyberpunk-neon-animate-in {
animation: cyberpunk-neon-fade-in 0.5s ease-out both;
}
.cyberpunk-neon-hover-lift { transition: transform 0.3s ease; }
.cyberpunk-neon-hover-lift:hover { transform: translateY(-2px); }
.cyberpunk-neon-focus { outline: 2px solid var(--cyberpunk-neon-primary, currentColor); outline-offset: 2px; }Compatible Layout Patterns
The following layout patterns pair well with the Cyberpunk Neon style.
Related Styles
Explore these styles for ready-made tokens and components.
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
Cyberpunk Neon style draws from cyberpunk sci-fi aesthetics, creating a futuristic feel through neon glow, dark backgrounds, and high contrast.
WCAG 2.1 compliance analysis based on color contrast and typography readability.
Overall Score
Grade: A - Excellent
Contrast Ratios
| Context | Colors | Ratio | AA | AAA |
|---|---|---|---|---|
| Text on background | /#ffffff / #0a0a0f | 19.75:1 | ||
| Muted text on background | /#9ca3af / #0a0a0f | 7.78:1 |
Readability
Score
85/100
Font Size
text-sm md:text-base
Font Weight
font-bold
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.