HomeStylesTemplates
StyleKit
StylesTemplatesCommunity
  1. Home
  2. /Styles
  3. /Holographic
Style Catalog/Holographic

Holographic

全息渐变

A
96/100Excellent
Rate this style

Rainbow spectrum iridescent gradient aesthetics simulating holographic prismatic refraction and dynamic light effects for an otherworldly iridescent experience.

holographiciridescentholo foilrainbow gradientprismatic effectcolor spectrumconic gradientpearlescentcolor-shiftingY2K aestheticshimmer effect
View Full Showcase →
Templates

Best For

holographic / iridescent / holo foil

Primary Move

Use multi-color gradient backgrounds (linear-gradient with 3+ color stops)

Watch Out

Don't use flat solid colors without gradient

Showcase Entry

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

View Full Showcase →

Color Palette

Primary

#a855f7

Secondary

#0a0a1f

Accent 1

#ff0080

Accent 2

#ffd700

Accent 3

#00d4ff

Accent 4

#00ff88

Accent 5

#6366f1

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: Holographic
style_slug: holographic
style_source: /styles/holographic

# 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

## Holographic Style Rules
- Background: Deep dark (#0a0a1f or #1a0b2e) - cosmic/space feel
- Primary effect: Rainbow spectrum gradients using linear-gradient with 3+ stops
- Gradient colors: #ff0080 -> #ff6b00 -> #ffd700 -> #00ff88 -> #00d4ff -> #6366f1 -> #a855f7
- Cards: Semi-transparent (bg-white/5 to bg-white/10) with backdrop-blur
- Text highlights: Use bg-clip-text with gradient for headings
- Borders: Subtle white/10 to white/20 with purple/prismatic glow on hover
- Animate gradients: Use background-size: 200% and animate background-position
- Holographic badges: Small elements with full rainbow gradient + shimmer overlay
- All interactive elements should have prismatic box-shadow on hover
- Never use light/white backgrounds
- Never use flat solid colors without gradient treatment
- Never use muted or desaturated color palettes

## Animation & Interaction Rules

### Spectrum Shift (Gradient Slide)
- Apply bg-[length:200%_auto] to all gradient buttons and card headings
- On hover: hover:bg-right — gradient slides laterally, simulating angle-dependent holographic foil color shift
- Transition: transition-[background-position] duration-500 (smooth spectrum sweep)
- NEVER use hover:bg-right without bg-[length:200%_auto] (no movement without oversized gradient)

### Prismatic Glow (Multi-Color Shadow)
- Button hover: hover:shadow-[0_0_40px_rgba(0,212,255,0.6),0_0_20px_rgba(255,0,128,0.4)] — dual cyan+magenta glows
- Card hover: hover:shadow-[0_0_30px_rgba(147,51,234,0.3)] — purple prism glow
- Resting shadow always present: shadow-[0_0_20px_rgba(147,51,234,0.5)]

### Liquid Glass (Card Float)
- Always use group class on card containers
- Cards: hover:-translate-y-2 hover:bg-white/10 hover:border-purple-400/40
- Card headings use Spectrum Shift synchronized with card hover via group-hover:bg-right

### Jelly Press (Active State)
- All buttons: active:scale-95 active:translate-y-0 — jelly press confirms interaction
- Focus: focus:ring-2 focus:ring-purple-400 focus:ring-offset-2 focus:ring-offset-[#0a0a1f]
- ring-offset-[#0a0a1f] mandatory — ring invisible on dark cosmic background without it

### Duration
- Button transitions: duration-500 ease-out (slow = luxurious holographic feel)
- Card transitions: duration-300 ease-out

---

# Holographic Design System

> Rainbow spectrum iridescent gradient aesthetics simulating holographic prismatic refraction and dynamic light effects for an otherworldly iridescent experience.

## Design Philosophy

Holographic simulates the prismatic beauty of holographic foil -- rainbow spectrum gradients that shift and flow with viewing angle, creating an otherworldly iridescent experience.

Core principles:
- Prismatic refraction: multi-color spectrum gradients with 3+ color stops
- Cosmic deep space: dark backgrounds make holographic elements leap forward
- Dynamic light effects: gradient position animation simulates holographic foil angle changes
- Translucent layering: glass-textured cards with backdrop blur

---

## Token Dictionary (exact class mapping)

### Border
```
Width: border
Color: border-white/10
Radius: rounded-2xl
```

### Shadow
```
sm: shadow-[0_0_15px_rgba(147,51,234,0.2)]
md: shadow-[0_0_25px_rgba(147,51,234,0.4)]
lg: shadow-[0_0_50px_rgba(147,51,234,0.6)]
hover: shadow-[0_0_30px_rgba(147,51,234,0.4)]
focus: shadow-[0_0_20px_rgba(147,51,234,0.4)]
```

### Interaction
```
Hover translate: (none)
Hover scale: hover:shadow-[0_0_30px_rgba(147,51,234,0.4)] hover:border-purple-400/30 hover:scale-[1.02]
Hover opacity: (none)
Transition: transition-all duration-500
Active: active:scale-95
```

### Typefaces
```
Heading: font-sans font-bold
Body: font-sans text-sm
Mono: font-mono
```

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

### Spacing
```
Section: py-16 px-6 md:px-8
Container: px-4 md:px-8
Card: p-6
Gap sm: gap-4
Gap md: gap-6
Gap lg: gap-8
```

### Color roles
```
Background primary: bg-[#0a0a1f]
Background secondary: bg-[#1a0b2e]
Background accent: bg-purple-500/10, bg-pink-500/10, bg-cyan-500/10
Text primary: text-white
Text secondary: text-white/70
Text muted: text-white/40
Button primary: bg-gradient-to-r from-[#ff0080] via-[#7928ca] to-[#00d4ff] text-white
Button secondary: bg-white/10 text-white border border-white/20
```

---

## [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`
- `text-gray-900`
- `text-black`
- `rounded-none`
- `border-black`
- `border-gray-300`

### Banned patterns
- matches `^bg-white`
- matches `^bg-gray-[1-3]`
- matches `^bg-slate-[1-3]`
- matches `^shadow-(?!\[)`

### Why they are banned
- `bg-white`: Holographic style requires dark backgrounds to make prismatic effects pop
- `shadow-md`: Use prismatic glow shadows: shadow-[0_0_20px_rgba(147,51,234,0.5)]
- `text-black`: Use text-white or gradient text on dark backgrounds

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

---

## [REQUIRED]

### Every button must include
```
rounded-
bg-gradient-
transition-all
shadow-[0_0_
```

### Every card must include
```
backdrop-blur
bg-white/
rounded-
border
```

### Every input must include
```
backdrop-blur
bg-white/
rounded-
focus:border-purple
focus:shadow-[0_0_
```

---

## [COMPARE] Holographic 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="rounded- bg-gradient- transition-all shadow-[0_0_ bg-gradient-to-r from-[#ff0080] via-[#7928ca] to-[#00d4ff] text-white">
  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 bg-white/ rounded- border p-6">
  <h3 class="font-sans font-bold 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="backdrop-blur bg-white/ rounded- focus:border-purple focus:shadow-[0_0_" placeholder="{PLACEHOLDER}" />
```

---

## [TEMPLATES] Holographic page skeletons

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

### Navigation
```html
<nav class="bg-[#0a0a1f] text-white border border-white/10 px-4 md:px-8">
  <div class="flex items-center justify-between max-w-6xl mx-auto gap-6">
    <a href="/" class="font-sans font-bold text-xl md:text-2xl">
      {LOGO_TEXT}
    </a>
    <div class="flex gap-6 font-sans text-sm text-xs">
      {NAV_LINKS}
    </div>
  </div>
</nav>
```

### Hero section
```html
<section class="bg-purple-500/10 text-white py-16 px-6 md:px-8 px-4 md:px-8">
  <div class="max-w-4xl mx-auto">
    <h1 class="font-sans font-bold text-5xl md:text-7xl lg:text-8xl">
      {HEADLINE}
    </h1>
    <p class="font-sans text-sm text-sm md:text-base max-w-xl">
      {SUBHEADLINE}
    </p>
    <button class="rounded- bg-gradient- transition-all shadow-[0_0_ bg-gradient-to-r from-[#ff0080] via-[#7928ca] to-[#00d4ff] text-white">
      {CTA_TEXT}
    </button>
  </div>
</section>
```

### Card grid
```html
<section class="bg-[#0a0a1f] text-white py-16 px-6 md:px-8 px-4 md:px-8">
  <div class="max-w-6xl mx-auto">
    <h2 class="font-sans font-bold text-2xl md:text-4xl">{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 bg-white/ rounded- border p-6">
        <h3 class="font-sans font-bold text-xl md:text-2xl">{CARD_TITLE}</h3>
        <p class="font-sans text-sm text-sm md:text-base text-white/40">{CARD_DESCRIPTION}</p>
      </div>
    </div>
  </div>
</section>
```

### Form input
```html
<input class="backdrop-blur bg-white/ rounded- focus:border-purple focus:shadow-[0_0_" placeholder="{PLACEHOLDER}" />
```

### Footer
```html
<footer class="bg-[#1a0b2e] text-white/70 py-16 px-6 md:px-8 px-4 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-sans font-bold text-xl md:text-2xl">{LOGO_TEXT}</span>
        <p class="font-sans text-sm text-xs">{TAGLINE}</p>
      </div>
      <div>
        <h4 class="font-sans font-bold text-xl md:text-2xl">{COLUMN_TITLE}</h4>
        <ul class="font-sans text-sm text-xs">
          {FOOTER_LINKS}
        </ul>
      </div>
    </div>
  </div>
</footer>
```

---

## [CHECKLIST] Holographic post-generation self check

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

### Token check
- [ ] Button includes: `rounded- bg-gradient- transition-all shadow-[0_0_`
- [ ] Card includes: `backdrop-blur bg-white/ rounded- border`
- [ ] Input includes: `backdrop-blur bg-white/ rounded- focus:border-purple focus:shadow-[0_0_`

### 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 `text-gray-900`
- [ ] Not using `text-black`

### Style rule check
- [ ] Use multi-color gradient backgrounds (linear-gradient with 3+ color stops)
- [ ] Apply background-size animation for moving gradient effects
- [ ] Use semi-transparent cards over dark cosmic backgrounds
- [ ] Add prismatic box-shadow with multiple colored glows
- [ ] Include holographic sticker badges with full spectrum gradients

### Style drift check
- [ ] Does not violate: Don't use flat solid colors without gradient
- [ ] Does not violate: Don't use light/white backgrounds (kills the holographic effect)
- [ ] Does not violate: Don't use muted or desaturated colors
- [ ] Does not violate: Don't use sharp corners without any glow
- [ ] Does not violate: Don't use more than 2 non-gradient elements in a row

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

## Absolute Bans (Match and Refuse)

If any of the following patterns appear, it is a style violation — rewrite without exception.

- use flat solid colors without gradient
- use light/white backgrounds (kills the holographic effect)
- use muted or desaturated colors
- use sharp corners without any glow
- use more than 2 non-gradient elements in a row
- use hover:scale-105 alone -- always combine with gradient shift and prismatic shadow
- omit active:scale-95 from buttons (no tactile confirmation)
- use focus:ring without focus:ring-offset-[#0a0a1f] (ring invisible on dark cosmic background)

## 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
- [ ] don't use flat solid colors without gradient
- [ ] don't use light/white backgrounds (kills the holographic effect)
- [ ] don't use muted or desaturated colors
- [ ] don't use sharp corners without any glow
- [ ] don't use more than 2 non-gradient elements in a row

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

按钮

全息渐变按钮:bg-[length:200%_auto] + hover:bg-right 产生横向光谱位移(模拟全息箔随角度变色),棱镜双色光晕,active:scale-95 果冻按压,focus:ring-offset-[#0a0a1f]

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

Holographic — Frequently Asked Questions

01What is the Holographic design style?
Rainbow spectrum iridescent gradient aesthetics simulating holographic prismatic refraction and dynamic light effects for an otherworldly iridescent experience. Its core principle: Holographic simulates the prismatic beauty of holographic foil -- rainbow spectrum gradients that shift and flow with viewing angle, creating an otherworldly iridescent experience.
02What colors does Holographic use?
Holographic uses #a855f7 as its primary color and #0a0a1f as its secondary color, with accent colors #ff0080, #ffd700, #00d4ff, #00ff88. Every hex value can be copied from the palette on this page.
03How do I apply Holographic correctly?
Key practices: Use multi-color gradient backgrounds (linear-gradient with 3+ color stops). Apply background-size animation for moving gradient effects. Use semi-transparent cards over dark cosmic backgrounds.
04What are common mistakes with Holographic?
Avoid: Don't use flat solid colors without gradient. Don't use light/white backgrounds (kills the holographic effect). Don't use muted or desaturated colors.
05How do I prompt AI to generate Holographic 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: holographic, iridescent, holo foil, rainbow gradient.
Global Styles

Global CSS

css
/* Holographic 全局样式 */

:root {
  --holo-pink: #ff0080;
  --holo-orange: #ff6b00;
  --holo-gold: #ffd700;
  --holo-green: #00ff88;
  --holo-cyan: #00d4ff;
  --holo-indigo: #6366f1;
  --holo-purple: #a855f7;
}

@keyframes holo-gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes holo-shimmer {
  0% { transform: translateX(-100%) rotate(15deg); }
  100% { transform: translateX(200%) rotate(15deg); }
}

@keyframes holo-rotate {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* 全息渐变背景 */
.holo-gradient {
  background: linear-gradient(
    135deg,
    var(--holo-pink),
    var(--holo-orange),
    var(--holo-gold),
    var(--holo-green),
    var(--holo-cyan),
    var(--holo-indigo),
    var(--holo-purple)
  );
  background-size: 200% 200%;
  animation: holo-gradient-shift 6s ease infinite;
}

/* 全息微光覆盖 */
.holo-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.15) 45%,
    rgba(255, 255, 255, 0.05) 55%,
    transparent 60%
  );
  animation: holo-shimmer 3s ease-in-out infinite;
}
.holographic-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(168, 85, 247, 0.08);
}

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

.holographic-animate-in {
  animation: holographic-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

Holographic simulates the prismatic beauty of holographic foil -- rainbow spectrum gradients that shift and flow with viewing angle, creating an otherworldly iridescent experience.

Accessibility

Accessibility Score

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

96

Overall Score

Grade: A - Excellent

Contrast Ratios

Score: 100/100Average Ratio: 19.04:1
AA PassAAA Pass
ContextColorsRatioAAAAA
Text on background
/#ffffff / #0a0a1f
19.51:1
Text on secondary background
/#ffffff / #1a0b2e
18.56:1

Readability

Score

87/100

Font Size

text-sm md:text-base

Font Weight

font-sans font-bold

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