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

Sci-Fi HUD

科幻HUD

A
92/100Excellent

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.

## 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

Community

Ratings & Feedback

Sign 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, Cursor, or v0. 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 LibraryPromptsCollections
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 LibraryPromptsCollections

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