HomeStylesTemplates
StyleKit
StylesTemplatesCommunity
  1. Home
  2. /Styles
  3. /Sci-Fi HUD
Style Catalog/Sci-Fi HUD

Sci-Fi HUD

科幻HUD

A
92/100Excellent
Rate this style

A holographic display interface inspired by starship cockpits and tactical command centers. Deep space backgrounds, cyan glowing borders, translucent glass panels, and radar sweep animations create an immersive experience of operating high-tech equipment.

sci-fi HUDHUD interfaceheads-up displayfuturistic uiFUIholographic uiglowing bordersradar screenspace command centerscanline effectsci-fi dashboardgame hud
View Full Showcase →
Templates

Best For

sci-fi HUD / HUD interface / heads-up display

Primary Move

Use deep space backgrounds bg-[#020617] or bg-slate-950

Watch Out

Do not use light/white backgrounds

Showcase Entry

Live preview of the showcase page. Click to explore the full experience.

View Full Showcase →

Color Palette

Primary

#06B6D4

Secondary

#020617

Accent 1

#0EA5E9

Accent 2

#22D3EE

Accent 3

#22C55E

Accent 4

#9e74ff

AI ImplementationRatings & FeedbackComponent PreviewReadinessFAQExports

AI Implementation

Copy the Hard Prompt first, then use the spec when needed

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.

Hard Prompt

Use this by default: copy it, append the concrete requirement, and let AI generate consistent production UI.

When to use

  • -When AI should generate UI directly
  • -When repeated outputs must stay consistent
  • -When style drift is the main risk

How to use

  • -Copy the full prompt
  • -Append the concrete requirement
  • -Review against forbidden rules and UI states
STYLEKIT_STYLE_REFERENCE
style_name: Sci-Fi HUD
style_slug: sci-fi-hud
style_source: /styles/sci-fi-hud

# 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: Sci-Fi HUD
TYPE: Futuristic command center interface

MUST USE:
- Deep space background: bg-[#020617] or bg-slate-950
- Semi-transparent panels: bg-slate-900/85 backdrop-blur-xl
- Cyan glow borders: border-cyan-500/30 shadow-[0_0_20px_rgba(6,182,212,0.5)]
- L-shaped corner decorations on important panels
- font-mono uppercase tracking-wider for labels
- Status indicators with pulse animation
- Scanline overlays for tech atmosphere
- Progress bars with gradient fill and glow

MUST AVOID:
- Light/white backgrounds
- Warm color schemes (except for warning/danger status)
- Regular shadows (shadow-md, shadow-lg)
- Serif fonts
- Cute/rounded design language
- Large border-radius (rounded-2xl+)

Animation & Interaction Rules:
- Tactical Lock: On hover, L-shaped corner brackets perform short lock displacement (duration-150).
- Data Overload: On hover, increase scanline visibility and glow intensity to simulate data overload.
- Holographic Pierce: Active state prioritizes bright inner glow feedback over gravity-style sinking.
- Terminal Blinking: Status lights and key indicators maintain pulse or flicker to sustain system-online feel.

---

# Sci-Fi HUD Design System

> A holographic display interface inspired by starship cockpits and tactical command centers. Deep space backgrounds, cyan glowing borders, translucent glass panels, and radar sweep animations create an immersive experience of operating high-tech equipment.

## Design Philosophy

Sci-Fi HUD style draws from futuristic tech interfaces in movies and games, where "information IS the interface."

Design principles:
- Deep space background: extremely deep blue-gray backgrounds simulate a space command room
- Glowing geometry: all elements use cyan/teal glowing borders to create a holographic projection feel
- Information density: layering and modularization maintain readability of large amounts of real-time data
- Real-time dynamics: radar sweeps, data stream scrolling, and status pulses convey a "system running" feeling
- Translucent materials: panels use glassmorphism effects with backdrop blur

---

## Token Dictionary (exact class mapping)

### Border
```
Width: border
Color: border-cyan-500/30
Radius: rounded
```

### Shadow
```
sm: shadow-[0_0_10px_rgba(6,182,212,0.2)]
md: shadow-[0_0_15px_rgba(6,182,212,0.3)]
lg: shadow-[0_0_25px_rgba(6,182,212,0.5)]
hover: shadow-[0_0_25px_rgba(6,182,212,0.5)]
focus: shadow-[0_0_20px_rgba(6,182,212,0.4)]
```

### Interaction
```
Hover translate: (none)
Hover scale: hover:shadow-[0_0_25px_rgba(6,182,212,0.5)] hover:-translate-y-0.5
Hover opacity: (none)
Transition: transition-all duration-300
Active: active:scale-95
```

### Typefaces
```
Heading: font-bold font-mono
Body: font-mono
Mono: font-mono
```

### Type scale
```
Hero: text-4xl md:text-6xl lg:text-7xl
H1: text-3xl md:text-4xl
H2: text-2xl md:text-3xl
H3: text-lg md:text-xl
Body: text-sm
Small: text-xs
```

### Spacing
```
Section: py-12 md:py-20
Container: px-6 md:px-8
Card: p-6
Gap sm: gap-3
Gap md: gap-6
Gap lg: gap-8
```

### Color roles
```
Background primary: bg-[#020617]
Background secondary: bg-slate-900/85
Background accent: bg-cyan-500/20, bg-sky-500/20, bg-green-500/20
Text primary: text-[#E5F2FF]
Text secondary: text-slate-400
Text muted: text-slate-500
Button primary: bg-slate-900/80 border-cyan-500/40 text-cyan-400
Button secondary: bg-transparent border-slate-600 text-slate-300
```

---

## [FORBIDDEN]

These classes are banned in this style. Check for them before returning code:

### Banned classes
- `bg-white`
- `bg-gray-50`
- `bg-gray-100`
- `shadow-sm`
- `shadow-md`
- `shadow-lg`
- `shadow-xl`
- `rounded-2xl`
- `rounded-3xl`
- `rounded-full`
- `font-serif`
- `text-pink-`
- `text-rose-`
- `bg-pink-`
- `bg-rose-`

### Banned patterns
- matches `^bg-white`
- matches `^shadow-(?!\[|none)`
- matches `^rounded-(?:2xl|3xl|full)`
- matches `^font-serif`

### Why they are banned
- `bg-white`: HUD interfaces require deep dark backgrounds
- `shadow-md`: Must use glow shadows (shadow-[0_0_Xpx_rgba(...)]) not standard shadows
- `rounded-2xl`: HUD panels use sharp or slightly rounded corners only
- `font-serif`: HUD interfaces use monospace fonts exclusively

> WARNING: if your code contains any of the above, replace it before shipping.

---

## [REQUIRED]

### Every button must include
```
font-mono
uppercase
tracking-widest
border
transition-all
```

### Every card must include
```
backdrop-blur
border
relative
```

### Every input must include
```
bg-slate-950
border
font-mono
focus:outline-none
```

---

## [COMPARE] Sci-Fi HUD 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-mono uppercase tracking-widest border transition-all bg-slate-900/80 border-cyan-500/40 text-cyan-400">
  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="backdrop-blur border relative p-6">
  <h3 class="font-bold font-mono text-lg md:text-xl">{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-slate-950 border font-mono focus:outline-none" placeholder="{PLACEHOLDER}" />
```

---

## [TEMPLATES] Sci-Fi HUD page skeletons

These skeletons use this style's tokens only. Replace `{PLACEHOLDER}` values, but keep every token in place:

### Navigation
```html
<nav class="bg-[#020617] text-[#E5F2FF] border border-cyan-500/30 px-6 md:px-8">
  <div class="flex items-center justify-between max-w-6xl mx-auto gap-6">
    <a href="/" class="font-bold font-mono text-lg md:text-xl">
      {LOGO_TEXT}
    </a>
    <div class="flex gap-6 font-mono text-xs">
      {NAV_LINKS}
    </div>
  </div>
</nav>
```

### Hero section
```html
<section class="bg-cyan-500/20 text-[#E5F2FF] py-12 md:py-20 px-6 md:px-8">
  <div class="max-w-4xl mx-auto">
    <h1 class="font-bold font-mono text-4xl md:text-6xl lg:text-7xl">
      {HEADLINE}
    </h1>
    <p class="font-mono text-sm max-w-xl">
      {SUBHEADLINE}
    </p>
    <button class="font-mono uppercase tracking-widest border transition-all bg-slate-900/80 border-cyan-500/40 text-cyan-400">
      {CTA_TEXT}
    </button>
  </div>
</section>
```

### Card grid
```html
<section class="bg-[#020617] text-[#E5F2FF] py-12 md:py-20 px-6 md:px-8">
  <div class="max-w-6xl mx-auto">
    <h2 class="font-bold font-mono 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="backdrop-blur border relative p-6">
        <h3 class="font-bold font-mono text-lg md:text-xl">{CARD_TITLE}</h3>
        <p class="font-mono text-sm text-slate-500">{CARD_DESCRIPTION}</p>
      </div>
    </div>
  </div>
</section>
```

### Form input
```html
<input class="bg-slate-950 border font-mono focus:outline-none" placeholder="{PLACEHOLDER}" />
```

### Footer
```html
<footer class="bg-slate-900/85 text-slate-400 py-12 md:py-20 px-6 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 font-mono text-lg md:text-xl">{LOGO_TEXT}</span>
        <p class="font-mono text-xs">{TAGLINE}</p>
      </div>
      <div>
        <h4 class="font-bold font-mono text-lg md:text-xl">{COLUMN_TITLE}</h4>
        <ul class="font-mono text-xs">
          {FOOTER_LINKS}
        </ul>
      </div>
    </div>
  </div>
</footer>
```

---

## [CHECKLIST] Sci-Fi HUD post-generation self check

**Before returning code, verify every token and rule below. Fix any violation before delivering:**

### Token check
- [ ] Button includes: `font-mono uppercase tracking-widest border transition-all`
- [ ] Card includes: `backdrop-blur border relative`
- [ ] Input includes: `bg-slate-950 border font-mono focus:outline-none`

### Forbidden check
- [ ] Not using `bg-white`
- [ ] Not using `bg-gray-50`
- [ ] Not using `bg-gray-100`
- [ ] Not using `shadow-sm`
- [ ] Not using `shadow-md`
- [ ] Not using `shadow-lg`
- [ ] Not using `shadow-xl`
- [ ] Not using `rounded-2xl`

### Style rule check
- [ ] Use deep space backgrounds bg-[#020617] or bg-slate-950
- [ ] Panels use translucent bg-slate-900/85 backdrop-blur-xl
- [ ] Borders use glow effects border-cyan-500/30 shadow-[0_0_20px_rgba(6,182,212,0.5)]
- [ ] Text uses cool tones text-[#E5F2FF] or text-slate-300
- [ ] Use font-mono uppercase tracking-wider for a tech feel

### Style drift check
- [ ] Does not violate: Do not use light/white backgrounds
- [ ] Does not violate: Do not use warm tones (orange, pink, etc. -- warm colors only for warning states)
- [ ] Does not violate: Do not use regular shadows shadow-md (must use glow shadows)
- [ ] Does not violate: Do not use serif fonts
- [ ] Does not violate: Do not use cute/rounded design language

### 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 Sci-Fi HUD

## 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 warm tones (orange, pink, etc. -- warm colors only for warning states)
- use regular shadows shadow-md (must use glow shadows)
- use serif fonts
- use cute/rounded design language
- use large border-radius rounded-2xl+
- let panel interactions only deepen regular shadows (lacks system activation feel)
- let status lights remain static (HUD requires continuous pulse or flicker)

## 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 warm tones (orange, pink, etc. -- warm colors only for warning states)
- [ ] do not use regular shadows shadow-md (must use glow shadows)
- [ ] do not use serif fonts
- [ ] do not use cute/rounded design language

More prompt libraries: All UI Prompts · Tailwind UI Prompts · Dark Mode UI Prompts

Community

Ratings & Feedback

No ratings yet - be the firstSign in to rate
0 comments
Sign in to post a comment. Sign In

Component Templates

Component Preview

HUD 按钮

半透明发光边框按钮,悬停增强辉光

// Primary HUD Button // Active HUD Button // Danger HUD Button

Frontend Readiness

Dark Mode, States, Motion, and Accessibility

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%

Missing

UI States

79%

Partial

Motion

70%

Partial

A11y

70%

Partial

Performance

35%

Fallback

Key State Coverage

light
HoverFocus VisibleDisabledLoadingEmptyErrorSuccess

Button

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

Implementation Notes

  • No curated dark-mode contract exists yet.
  • Check contrast in both light and dark modes.
  • Check heavy shadows, blur, large media, and scroll-linked effects manually.
  • No style-specific performance cost profile has been curated yet.

FAQ

Sci-Fi HUD — Frequently Asked Questions

01What is the Sci-Fi HUD design style?
A holographic display interface inspired by starship cockpits and tactical command centers. Deep space backgrounds, cyan glowing borders, translucent glass panels, and radar sweep animations create an immersive experience of operating high-tech equipment. Its core principle: Sci-Fi HUD style draws from futuristic tech interfaces in movies and games, where "information IS the interface.
02What colors does Sci-Fi HUD use?
Sci-Fi HUD uses #06B6D4 as its primary color and #020617 as its secondary color, with accent colors #0EA5E9, #22D3EE, #22C55E, #9e74ff. Every hex value can be copied from the palette on this page.
03How do I apply Sci-Fi HUD correctly?
Key practices: Use deep space backgrounds bg-[#020617] or bg-slate-950. Panels use translucent bg-slate-900/85 backdrop-blur-xl. Borders use glow effects border-cyan-500/30 shadow-[0_0_20px_rgba(6,182,212,0.5)].
04What are common mistakes with Sci-Fi HUD?
Avoid: Do not use light/white backgrounds. Do not use warm tones (orange, pink, etc. -- warm colors only for warning states). Do not use regular shadows shadow-md (must use glow shadows).
05How do I prompt AI to generate Sci-Fi HUD 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: sci-fi HUD, HUD interface, heads-up display, futuristic ui.
Global Styles

Global CSS

css
/* Sci-Fi HUD Global Styles */
@layer base {
  body {
    background-color: #020617;
    color: #E5F2FF;
  }

  ::selection {
    background-color: rgba(6, 182, 212, 0.4);
    color: #E5F2FF;
  }
}

@keyframes hud-radar-sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes hud-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

@keyframes hud-data-slide {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes hud-bar-shine {
  from { left: -100%; }
  to { left: 100%; }
}
/* Sci-Fi HUD Design Tokens */
:root {
  --sci-fi-hud-primary: #06B6D4;
  --sci-fi-hud-secondary: #020617;
  --sci-fi-hud-accent: #0EA5E9;
  --sci-fi-hud-glow: rgba(6, 182, 212, 0.3);
}

.sci-fi-hud-card {
  position: relative;
  overflow: hidden;
}

.sci-fi-hud-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), transparent);
  pointer-events: none;
}

.sci-fi-hud-card:hover::before {
  opacity: 1;
}

.sci-fi-hud-gradient {
  background: linear-gradient(135deg, #06B6D4, #0EA5E9);
}

.sci-fi-hud-gradient-text {
  background: linear-gradient(135deg, #06B6D4, #0EA5E9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sci-fi-hud-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(6, 182, 212, 0.08);
}

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

.sci-fi-hud-animate-in {
  animation: sci-fi-hud-fade-in 0.5s ease-out both;
}

IDE Integration

IDE Configuration Export

Download configuration files for AI coding assistants to generate code in this style.

Style Pack

Export 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

Design Philosophy

Sci-Fi HUD style draws from futuristic tech interfaces in movies and games, where "information IS the interface."

Accessibility

Accessibility Score

WCAG 2.1 compliance analysis based on color contrast and typography readability.

92

Overall Score

Grade: A - Excellent

Contrast Ratios

Score: 100/100Average Ratio: 17.75:1
AA PassAAA Pass
ContextColorsRatioAAAAA
Text on background
/#E5F2FF / #020617
17.75:1

Readability

Score

72/100

Font Size

text-sm

Font Weight

font-bold font-mono

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.

StyleKit

A curated web design style library to help AI generate better-looking websites.

FeedbackSupport Maintenance
Explore+
StylesTemplatesAnimationsResource LibraryPromptsCollectionsCommunity
Learn+
FoundationsGuideRecipesChangelogBlog
Trust+
AboutContactPrivacyTermsSupport UsRefunds

(c) 2026 StyleKit. Open source project.

闄旾CP澶?025065501鍙?3

Colophon/SK — 2026

Built with the Editorial style

01FeedbackTell us what could work better02Support MaintenanceIf StyleKit helps your workflow, voluntary support helps cover servers, domains, and ongoing upkeep.

StyleKit

A curated web design style library to help AI generate better-looking websites.

GitHub Repository

Explore

StylesTemplatesAnimationsResource LibraryPromptsCollectionsCommunity

Learn

FoundationsGuideRecipesChangelogBlog

Dispatch

Get notified when new styles, templates and tools ship.

Stay Updated

By subscribing, you agree to our Privacy Policy and Terms.

(c) 2026 StyleKit. Open source project.

AboutContactPrivacyTermsSupport UsRefunds/陕ICP备2025065501号-3

StyleKit