StyleKit

Steampunk

蒸汽朋克

Rate this style

Victorian-era industrial machinery aesthetics with brass and copper metallic elements, gear mechanism decorations, and steam pipe rivet details. Ideal for retro sci-fi, industrial style, and creative showcase projects.

steampunksteampunk uiVictorian industrialbrass and coppergearsclockworkretro sci-firetro futurismmechanical designrivetsindustrial aesthetic

Best For

steampunk / steampunk ui / Victorian industrial

Primary Move

Use dark brown backgrounds bg-[#3d2b1f] or bg-[#2a1f15]

Watch Out

No pure white backgrounds or modern minimalist style

design.md

Steampunk 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

Steampunk — Style Reference

Brass, copper pipe, rivets and gears — a Victorian machine still venting steam.

Theme: dark

Steampunk comes from Victorian industrial machinery: brass (#b5a642) and copper (#b87333) fitted onto deep brown (#3d2b1f or the darker #2a1f15), with cream or brass text, serif type carrying all the setting, copper-toned translucent hairlines studded with rivet dots, and buttons using a top-to-bottom brass gradient to imitate a lit metal face. The brass lustre comes from a 0 0 15px warm glow. Pure white grounds, modern minimalism, neon and fluorescent color, and flat surfaces without material are all refused.

Colors

NameValueTokenRole
Brass#b5a642--color-brassThe primary metal on buttons, strokes and text highlights.
Deep Brown#3d2b1f--color-deep-brownThe page ground and panels — leather and old wood.
Copper#b87333--color-copperThe second metal on pipes, rivets and borders.
Cream#f5f0e1--color-creamPrimary text and label stock.
Iron#4a4a4a--color-ironSecondary metal fittings and debossed grooves.
Verdigris#5a9025--color-verdigrisOxidised copper green, on wear marks and status.

Typography

Playfair Display — Serif throughout, headings on wide tracking like an engraved plate, body at 1.7 leading.
  • Substitute: Georgia, 'Songti SC', serif
  • Weights: 400, 700
  • Sizes: 15, 18, 22, 30, 40, 54
  • Line height: 1.15 (display), 1.25 (headings), 1.7 (body)
  • Letter spacing: 0.02em on display, 0.16em on uppercase labels
Type Scale
RoleFamilyWeightSizeLine HeightLetter SpacingToken
display—70054px1.150.02em--text-display
heading—70040px1.2—--text-heading
subheading—40030px1.3—--text-subheading
body-lg—40022px1.65—--text-body-lg
body—40018px1.7—--text-body
label—70015px1.50.16em--text-label

Spacing & Layout

Base unit: 8px Density: comfortable

Spacing Scale
NameValueToken
88px--spacing-8
1616px--spacing-16
2424px--spacing-24
3232px--spacing-32
4848px--spacing-48
6464px--spacing-64
9696px--spacing-96
128128px--spacing-128
Border Radius
ElementValue
cards4px
buttons4px
inputs4px
gauges999px
  • Page max-width: 1080px
  • Section gap: 112px
  • Card padding: 32px
  • Element gap: 24px

Components

Brass Button

Role: Action button

A brass gradient (#c9b84e to #8a7d32), deep brown text, 4px radius, a 1px copper border at 50%, 18px/700 at 0.08em, 14px 32px padding, with a 0 0 15px glow at 30% brass and an inset 0 1px 0 white at 30% for the top highlight. Hover widens the glow to 30px and brightens the gradient; press inverts it and deepens the inner shadow. 200ms.

  • Sizes: padding 14px 32px; label 18px
  • States: hover: glow 30px, brighter; active: inverted gradient
Riveted Panel

Role: The riveted panel — the core component

Deep brown fill, 4px radius, a 1px copper border at 50%, 32px padding, with a 6px copper dot every 24px along the edge and an 8px rivet at each corner. A 0 0 15px glow at 30% brass surrounds it. The rivets stay evenly spaced — handmade does not mean careless.

Gear Ornament

Role: The gear ornament

A gear 48 to 120px across with twelve to twenty teeth (a clip-path polygon or SVG), filled brass or copper, a hole at 20% of its diameter, rotating slowly on a twenty-second linear loop. Two or three may mesh. At most three per screen, and rotation stays slow — speed turns it into a carnival.

Pressure Gauge

Role: The pressure gauge readout

A 96 to 160px dial with a 3px brass ring, cream face, twelve ticks (one per thirty degrees, 8px long), a copper needle rotating to the value and an 8px rivet at the centre. The figure sits beneath in 18px serif.

Pipe Divider

Role: The pipe divider

An 8px copper bar with a 12px circular flange at each end (carrying four rivets), optionally bending through a right angle. It replaces the ordinary divider to say that this belongs to the same plumbing.

Do's and Don'ts

Do
  • Deep brown ground with brass and copper
  • Serif on wide tracking, like an engraved plate
  • Panel edges carry rivets
  • Buttons use a brass gradient for the lit face
  • Brass lustre comes from a warm glow
  • Gears turn over 20s or slower
Don't
  • No pure white grounds
  • No modern minimalism
  • No neon or fluorescent color
  • No flat surface without material
  • Never fill a screen with brass
  • Never speed up the gears

Surfaces

LevelNameValuePurpose
0Dark Brown#2a1f15页面底
1Deep Brown#3d2b1f面板
2Brass Plate#b5a642金属件

Elevation

  • Brass glow: 0 0 15px rgba(181,166,66,0.30)
  • Brass glow strong: 0 0 30px rgba(181,166,66,0.50)
  • Metal drop: 0 6px 16px rgba(0,0,0,0.45)

Imagery

Industrial photography and mechanical illustration: gears, pipes, gauges, airships, pocket watches. It needs metal highlights and a warm cast, and a photo may be graded sepia. No modern cities, minimal products or cool-toned photography.

Layout

Capped at 1080px with 24px padding, sections 112px apart. Panels may layer and every panel may carry rivets. The page stays dark brown, and metal appears only where attention is wanted — never a screen entirely of brass.

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: #f5f0e1
  • background: #2a1f15
  • panel: #3d2b1f
  • brass: #b5a642
  • copper: #b87333
  • cream: #f5f0e1

EXAMPLE COMPONENT PROMPTS:

  1. Build a steampunk button: background linear-gradient(to bottom, #c9b84e, #8a7d32), deep brown text #2a1f15, 4px radius, a 1px rgba(184,115,51,0.5) border, 18px/700 at 0.08em, 14px 32px padding, box-shadow 0 0 15px rgba(181,166,66,0.3) with inset 0 1px 0 rgba(255,255,255,0.3). Hover widens the glow to 0 0 30px rgba(181,166,66,0.5). The page ground is #2a1f15 with #3d2b1f panels carrying a 1px copper border and a 6px copper rivet every 24px. Headings run Playfair Display 40px/700 at 0.16em in #f5f0e1.

Similar Brands

  • Retro Vintage — Both period pieces, though retro vintage is print while steampunk is machinery
  • Dark Academia — Both dark brown and gold, though dark academia is books while steampunk is machines

Quick Start


:root {
  /* Colors */
  --color-brass: #b5a642;
  --color-deep-brown: #3d2b1f;
  --color-copper: #b87333;
  --color-cream: #f5f0e1;
  --color-iron: #4a4a4a;
  --color-verdigris: #5a9025;

  /* Typography — Font Families */
  --font-serif: 'Playfair Display', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Typography — Scale */
  --text-display: 54px;
  --leading-display: 1.15;
  --tracking-display: 0.02em;
  --text-heading: 40px;
  --leading-heading: 1.2;
  --text-subheading: 30px;
  --leading-subheading: 1.3;
  --text-body-lg: 22px;
  --leading-body-lg: 1.65;
  --text-body: 18px;
  --leading-body: 1.7;
  --text-label: 15px;
  --leading-label: 1.5;
  --tracking-label: 0.16em;

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

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

  /* Layout */
  --page-max-width: 1080px;
  --section-gap: 112px;
  --card-padding: 32px;
  --element-gap: 24px;
  --density: comfortable;

  /* Border Radius */
  --radius-cards: 4px;
  --radius-buttons: 4px;
  --radius-inputs: 4px;
  --radius-gauges: 999px;

  /* Surfaces */
  --surface-dark-brown: #2a1f15;
  --surface-deep-brown: #3d2b1f;
  --surface-brass-plate: #b5a642;
}

Community

Ratings & Feedback

No ratings yet - be the firstSign in to rate

Loading comments…

Component Templates

Component Preview

Button

// Brass Primary // Copper Outline // Iron Variant

FAQ

Steampunk — Frequently Asked Questions

What is the Steampunk design style?
Victorian-era industrial machinery aesthetics with brass and copper metallic elements, gear mechanism decorations, and steam pipe rivet details. Ideal for retro sci-fi, industrial style, and creative showcase projects. Its core principle: Steampunk style originates from the aesthetic imagination of the Victorian-era Industrial Revolution, creating a retro-futuristic feel through brass/copper metallic textures, gear mechanism elements, and precision mechanical details.
What colors does Steampunk use?
Steampunk uses #b5a642 as its primary color and #3d2b1f as its secondary color, with accent colors #b87333, #f5f0e1, #4a4a4a, #5a9025. Every hex value can be copied from the palette on this page.
How do I apply Steampunk correctly?
Key practices: Use dark brown backgrounds bg-[#3d2b1f] or bg-[#2a1f15]. Use shadow-[0_0_15px_rgba(181,166,66,0.3)] for brass luster effects. Use copper-toned borders border border-[#b87333]/50.
What are common mistakes with Steampunk?
Avoid: No pure white backgrounds or modern minimalist style. No neon or highly saturated fluorescent colors. No flat, textureless design.
How do I prompt AI to generate Steampunk 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: steampunk, steampunk ui, Victorian industrial, brass and copper.
Global Styles

Global CSS

css
/* Steampunk Global Styles */
@layer base {
  body {
    @apply bg-[#2a1f15] text-[#f5f0e1] antialiased;
  }

  h1, h2, h3 {
    font-family: Georgia, 'Times New Roman', serif;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  }

  ::selection {
    @apply bg-[#b5a642] text-[#2a1f15];
  }
}

@keyframes gear-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
/* Steampunk Design Tokens */
:root {
  --steampunk-primary: #b5a642;
  --steampunk-secondary: #3d2b1f;
  --steampunk-accent: #b87333;
  --steampunk-glow: rgba(181, 166, 66, 0.3);
}

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

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

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

.steampunk-gradient {
  background: linear-gradient(135deg, #b5a642, #b87333);
}

.steampunk-gradient-text {
  background: linear-gradient(135deg, #b5a642, #b87333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.steampunk-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(181, 166, 66, 0.08);
}

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

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

Related Styles

Related Styles

Explore these styles for ready-made tokens and components.

Steampunk and Pop 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.

AttributeSteampunkPop Art
Primary color#b5a642#ffdd00
Secondary color#3d2b1f#ff69b4
Best forsteampunk / steampunk ui / Victorian industrialpop art / Andy Warhol style / Roy Lichtenstein
Unique tags——
Design Philosophy

Steampunk style originates from the aesthetic imagination of the Victorian-era Industrial Revolution, creating a retro-futuristic feel through brass/copper metallic textures, gear mechanism elements, and precision mechanical details.