Style Catalog/Particle System

Particle System

粒子系统

A
90/100Excellent
Rate this style

A floating particle network on deep dark tech backgrounds, using connection lines, pulses, and trails to create a sense of data flow. Ideal for tech companies, data visualization, and creative portfolios.

particle systemparticle backgroundparticles.jsconstellation effectparticle networkcanvas animationconnected dotsfloating particlestech landing pagedata flowdark tech background
View Full Showcase →
Templates

Best For

particle system / particle background / particles.js

Primary Move

Use deep dark backgrounds (blue-black #0a0e1a or #0f1419)

Watch Out

Don't let particles obscure content readability

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: Particle System
style_slug: particle
style_source: /styles/particle

# 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: Particle System
TYPE: Deep dark tech aesthetic with floating particle network

MUST USE:
- Background: Deep blue-black (#0a0e1a or #0f1419)
- Particles: Small circles (1-6px) in semi-transparent white/blue/teal, slowly drifting
- Connection lines: Thin lines between nearby particles, very low opacity
- Text: Light blue-white (#e0e8ff) for primary, white/50 for secondary
- Cards: Very dark glass (bg-[#0f1419]/80) with minimal borders (white/5)
- Accents: Blue (#3b82f6), Teal (#14b8a6), Violet (#a78bfa)
- Interactive elements: Subtle blue glow on hover
- Backdrop blur on cards and overlays

MUST AVOID:
- Light backgrounds
- Warm or earthy color palettes
- Heavy borders or thick outlines
- Conventional box shadows
- Patterns that compete with particle animation

Animation & Interaction Rules:
- Node Excitation: On hover, use thin border highlights and corner micro-bright spots to express node activation and energy injection.
- Nebula Glow: Shadows use low-opacity wide-spread blue-teal diffusion, avoiding heavy solid shadows.
- Quantum Snap: Foreground control interactions use duration-150~200, maintaining precise fast feedback.
- Text Illumination: On card hover, secondary text can brighten from white/50 to white/70 or bright blue.

---

# Particle System Design System

> A floating particle network on deep dark tech backgrounds, using connection lines, pulses, and trails to create a sense of data flow. Ideal for tech companies, data visualization, and creative portfolios.

## Design Philosophy

A living network of floating particles and connection lines creates a sense of data flowing through space -- tech-forward yet organic and mesmerizing.

Core principles:
- Deep dark backgrounds provide the canvas for luminous particle effects
- Particles drift slowly and randomly, forming organic constellations
- Connection lines appear between nearby particles at low opacity
- Foreground content stays clean, readable, and unobstructed
- Cool-toned accents (blue, teal, violet) reinforce the tech atmosphere

---

## Token Dictionary (exact class mapping)

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

### Shadow
```
sm: shadow-[0_0_10px_rgba(59,130,246,0.1)]
md: shadow-[0_0_20px_rgba(59,130,246,0.2)]
lg: shadow-[0_0_40px_rgba(59,130,246,0.3)]
hover: hover:shadow-[0_0_20px_rgba(59,130,246,0.15)]
focus: focus:shadow-[0_0_15px_rgba(59,130,246,0.25)]
```

### Interaction
```
Hover translate: (none)
Hover scale: hover:scale-[1.02]
Hover opacity: hover:border-blue-500/20
Transition: transition-all duration-300
Active: active:scale-[0.98]
```

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

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

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

### Color roles
```
Background primary: bg-[#0a0e1a]
Background secondary: bg-[#0f1419]
Background accent: bg-blue-500/5, bg-teal-500/5, bg-violet-500/5
Text primary: text-[#e0e8ff]
Text secondary: text-white/50
Text muted: text-white/25
Button primary: bg-blue-600 text-white hover:bg-blue-500
Button secondary: bg-white/5 text-white/80 border border-white/10 hover:bg-white/10
```

---

## [FORBIDDEN]

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

### Banned classes
- `bg-white`
- `bg-gray-50`
- `bg-gray-100`
- `border-black`
- `border-gray-900`
- `shadow-sm`
- `shadow-md`
- `shadow-lg`
- `text-gray-900`
- `text-black`

### Banned patterns
- matches `^bg-white`
- matches `^bg-gray-[1-3]00`
- matches `^shadow-(sm|md|lg|xl)$`
- matches `^text-gray-[8-9]00`
- matches `^text-black`

### Why they are banned
- `bg-white`: Particle system uses deep dark backgrounds only
- `bg-gray-50`: Light backgrounds break the particle aesthetic
- `shadow-sm`: Use glow effects (shadow-[...]) instead of conventional shadows
- `text-gray-900`: Use light text (#e0e8ff or white/50) on dark backgrounds
- `text-black`: Dark text is unreadable on dark particle backgrounds

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

---

## [REQUIRED]

### Every button must include
```
rounded-lg
font-medium
transition-all duration-300
```

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

### Every input must include
```
bg-[#0a0e1a]
border border-white/10
rounded-lg
text-[#e0e8ff]
focus:border-blue-500/50
```

---

## [COMPARE] Particle System 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-lg font-medium transition-all duration-300 bg-blue-600 text-white hover:bg-blue-500">
  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 rounded-xl border border-white/5 p-6 md:p-8">
  <h3 class="font-sans font-semibold 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="bg-[#0a0e1a] border border-white/10 rounded-lg text-[#e0e8ff] focus:border-blue-500/50" placeholder="{PLACEHOLDER}" />
```

---

## [TEMPLATES] Particle System page skeletons

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

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

### Hero section
```html
<section class="bg-blue-500/5 text-[#e0e8ff] py-16 md:py-24 lg:py-32 px-6 md:px-8 lg:px-12">
  <div class="max-w-4xl mx-auto">
    <h1 class="font-sans font-semibold text-4xl md:text-6xl lg:text-7xl">
      {HEADLINE}
    </h1>
    <p class="font-sans text-sm text-sm md:text-base max-w-xl">
      {SUBHEADLINE}
    </p>
    <button class="rounded-lg font-medium transition-all duration-300 bg-blue-600 text-white hover:bg-blue-500">
      {CTA_TEXT}
    </button>
  </div>
</section>
```

### Card grid
```html
<section class="bg-[#0a0e1a] text-[#e0e8ff] py-16 md:py-24 lg:py-32 px-6 md:px-8 lg:px-12">
  <div class="max-w-6xl mx-auto">
    <h2 class="font-sans font-semibold text-2xl md:text-3xl">{SECTION_TITLE}</h2>
    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 md:gap-6">
      <!-- Card template - repeat for each card -->
      <div class="backdrop-blur rounded-xl border border-white/5 p-6 md:p-8">
        <h3 class="font-sans font-semibold text-xl md:text-2xl">{CARD_TITLE}</h3>
        <p class="font-sans text-sm text-sm md:text-base text-white/25">{CARD_DESCRIPTION}</p>
      </div>
    </div>
  </div>
</section>
```

### Form input
```html
<input class="bg-[#0a0e1a] border border-white/10 rounded-lg text-[#e0e8ff] focus:border-blue-500/50" placeholder="{PLACEHOLDER}" />
```

### Footer
```html
<footer class="bg-[#0f1419] text-white/50 py-16 md:py-24 lg:py-32 px-6 md:px-8 lg:px-12">
  <div class="max-w-6xl mx-auto">
    <div class="grid grid-cols-1 md:grid-cols-3 gap-6 md:gap-10">
      <div>
        <span class="font-sans font-semibold text-xl md:text-2xl">{LOGO_TEXT}</span>
        <p class="font-sans text-sm text-xs md:text-sm">{TAGLINE}</p>
      </div>
      <div>
        <h4 class="font-sans font-semibold text-xl md:text-2xl">{COLUMN_TITLE}</h4>
        <ul class="font-sans text-sm text-xs md:text-sm">
          {FOOTER_LINKS}
        </ul>
      </div>
    </div>
  </div>
</footer>
```

---

## [CHECKLIST] Particle System post-generation self check

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

### Token check
- [ ] Button includes: `rounded-lg font-medium transition-all duration-300`
- [ ] Card includes: `backdrop-blur rounded-xl border border-white/5`
- [ ] Input includes: `bg-[#0a0e1a] border border-white/10 rounded-lg text-[#e0e8ff] focus:border-blue-500/50`

### Forbidden check
- [ ] Not using `bg-white`
- [ ] Not using `bg-gray-50`
- [ ] Not using `bg-gray-100`
- [ ] Not using `border-black`
- [ ] Not using `border-gray-900`
- [ ] Not using `shadow-sm`
- [ ] Not using `shadow-md`
- [ ] Not using `shadow-lg`

### Style rule check
- [ ] Use deep dark backgrounds (blue-black #0a0e1a or #0f1419)
- [ ] Add floating particle elements as background decoration
- [ ] Show connection lines between nearby particles at low opacity
- [ ] Keep foreground content clean and highly readable
- [ ] Use cool-toned accent colors (blue, teal, violet)

### Style drift check
- [ ] Does not violate: Don't let particles obscure content readability
- [ ] Does not violate: Don't use warm or earthy colors for primary palette
- [ ] Does not violate: Don't use heavy borders or thick outlines
- [ ] Does not violate: Don't use patterns that compete with particle animation
- [ ] Does not violate: Don't use light backgrounds

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

## Absolute Bans (Match and Refuse)

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

- let particles obscure content readability
- use warm or earthy colors for primary palette
- use heavy borders or thick outlines
- use patterns that compete with particle animation
- use light backgrounds
- use conventional box shadows (use glow effects instead)
- let hover glow become solid opaque blocks (must stay airy and translucent)
- apply long bouncy easing to controls (particle UI should feel precise)

## 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 let particles obscure content readability
- [ ] don't use warm or earthy colors for primary palette
- [ ] don't use heavy borders or thick outlines
- [ ] don't use patterns that compete with particle animation
- [ ] don't use light backgrounds

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

Loading comments…

Component Templates

Component Preview

Button

Particle UI 按钮,快速响应并带节点扫光激活

// Primary Button // Secondary Button // Ghost 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

Particle System — Frequently Asked Questions

What is the Particle System design style?
A floating particle network on deep dark tech backgrounds, using connection lines, pulses, and trails to create a sense of data flow. Ideal for tech companies, data visualization, and creative portfolios. Its core principle: A living network of floating particles and connection lines creates a sense of data flowing through space -- tech-forward yet organic and mesmerizing.
What colors does Particle System use?
Particle System uses #0a0e1a as its primary color and #0f1419 as its secondary color, with accent colors #e0e8ff, #64c8ff, #64ffc8, #a78bfa. Every hex value can be copied from the palette on this page.
How do I apply Particle System correctly?
Key practices: Use deep dark backgrounds (blue-black #0a0e1a or #0f1419). Add floating particle elements as background decoration. Show connection lines between nearby particles at low opacity.
What are common mistakes with Particle System?
Avoid: Don't let particles obscure content readability. Don't use warm or earthy colors for primary palette. Don't use heavy borders or thick outlines.
How do I prompt AI to generate Particle System 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: particle system, particle background, particles.js, constellation effect.
Global Styles

Global CSS

css
/* Particle System Global Styles */
@keyframes particle-float {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(10px, -15px); }
  50% { transform: translate(-5px, 10px); }
  75% { transform: translate(-10px, -5px); }
}
@keyframes particle-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.5); }
}
@keyframes particle-connect {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.3; }
}
/* Particle System Design Tokens */
:root {
  --particle-primary: #0a0e1a;
  --particle-secondary: #0f1419;
  --particle-accent: #e0e8ff;
  --particle-glow: rgba(10, 14, 26, 0.3);
}

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

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

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

.particle-gradient {
  background: linear-gradient(135deg, #0a0e1a, #e0e8ff);
}

.particle-gradient-text {
  background: linear-gradient(135deg, #0a0e1a, #e0e8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.particle-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(10, 14, 26, 0.08);
}

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

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

.particle-focus { outline: 2px solid var(--particle-primary, currentColor); outline-offset: 2px; }

/* Responsive utilities */
@media (prefers-reduced-motion: reduce) {
  .particle-animate-in {
    animation: none;
  }
}

@media (min-width: 768px) {
  .particle-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
}

/* Print styles */
@media print {
  .particle-gradient,
  .particle-frosted {
    background: none;
    backdrop-filter: none;
  }
}

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

A living network of floating particles and connection lines creates a sense of data flowing through space -- tech-forward yet organic and mesmerizing.

Accessibility

Accessibility Score

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

90

Overall Score

Grade: A - Excellent

Contrast Ratios

Score: 92/100Average Ratio: 12.01:1
AA PassAAA Fail
ContextColorsRatioAAAAA
Text on background
/#e0e8ff / #0a0e1a
15.73:1
Text on secondary background
/#e0e8ff / #0f1419
15.12:1
Button primary
/#ffffff / #2563eb
5.17:1

Readability

Score

85/100

Font Size

text-sm md:text-base

Font Weight

font-sans font-semibold

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.