StyleKit

JRPG

日式RPG

Rate this style

Classic Japanese RPG menu and dialogue box aesthetics with beveled borders, gradient backgrounds, status bars, and ornate frames. Ideal for game interfaces, interactive narratives, and fantasy-style products.

JRPGRPG menudialogue boxhealth barbeveled bordersgame hudfantasy gameretro game interfaceFinal Fantasy menuinventory screenstatus window

Best For

JRPG / RPG menu / dialogue box

Primary Move

Use deep navy blue backgrounds bg-[#0f172a] or bg-slate-900

Watch Out

No minimalist flat style (no borders, no shadows)

design.md

JRPG as a design document

One document describes the colour roles, type rules, spacing and component construction behind this style. Copy or download it into Claude Code or Codex.

Document view

JRPG — Style Reference

Beveled frames, gold headings, blue gradient grounds — a 1995 menu window.

Theme: dark

JRPG interfaces come from 16- and 32-bit game menus: deep navy (#0f172a) under a blue-to-deep-blue gradient, windows framed at 2px with inset shadows for the bevel, gold (#fbbf24) headings, green HP and blue MP bars, cards with a double stroke (2px dark blue plus a 1px bright ring), and buttons that read as raised through an inset white highlight. Menu feedback must cut hard at 75 to 120ms, imitating a controller moving between options — never a smooth ease. Flat minimalism is refused; no border and no shadow here means nothing was done.

Colors

NameValueTokenRole
Deep Navy#0f172a--color-deep-navyThe page ground and window interior — the menu tone of a 32-bit RPG.
Command Blue#1e40af--color-command-blueWindow frames, button grounds and the MP bar.
Gold#fbbf24--color-goldHeadings, key figures and selection — the one bright color in a menu.
Window White#f0f9ff--color-window-whitePrimary text and descriptions — a faintly blue white.
HP Green#22c55e--color-hp-greenHealth and success, always a segmented bar rather than a continuous gradient.
Signal Green#56ed40--color-signal-greenStatus hints and actionable marks.

Typography

Inter — A slightly squared interface sans, headings at 700 in gold. Sizes stay compact because a menu must fit many rows on one screen.
  • Substitute: 'Segoe UI', system-ui, sans-serif
  • Weights: 400, 700
  • Sizes: 13, 16, 20, 26, 34, 44
  • Line height: 1.15 (display), 1.25 (headings), 1.6 (body)
  • Letter spacing: 0.02em on display, 0.08em on uppercase labels
JetBrains Mono — Figures and status readouts — the monospace lets HP, MP and levels compare vertically.
  • Substitute: ui-monospace, 'Courier New', monospace
  • Weights: 400, 700
  • Sizes: 13, 16, 20
  • Line height: 1.4 (display), 1.4 (headings), 1.55 (body)
  • Letter spacing: 0.04em on display, 0.08em on uppercase labels
Type Scale
RoleFamilyWeightSizeLine HeightLetter SpacingToken
headingInter70044px1.150.02em--text-heading
subheadingInter70034px1.20.02em--text-subheading
body-lgInter40020px1.5—--text-body-lg
bodyInter40016px1.6—--text-body
body-smInter40013px1.55—--text-body-sm
labelJetBrains Mono70013px1.40.08em--text-label

Spacing & Layout

Base unit: 8px Density: compact

Spacing Scale
NameValueToken
88px--spacing-8
1212px--spacing-12
1616px--spacing-16
2424px--spacing-24
3232px--spacing-32
4848px--spacing-48
6464px--spacing-64
Border Radius
ElementValue
cards8px
buttons6px
inputs6px
bars999px
  • Page max-width: 1120px
  • Section gap: 48px
  • Card padding: 20px
  • Element gap: 12px

Components

Bevel Window

Role: The beveled menu window — the core component

A #132039 ground with a 2px command blue border plus an outer 1px bright blue ring at 20% for the double stroke, 8px radius, 20px padding, and the bevel from inset 0 1px 0 white at 20% and inset 0 -1px 0 black at 35%. The drop shadow runs 0 8px 24px at 55% black. Titles at 34px/700 in gold, content at 16px in window white.

Command Button

Role: Command button

Command blue fill, window white text, a 2px dark blue border, 6px radius, 16px/700, 10px 24px padding, with inset 0 1px 0 white at 20% for the raise. Hover brightens the fill six percent and turns the text gold; press reverses the inset shadow and sinks 1px. 90ms linear — a hard cut.

  • Sizes: padding 10px 24px; label 16px
  • States: hover: brighter, gold text; active: inset shadow, sink 1px
Status Bar

Role: HP and MP bars

16px tall on a fully rounded shape with a 2px dark blue border, filled green for HP or bright blue for MP, divided into 8px cells with 2px gaps to imitate a segmented bar. No smooth gradient — segmentation is the mark of the era. The figure sits right in 13px monospace gold.

Menu List

Role: The menu option list

Each item is 36px tall on a 6px radius with an 8px gold triangle or square marking selection 8px from the left (transparent when unselected). Selection fills 18% gold and turns the text gold. Switching cuts color only, never slides, in 90ms.

Portrait Frame

Role: Portrait and avatar frames

48 to 96px on an 8px radius, a 2px gold border plus a 1px dark blue outer ring, filled with deep navy or a portrait. A 4px gold corner mark sits at each corner. It carries characters, items and party members.

Do's and Don'ts

Do
  • 2px borders with inset shadows for the bevel
  • Gold headings and selection
  • Status bars must be segmented
  • Menu feedback cuts in 75 to 120ms
  • Double strokes: 2px dark blue plus 1px bright
  • Buttons raise with an inset white highlight
Don't
  • No flat minimalism with no border and no shadow
  • Never ease menu feedback
  • No continuous-gradient status bars
  • No flat line-art icons
  • No radius above 8px
  • Never let gold carry body text

Surfaces

LevelNameValuePurpose
0Navy Gradientlinear-gradient(#1e3a8a, #0f172a)页面与窗口底
1Window#132039菜单窗口
2Selected Rowrgba(251,191,36,0.18)选中行

Elevation

  • Bevel: inset 0 1px 0 rgba(255,255,255,0.20), inset 0 -1px 0 rgba(0,0,0,0.35)
  • Window drop: 0 8px 24px rgba(0,0,0,0.55)
  • Pressed: inset 0 2px 6px rgba(0,0,0,0.45)

Imagery

Pixel portraits, item icons, maps and skill effects. Icons need a 2px stroke and an inner shadow — flat line art will not do. A photo may be reduced to a 32-color palette. No modern illustration or flat icons.

Layout

Capped at 1120px with 16px padding and 12px between windows, producing a dense menu arrangement. Windows may stack with sub-menus offset 8px and a deeper shadow. Dimensions are multiples of four.

Agent Prompt Guide

Implementation Contract
  • Use the requested page, user task and real content as the brief. Implement only the requested scope; identify missing business information instead of inventing data or capabilities.
  • Inspect the current project, stack and components first. Reuse its structure, routes, dependencies and components; do not rebuild unrelated pages or features.
  • Use the project's breakpoints to adapt columns and spacing for narrow and desktop screens. Preserve hierarchy and prevent accidental horizontal overflow.
  • For interactions in scope, support keyboard focus and reduced motion, with applicable disabled, loading, empty and error states.
  • Run the project's existing checks after implementation. Report only tests and visual checks actually run, and list unverified behavior.

QUICK COLOR REFERENCE:

  • text: #f0f9ff
  • background: #0f172a
  • blue: #1e40af
  • gold: #fbbf24
  • green: #22c55e
  • window: #132039

EXAMPLE COMPONENT PROMPTS:

  1. Build a JRPG menu window: a #132039 ground with a 2px solid #1e40af border plus an outer 1px rgba(96,165,250,0.2) ring, 8px radius, 20px padding, and box-shadow inset 0 1px 0 rgba(255,255,255,0.2), inset 0 -1px 0 rgba(0,0,0,0.35), 0 8px 24px rgba(0,0,0,0.55). The heading runs 34px/700 in gold #fbbf24 with body at 16px in #f0f9ff. Below, a 16px fully rounded HP bar in #22c55e divides into 8px cells. The button fills #1e40af with a 2px dark blue border and an inset 0 1px 0 white highlight, turning its text gold on hover over 90ms linear. The page ground is linear-gradient(#1e3a8a, #0f172a).

Similar Brands

  • Pixel Anime — Both RPG interfaces, though pixel anime uses 8-bit square frames while JRPG uses beveled windows
  • Visual Novel — Both game storytelling, though visual novel centers dialogue while JRPG centers menus and status

Quick Start


:root {
  /* Colors */
  --color-deep-navy: #0f172a;
  --color-command-blue: #1e40af;
  --color-gold: #fbbf24;
  --color-window-white: #f0f9ff;
  --color-hp-green: #22c55e;
  --color-signal-green: #56ed40;

  /* Typography — Font Families */
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Typography — Scale */
  --text-heading: 44px;
  --leading-heading: 1.15;
  --tracking-heading: 0.02em;
  --text-subheading: 34px;
  --leading-subheading: 1.2;
  --tracking-subheading: 0.02em;
  --text-body-lg: 20px;
  --leading-body-lg: 1.5;
  --text-body: 16px;
  --leading-body: 1.6;
  --text-body-sm: 13px;
  --leading-body-sm: 1.55;
  --text-label: 13px;
  --leading-label: 1.4;
  --tracking-label: 0.08em;

  /* Typography — Weights */
  --font-weight-regular: 400;
  --font-weight-bold: 700;

  /* Spacing */
  --spacing-unit: 8px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-48: 48px;
  --spacing-64: 64px;

  /* Layout */
  --page-max-width: 1120px;
  --section-gap: 48px;
  --card-padding: 20px;
  --element-gap: 12px;
  --density: compact;

  /* Border Radius */
  --radius-cards: 8px;
  --radius-buttons: 6px;
  --radius-inputs: 6px;
  --radius-bars: 999px;

  /* Surfaces */
  --surface-navy-gradient: linear-gradient(#1e3a8a, #0f172a);
  --surface-window: #132039;
  --surface-selected-row: rgba(251,191,36,0.18);
}

Community

Ratings & Feedback

No ratings yet - be the firstSign in to rate

Loading comments…

Component Templates

Component Preview

Button

// RPG Primary Button // RPG Gold Button // RPG Outline Button

FAQ

JRPG — Frequently Asked Questions

What is the JRPG design style?
Classic Japanese RPG menu and dialogue box aesthetics with beveled borders, gradient backgrounds, status bars, and ornate frames. Ideal for game interfaces, interactive narratives, and fantasy-style products. Its core principle: JRPG style descends from the menu screens of 16-bit and 32-bit Japanese role-playing games -- the era when Final Fantasy, Dragon Quest and Chrono Trigger turned a simple status screen into a piece of worldbuilding.
What colors does JRPG use?
JRPG uses #1e40af as its primary color and #0f172a as its secondary color, with accent colors #fbbf24, #f0f9ff, #22c55e, #56ed40. Every hex value can be copied from the palette on this page.
How do I apply JRPG correctly?
Key practices: Use deep navy blue backgrounds bg-[#0f172a] or bg-slate-900. Use border-2 border-[#1e40af] with inset shadows for beveled effect. Gold highlight text text-[#fbbf24] for titles and important info.
What are common mistakes with JRPG?
Avoid: No minimalist flat style (no borders, no shadows). No white or light backgrounds. No modern sans-serif fonts only (must pair with serif or pixel fonts).
How do I prompt AI to generate JRPG UI?
Copy the ready-made AI prompt on this page — it bundles the design tokens and component rules — and paste it into ChatGPT, Claude, Claude Code, or Codex. Effective prompts include the keywords: JRPG, RPG menu, dialogue box, health bar.
Global Styles

Global CSS

css
/* JRPG Global Styles */
@layer base {
  body {
    @apply bg-[#0f172a] text-[#f0f9ff] antialiased;
  }

  h1, h2, h3 {
    color: #fbbf24;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }

  ::selection {
    @apply bg-blue-700 text-white;
  }
}

@keyframes hp-pulse {
  0%, 100% { box-shadow: 0 0 4px rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 0 8px rgba(34, 197, 94, 0.6); }
}
/* JRPG Design Tokens */
:root {
  --jrpg-primary: #1e40af;
  --jrpg-secondary: #0f172a;
  --jrpg-accent: #fbbf24;
  --jrpg-glow: rgba(30, 64, 175, 0.3);
}

.jrpg-card {
  position: relative;
  overflow: hidden;
}

.jrpg-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), transparent);
  pointer-events: none;
}

.jrpg-card:hover::before {
  opacity: 1;
}

.jrpg-gradient {
  background: linear-gradient(135deg, #1e40af, #fbbf24);
}

.jrpg-gradient-text {
  background: linear-gradient(135deg, #1e40af, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.jrpg-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(30, 64, 175, 0.08);
}

.jrpg-accent-corner {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}

.jrpg-animate-in {
  animation: jrpg-fade-in 0.5s ease-out both;
}

Related Styles

Related Styles

Explore these styles for ready-made tokens and components.

JRPG and Collage Art sit closest to each other. The table below gives the real differences in color, use case, and tags, so the choice between them is made on facts.

AttributeJRPGCollage Art
Primary color#1e40af#2d2d2d
Secondary color#0f172a#f5f0e8
Best forJRPG / RPG menu / dialogue boxcollage art / paper collage / paper cutout
Unique tags——
Design Philosophy

JRPG style descends from the menu screens of 16-bit and 32-bit Japanese role-playing games -- the era when Final Fantasy, Dragon Quest and Chrono Trigger turned a simple status screen into a piece of worldbuilding. Every panel was carved, gilded and lit like an artifact from the game's own universe.