Best For
neon samurai / japanese cyberpunk / katana slash
A collision of traditional Japanese samurai aesthetics with neon cyberpunk, weaving katana slash lines, vermillion torii gate frames, calligraphy brushstrokes, and dual-color neon glow effects -- ukiyo-e meets neon lights in a futuristic urban bushido.
Best For
neon samurai / japanese cyberpunk / katana slash
Primary Move
Use dark navy backgrounds (bg-[#080818])
Watch Out
No soft pastel colors or light 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: Neon Samurai
style_slug: neon-samurai
style_source: /styles/neon-samurai
# 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
You are a Neon Samurai design style frontend development expert. All generated code must strictly follow these constraints:
## Absolutely Forbidden
- Soft pastel colors or light backgrounds
- rounded-full or large border radius
- Organic/irregular shapes
- Serif fonts
- Light mode backgrounds (bg-white, bg-gray-50, etc.)
- Standard drop shadows (shadow-md, shadow-lg)
## Must Follow
- Dark navy backgrounds: bg-[#080818] or similar near-black
- Neon red primary: #dc2626 with glow effects
- Dual-color glow: stroke color differs from glow (e.g., purple text with blue glow halo)
- Katana slash diagonal lines as decorative elements
- Torii gate shapes for section framing
- Armor-plate angular clip-paths on cards
- Brush-stroke style underlines (not solid box borders for inputs)
- Ink splatter burst accents on hover
## Color Palette
Primary:
- Neon Red: #dc2626
- Dark Navy: #080818
- Electric Purple: #a020f0
- Neon Blue: #38bdf8
- Gold: #fbbf24
## Unique Elements
- Katana diagonal slash stroke decorations (tapered SVG paths)
- Torii gate shaped frames (double-beam top border)
- Dual-color glow effect (stroke color != glow color)
- Armor-plate angular card clip-paths
- Calligraphy brush-stroke neon dividers
## Animation & Interaction Rules
- Katana Slash: Interactions must resolve in 75ms to 100ms, with slash-line sweeps that feel like a single blade pass.
- Target Lock: Corner markers should brighten and contract on hover to simulate lock-on feedback.
- Lethal Glow: Glow stays concentrated and high-saturation (red/purple), avoiding broad soft haze.
- Instant Parry: Active state should snap with slight X-axis jolt or immediate color inversion, never soft scaling.
---
# Neon Samurai Design System
> A collision of traditional Japanese samurai aesthetics with neon cyberpunk, weaving katana slash lines, vermillion torii gate frames, calligraphy brushstrokes, and dual-color neon glow effects -- ukiyo-e meets neon lights in a futuristic urban bushido.
## Design Philosophy
Neon Samurai fuses Japanese bushido aesthetics with cyberpunk neon luminance, forging a style of relentless tension and kinetic energy.
Core principles:
- Katana slash geometry: Diagonal tapered strokes cut across layouts as decorative dividers
- Torii gate framing: Section containers shaped like sacred gate structures
- Dual-color glow: Stroke color differs from its glow halo (purple stroke, blue glow)
- Armor-plate panels: Angular card shapes inspired by samurai yoroi plate segments
- Ink splatter accents: Burst particles on hover and interaction states
- Calligraphy brush strokes: Neon-lit brush-stroke underlines and dividers
- Smoke/mist overlays: Atmospheric depth through translucent background wisps
---
## Token Dictionary (exact class mapping)
### Border
```
Width: border
Color: border-[#dc2626]/30
Radius: rounded-none
```
### Shadow
```
sm: shadow-[0_0_8px_rgba(220,38,38,0.3)]
md: shadow-[0_0_15px_rgba(220,38,38,0.4)]
lg: shadow-[0_0_25px_rgba(220,38,38,0.5)]
hover: hover:shadow-[0_0_25px_rgba(220,38,38,0.7)]
focus: focus:shadow-[0_0_15px_rgba(220,38,38,0.4)]
```
### Interaction
```
Hover translate: hover:-translate-y-1
Hover scale: (none)
Hover opacity: (none)
Transition: transition-all duration-300 ease-in-out
Active: active:scale-95
```
### Typefaces
```
Heading: font-sans font-bold uppercase tracking-widest
Body: font-sans
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-4xl
H3: text-xl md:text-2xl
Body: text-sm md:text-base
Small: text-xs md:text-sm
```
### Spacing
```
Section: py-12 md:py-20 lg:py-28
Container: px-4 md:px-8 lg:px-12
Card: p-5 md:p-8
Gap sm: gap-3 md:gap-4
Gap md: gap-4 md:gap-6
Gap lg: gap-6 md:gap-10
```
### Color roles
```
Background primary: bg-[#080818]
Background secondary: bg-[#111122]
Background accent: bg-[#dc2626], bg-[#a020f0], bg-[#38bdf8], bg-[#fbbf24]
Text primary: text-white
Text secondary: text-[#dc2626]
Text muted: text-white/40
Button primary: bg-[#dc2626] text-white shadow-[0_0_15px_rgba(220,38,38,0.5)]
Button secondary: bg-[#080818] text-[#dc2626] border-[#dc2626] shadow-[0_0_10px_rgba(220,38,38,0.3)]
```
---
## [FORBIDDEN]
These classes are banned in this style. Check for them before returning code:
### Banned classes
- `rounded-full`
- `rounded-2xl`
- `rounded-xl`
- `rounded-lg`
- `bg-white`
- `bg-gray-50`
- `bg-gray-100`
- `text-gray-900`
- `shadow-md`
- `shadow-lg`
- `shadow-xl`
- `font-serif`
- `bg-pink-100`
- `bg-pink-50`
- `bg-rose-50`
### Banned patterns
- matches `^rounded-(?:full|2xl|xl|lg)$`
- matches `^bg-(?:white|gray-(?:50|100))$`
- matches `^bg-(?:pink|rose|sky|teal)-(?:50|100|200)$`
- matches `^font-serif$`
- matches `^shadow-(?:md|lg|xl)$`
### Why they are banned
- `rounded-full`: Neon Samurai uses sharp angular geometry, no rounded shapes
- `bg-white`: Neon Samurai requires dark navy/black backgrounds only
- `shadow-md`: Use neon glow shadows with dual-color effects instead
- `font-serif`: Neon Samurai uses bold geometric sans-serif only
> WARNING: if your code contains any of the above, replace it before shipping.
---
## [REQUIRED]
### Every button must include
```
font-sans font-bold uppercase tracking-widest
border border-[#dc2626]/60
shadow-[0_0_15px_rgba(220,38,38,0.5)]
transition-all duration-300 ease-in-out
```
### Every card must include
```
bg-[#080818]
border border-[#dc2626]/30
transition-all duration-300 ease-in-out
```
### Every input must include
```
bg-[#080818]
border-b-2 border-[#dc2626]/30
text-white
font-sans
focus:outline-none
```
---
## [COMPARE] Neon Samurai 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="font-sans font-bold uppercase tracking-widest border border-[#dc2626]/60 shadow-[0_0_15px_rgba(220,38,38,0.5)] transition-all duration-300 ease-in-out bg-[#dc2626] text-white shadow-[0_0_15px_rgba(220,38,38,0.5)]">
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-[#080818] border border-[#dc2626]/30 transition-all duration-300 ease-in-out p-5 md:p-8">
<h3 class="font-sans font-bold uppercase tracking-widest 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-[#080818] border-b-2 border-[#dc2626]/30 text-white font-sans focus:outline-none" placeholder="{PLACEHOLDER}" />
```
---
## [TEMPLATES] Neon Samurai page skeletons
These skeletons use this style's tokens only. Replace `{PLACEHOLDER}` values, but keep every token in place:
### Navigation
```html
<nav class="bg-[#080818] text-white border border-[#dc2626]/30 px-4 md:px-8 lg:px-12">
<div class="flex items-center justify-between max-w-6xl mx-auto gap-4 md:gap-6">
<a href="/" class="font-sans font-bold uppercase tracking-widest text-xl md:text-2xl">
{LOGO_TEXT}
</a>
<div class="flex gap-4 md:gap-6 font-sans text-xs md:text-sm">
{NAV_LINKS}
</div>
</div>
</nav>
```
### Hero section
```html
<section class="bg-[#dc2626] text-white py-12 md:py-20 lg:py-28 px-4 md:px-8 lg:px-12">
<div class="max-w-4xl mx-auto">
<h1 class="font-sans font-bold uppercase tracking-widest text-4xl md:text-6xl lg:text-8xl">
{HEADLINE}
</h1>
<p class="font-sans text-sm md:text-base max-w-xl">
{SUBHEADLINE}
</p>
<button class="font-sans font-bold uppercase tracking-widest border border-[#dc2626]/60 shadow-[0_0_15px_rgba(220,38,38,0.5)] transition-all duration-300 ease-in-out bg-[#dc2626] text-white shadow-[0_0_15px_rgba(220,38,38,0.5)]">
{CTA_TEXT}
</button>
</div>
</section>
```
### Card grid
```html
<section class="bg-[#080818] text-white py-12 md:py-20 lg:py-28 px-4 md:px-8 lg:px-12">
<div class="max-w-6xl mx-auto">
<h2 class="font-sans font-bold uppercase tracking-widest text-2xl md:text-4xl">{SECTION_TITLE}</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 md:gap-6">
<!-- Card template - repeat for each card -->
<div class="bg-[#080818] border border-[#dc2626]/30 transition-all duration-300 ease-in-out p-5 md:p-8">
<h3 class="font-sans font-bold uppercase tracking-widest text-xl md:text-2xl">{CARD_TITLE}</h3>
<p class="font-sans text-sm md:text-base text-white/40">{CARD_DESCRIPTION}</p>
</div>
</div>
</div>
</section>
```
### Form input
```html
<input class="bg-[#080818] border-b-2 border-[#dc2626]/30 text-white font-sans focus:outline-none" placeholder="{PLACEHOLDER}" />
```
### Footer
```html
<footer class="bg-[#111122] text-[#dc2626] py-12 md:py-20 lg:py-28 px-4 md:px-8 lg:px-12">
<div class="max-w-6xl mx-auto">
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 md:gap-10">
<div>
<span class="font-sans font-bold uppercase tracking-widest text-xl md:text-2xl">{LOGO_TEXT}</span>
<p class="font-sans text-xs md:text-sm">{TAGLINE}</p>
</div>
<div>
<h4 class="font-sans font-bold uppercase tracking-widest text-xl md:text-2xl">{COLUMN_TITLE}</h4>
<ul class="font-sans text-xs md:text-sm">
{FOOTER_LINKS}
</ul>
</div>
</div>
</div>
</footer>
```
---
## [CHECKLIST] Neon Samurai post-generation self check
**Before returning code, verify every token and rule below. Fix any violation before delivering:**
### Token check
- [ ] Button includes: `font-sans font-bold uppercase tracking-widest border border-[#dc2626]/60 shadow-[0_0_15px_rgba(220,38,38,0.5)] transition-all duration-300 ease-in-out`
- [ ] Card includes: `bg-[#080818] border border-[#dc2626]/30 transition-all duration-300 ease-in-out`
- [ ] Input includes: `bg-[#080818] border-b-2 border-[#dc2626]/30 text-white font-sans focus:outline-none`
### Forbidden check
- [ ] Not using `rounded-full`
- [ ] Not using `rounded-2xl`
- [ ] Not using `rounded-xl`
- [ ] Not using `rounded-lg`
- [ ] Not using `bg-white`
- [ ] Not using `bg-gray-50`
- [ ] Not using `bg-gray-100`
- [ ] Not using `text-gray-900`
### Style rule check
- [ ] Use dark navy backgrounds (bg-[#080818])
- [ ] Add katana diagonal slash-stroke decorations
- [ ] Use torii gate shapes as section frames
- [ ] Apply dual-color glow (stroke != glow color)
- [ ] Use armor-plate angular card shapes
### Style drift check
- [ ] Does not violate: No soft pastel colors or light backgrounds
- [ ] Does not violate: No rounded-full or large border radius
- [ ] Does not violate: No organic/irregular rounded shapes
- [ ] Does not violate: No serif fonts
- [ ] Does not violate: No standard drop shadows (use neon glow only)
### 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 Neon Samurai
## Absolute Bans (Match and Refuse)
If any of the following patterns appear, it is a style violation — rewrite without exception.
- soft pastel colors or light backgrounds
- rounded-full or large border radius
- organic/irregular rounded shapes
- serif fonts
- standard drop shadows (use neon glow only)
## 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
- [ ] no soft pastel colors or light backgrounds
- [ ] no rounded-full or large border radius
- [ ] no organic/irregular rounded shapes
- [ ] no serif fonts
- [ ] no standard drop shadows (use neon glow only)More prompt libraries: All UI Prompts · Tailwind UI Prompts · Dark Mode UI Prompts
Component Templates
Sharp-edged button with slash-mark corner cuts and dual-color neon glow
Frontend Readiness
This layer tracks whether the style is ready for real websites: theme modes, state feedback, keyboard access, and performance constraints.
Overall
58%
Fallback
Dark Mode
35%
FallbackUI 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
/* Neon Samurai Global Styles */
:root {
--ns-red: #dc2626;
--ns-dark: #080818;
--ns-purple: #a020f0;
--ns-blue: #38bdf8;
--ns-gold: #fbbf24;
}
/* Dual-color neon text glow (red text, blue glow) */
.ns-dual-glow {
text-shadow: 0 0 20px var(--ns-blue), 0 0 40px rgba(56, 189, 248, 0.3);
color: var(--ns-red);
}
/* Katana slash diagonal line */
.ns-slash-line {
position: relative;
}
.ns-slash-line::after {
content: "";
position: absolute;
top: 50%;
left: -10%;
right: -10%;
height: 2px;
background: linear-gradient(135deg, transparent 10%, var(--ns-red) 30%, var(--ns-red) 70%, transparent 90%);
box-shadow: 0 0 12px var(--ns-blue);
transform: rotate(-15deg);
pointer-events: none;
}
/* Torii gate frame */
.ns-torii-frame {
border-top: 3px solid var(--ns-red);
border-left: 2px solid var(--ns-red);
border-right: 2px solid var(--ns-red);
box-shadow: 0 -4px 15px rgba(220, 38, 38, 0.3);
position: relative;
}
.ns-torii-frame::before {
content: "";
position: absolute;
top: 8px;
left: 0;
right: 0;
height: 2px;
background: var(--ns-red);
opacity: 0.5;
}
/* Armor-plate clip path */
.ns-armor-clip {
clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
/* Smoke overlay */
.ns-smoke::before {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(ellipse at 50% 80%, rgba(220, 38, 38, 0.04) 0%, transparent 70%);
pointer-events: none;
}
/* Scan line overlay */
.ns-scanlines::before {
content: "";
position: absolute;
inset: 0;
background: repeating-linear-gradient(
0deg,
transparent,
transparent 2px,
rgba(0, 0, 0, 0.08) 2px,
rgba(0, 0, 0, 0.08) 4px
);
pointer-events: none;
}
.neon-samurai-filter { filter: brightness(1.05) contrast(1.02); }
.neon-samurai-focus { outline: 2px solid var(--neon-samurai-primary, currentColor); outline-offset: 2px; }
/* Additional techniques */
@keyframes neon-samurai-shimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }
.neon-samurai-glass { backdrop-filter: blur(8px) saturate(150%); -webkit-backdrop-filter: blur(8px) saturate(150%); }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
Neon Samurai fuses Japanese bushido aesthetics with cyberpunk neon luminance, forging a style of relentless tension and kinetic energy.
WCAG 2.1 compliance analysis based on color contrast and typography readability.
Overall Score
Grade: D - Poor
Contrast Ratios
| Context | Colors | Ratio | AA | AAA |
|---|---|---|---|---|
| Text on background | /#ffffff / #080818 | 19.84:1 | ||
| Secondary text on background | /#dc2626 / #080818 | 4.11:1 | ||
| Text on secondary background | /#ffffff / #111122 | 18.63:1 | ||
| Secondary text on secondary | /#dc2626 / #111122 | 3.86:1 | ||
| Button primary | /#ffffff / #dc2626 | 4.83:1 | ||
| Text on accent 1 | /#ffffff / #dc2626 | 4.83:1 | ||
| Alt text on accent 1 | /#dc2626 / #dc2626 | 1:1 | ||
| Text on accent 2 | /#ffffff / #a020f0 | 5.3:1 | ||
| Alt text on accent 2 | /#dc2626 / #a020f0 | 1.1:1 | ||
| Text on accent 3 | /#ffffff / #38bdf8 | 2.14:1 | ||
| Alt text on accent 3 | /#dc2626 / #38bdf8 | 2.25:1 | ||
| Text on accent 4 | /#ffffff / #fbbf24 | 1.67:1 | ||
| Alt text on accent 4 | /#dc2626 / #fbbf24 | 2.89:1 |
Readability
Score
87/100
Font Size
text-sm md:text-base
Font Weight
font-sans font-bold uppercase tracking-widest
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.