StyleKit

macOS Vibrancy

macOS 毛玻璃

Rate this style

Native macOS dark vibrancy style. Multi-layer dark gray panels, system-level backdrop-blur, and extreme restraint create the calm, professional feel of a desktop application.

macOS vibrancymacOS designfrosted glass sidebarbackdrop blurtranslucent panelsdark mode uidesktop app designnative app aestheticApple design languageglassmorphismdashboard

Best For

macOS vibrancy / macOS design / frosted glass sidebar

Primary Move

Use three-depth dark gray system: #1c1c1e (deepest) -> #2c2c2e -> #3a3a3c (lightest)

Watch Out

No gradients on any element (backgrounds are solid dark grays)

design.md

macOS Vibrancy 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

macOS Vibrancy — Style Reference

Three greys, system-level blur and almost no ornament — the calm of a desktop app.

Theme: dark

This style reproduces native macOS material: a window built from three greys (#1c1c1e deepest, #2c2c2e middle, #3a3a3c lightest), a sidebar at 80% opacity with a large backdrop blur for vibrancy, and every divider a 1px white line at 8% to 12% — never thicker. Serif headlines (Georgia) converse with a sans body, which is what separates it from a generic dark dashboard. Motion may only change color, over 200ms ease-out; any translation or scale reminds the eye this is a web page.

Colors

NameValueTokenRole
Deepest Grey#1c1c1e--color-deepestWindow ground and sidebar base. The deepest layer; every other grey stacks above it.
Mid Grey#2c2c2e--color-midContent area and list rows, one step above the deepest grey to separate sidebar from canvas.
Light Grey#3a3a3c--color-light-greyToolbars, floating panels and any surface that should sit one layer closer to the viewer.
System Blue#0a84ff--color-system-blueSelection, links and the primary button — the system accent, and the only one.
System Green#30d158--color-system-greenSuccess, presence and completion; small marks only when blue is also on screen.
System Orange#ff9f0a--color-system-orangeWarnings and pending items — 'look at this', not 'this failed'.
System Red#ff453a--color-system-redDestructive and irreversible actions. Its presence implies a cost.

Typography

Georgia — Window titles and large headings. The serif is the only human touch in this dark UI; without it the page reads as a generic dashboard.
  • Substitute: 'New York', 'Times New Roman', serif
  • Weights: 400, 700
  • Sizes: 24, 32, 40
  • Line height: 1.15 (display), 1.25 (headings), 1.6 (body)
  • Letter spacing: -0.01em on display, 0.02em on uppercase labels
SF Pro Text — Body, controls and menus at desktop density — 11 to 17px, not web scale.
  • Substitute: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif
  • Weights: 400, 500, 600
  • Sizes: 11, 12, 13, 15, 17
  • Line height: 1.2 (display), 1.3 (headings), 1.5 (body)
  • Letter spacing: -0.01em on display, 0.02em on uppercase labels
SF Mono — Code blocks, paths and figures. Used for all monospaced content and nothing decorative.
  • Substitute: ui-monospace, SFMono-Regular, Menlo, monospace
  • Weights: 400, 500
  • Sizes: 12, 13
  • Line height: 1.4 (display), 1.4 (headings), 1.6 (body)
  • Letter spacing: 0 on display, 0.02em on uppercase labels
Type Scale
RoleFamilyWeightSizeLine HeightLetter SpacingToken
displayGeorgia70040px1.15-0.01em--text-display
headingGeorgia40032px1.25—--text-heading
subheadingSF Pro Text60017px1.3—--text-subheading
bodySF Pro Text40015px1.5—--text-body
body-smSF Pro Text40013px1.5—--text-body-sm
labelSF Pro Text50011px1.40.02em--text-label
codeSF Mono40013px1.6—--text-code

Spacing & Layout

Base unit: 4px Density: compact

Spacing Scale
NameValueToken
44px--spacing-4
88px--spacing-8
1212px--spacing-12
1616px--spacing-16
2424px--spacing-24
3232px--spacing-32
4848px--spacing-48
6464px--spacing-64
Border Radius
ElementValue
cards10px
buttons6px
inputs6px
panels14px
pills999px
  • Page max-width: 1280px
  • Section gap: 48px
  • Card padding: 16px
  • Element gap: 8px

Components

Vibrancy Sidebar

Role: Sidebar and overlay background

80%-opaque deep grey with a 40px backdrop blur and a single 1px white border at 10% on the right edge. 240px wide, 12px padding. Selected items take 18% system blue on a 6px radius; hover uses 8% white. No translation and no scaling.

  • States: hover: white 8%; selected: blue 18%
System Button

Role: Primary and toolbar buttons

System blue fill, white text, 6px radius, no border, 13px type at weight 500, 6px 14px padding. Hover brightens the fill by 8% and press dims it by 10%, over 200ms with color as the only animated property. Disabled uses a 12% white fill with text at 40%.

  • States: hover: +8% brightness; active: -10%; disabled: 12% white fill
List Row

Role: Settings, file and message rows

44px tall, 12px horizontal padding, 6px radius, no background. Rows separate with a 1px white line at 8%. Hover fills 6% white; selection fills 18% system blue. The leading icon is 16px and the trailing note is 13px at 60% white.

Segmented Control

Role: View switch and filters

The track is 6% white on an 8px radius, 28px tall; the selected segment fills light grey #3a3a3c on a 6px radius with an inset 0 1px 0 at 6% white. Type is 11px at weight 500. Switching animates color and position only, over 200ms.

Vibrancy Toolbar

Role: Window toolbar

52px tall, light grey #3a3a3c fill, a 1px white border at 10% along the bottom, no shadow. Three 12px traffic-light dots sit on the left, a 13px serif title is centred, and tool buttons sit on the right. The title is centred, not left-aligned.

Do's and Don'ts

Do
  • Use only three greys; hierarchy comes from luminance, not borders
  • Sidebars and overlays get vibrancy through 80% opacity plus deep blur
  • Every divider is a 1px white line at 8% to 12%
  • Serif for titles, system sans for body
  • Motion is 200ms and only changes color
  • Density follows the desktop: 44px rows, type between 11 and 17px
Don't
  • No border thicker than 1px
  • Never add translation or scale to a transition
  • No saturated light blobs as in glassmorphism; this is system material, not decoration
  • Never fill large areas with an accent color
  • Do not break desktop density with web-scale type
  • No panel radius above 14px

Surfaces

LevelNameValuePurpose
0Deepest#1c1c1e窗口底与侧边栏
1Mid#2c2c2e内容区与列表行
2Light Grey#3a3a3c工具栏与浮动面板
3Vibrancyrgba(28,28,30,0.8)配 backdrop-blur 的通透层

Elevation

  • Panel: 0 1px 0 rgba(255,255,255,0.08) inset, 0 20px 48px rgba(0,0,0,0.5)
  • Popover: 0 12px 32px rgba(0,0,0,0.55)

Imagery

App and window screenshots, with a light wallpaper behind them so vibrancy has something to pick up. Real interface density — grids and lists — is welcome. No illustration, cartoon icons or saturated photography.

Layout

Capped at 1280px with a fixed 240px sidebar beside the content column. Rows are 44px, sections 48px apart, padding 16px — noticeably denser than the web. The toolbar stays pinned; the content column scrolls on its own while the sidebar does not.

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: rgba(255,255,255,0.92)
  • background: #1c1c1e
  • panel: #2c2c2e
  • toolbar: #3a3a3c
  • accent: #0a84ff
  • border: rgba(255,255,255,0.10)

EXAMPLE COMPONENT PROMPTS:

  1. Build a macOS-style sidebar: 240px wide, background rgba(28,28,30,0.8), backdrop-filter blur(40px), and a 1px rgba(255,255,255,0.10) border on the right. Rows are 44px tall on a 6px radius with 12px padding; hover fills rgba(255,255,255,0.08) and selection fills rgba(10,132,255,0.18). Every transition is 200ms and animates color only.

Similar Brands

  • Linear — Shares the dark desktop register, though Linear allows translation and stronger glow
  • Apple — Same system material and serif titles, translated to the web

Quick Start


:root {
  /* Colors */
  --color-deepest: #1c1c1e;
  --color-mid: #2c2c2e;
  --color-light-grey: #3a3a3c;
  --color-system-blue: #0a84ff;
  --color-system-green: #30d158;
  --color-system-orange: #ff9f0a;
  --color-system-red: #ff453a;

  /* Typography — Font Families */
  --font-serif: 'Georgia', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: 'SF Pro Text', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'SF Mono', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Typography — Scale */
  --text-display: 40px;
  --leading-display: 1.15;
  --tracking-display: -0.01em;
  --text-heading: 32px;
  --leading-heading: 1.25;
  --text-subheading: 17px;
  --leading-subheading: 1.3;
  --text-body: 15px;
  --leading-body: 1.5;
  --text-body-sm: 13px;
  --leading-body-sm: 1.5;
  --text-label: 11px;
  --leading-label: 1.4;
  --tracking-label: 0.02em;
  --text-code: 13px;
  --leading-code: 1.6;

  /* Typography — Weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --spacing-unit: 4px;
  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-48: 48px;
  --spacing-64: 64px;

  /* Layout */
  --page-max-width: 1280px;
  --section-gap: 48px;
  --card-padding: 16px;
  --element-gap: 8px;
  --density: compact;

  /* Border Radius */
  --radius-cards: 10px;
  --radius-buttons: 6px;
  --radius-inputs: 6px;
  --radius-panels: 14px;
  --radius-pills: 999px;

  /* Surfaces */
  --surface-deepest: #1c1c1e;
  --surface-mid: #2c2c2e;
  --surface-light-grey: #3a3a3c;
  --surface-vibrancy: rgba(28,28,30,0.8);
}

Community

Ratings & Feedback

No ratings yet - be the firstSign in to rate

Loading comments…

Component Templates

Component Preview

Button

FAQ

macOS Vibrancy — Frequently Asked Questions

What is the macOS Vibrancy design style?
Native macOS dark vibrancy style. Multi-layer dark gray panels, system-level backdrop-blur, and extreme restraint create the calm, professional feel of a desktop application. Its core principle: macOS Vibrancy is the Web adaptation of Apple's desktop application design language.
What colors does macOS Vibrancy use?
macOS Vibrancy uses #3a3a3c as its primary color and #1c1c1e as its secondary color, with accent colors #0a84ff, #30d158, #ff9f0a, #ff453a. Every hex value can be copied from the palette on this page.
How do I apply macOS Vibrancy correctly?
Key practices: Use three-depth dark gray system: #1c1c1e (deepest) -> #2c2c2e -> #3a3a3c (lightest). Sidebar uses backdrop-blur-xl with bg-[#1c1c1e]/80 for vibrancy effect. All borders are 1px border-white/8 to border-white/12, never thicker.
What are common mistakes with macOS Vibrancy?
Avoid: No gradients on any element (backgrounds are solid dark grays). No glow effects, no box-shadow larger than 2px spread. No decorative animations (pulse, bounce, spin).
How do I prompt AI to generate macOS Vibrancy 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: macOS vibrancy, macOS design, frosted glass sidebar, backdrop blur.
Global Styles

Global CSS

css
/* macOS Vibrancy Global Styles */

:root {
  --mv-bg-deep: #1c1c1e;
  --mv-bg-mid: #2c2c2e;
  --mv-bg-surface: #3a3a3c;
  --mv-border: rgba(255, 255, 255, 0.08);
  --mv-text: rgba(255, 255, 255, 0.95);
  --mv-text-secondary: rgba(255, 255, 255, 0.7);
  --mv-text-muted: rgba(255, 255, 255, 0.4);
  --mv-accent: #0a84ff;
}

.mv-sidebar {
  background: rgba(28, 28, 30, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--mv-border);
}

.mv-panel {
  background: var(--mv-bg-mid);
  border: 1px solid var(--mv-border);
}
@keyframes macos-vibrancy-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes macos-vibrancy-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.macos-vibrancy-card {
  position: relative;
  overflow: hidden;
}

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

.macos-vibrancy-card:hover::before {
  opacity: 1;
}

.macos-vibrancy-gradient {
  background: linear-gradient(135deg, #3a3a3c, #0a84ff);
}

.macos-vibrancy-gradient-text {
  background: linear-gradient(135deg, #3a3a3c, #0a84ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

Related Styles

Related Styles

Explore these styles for ready-made tokens and components.

macOS Vibrancy and Asymmetric Grid 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.

AttributemacOS VibrancyAsymmetric Grid
Primary color#3a3a3c#0f0f0f
Secondary color#1c1c1e#ffffff
Best formacOS vibrancy / macOS design / frosted glass sidebarasymmetric grid / broken grid layout / asymmetrical layout
Unique tags—high-contrast
Design Philosophy

macOS Vibrancy is the Web adaptation of Apple's desktop application design language. Its core is restraint, not spectacle.