Vibary.ai
← All UI styles

Glassmorphic

Frosted panels floating over a colored field, edged with a single bright hairline.

FrostedexpressiveMedia playersOverlays and widgetsShowcase screens

Construction · Frosted

Panels are frosted rather than clear: a soft blur, a milky translucency, and a single pale hairline instead of a lit edge.

Every style renders this same screen, so the only thing changing between two of them is the style. The component above is the file below, running.

Prompt

Design this interface in the Glassmorphic style. Panels are frosted glass over a saturated gradient field: heavy backdrop blur, a bright hairline along the edge, and nothing fully opaque.

Build every surface the

The numbers in this prompt are printed from the tokens below, so it cannot drift from what the specimen renders.

What carries the look

  • frosted backdrop blur
  • bright edge hairline
  • saturated gradient field
  • nothing fully opaque

What this style refuses

  • flat opaque cards
  • hard black outlines
  • square corners
  • grey backgrounds

The refusals are the half that keeps generated interfaces from converging — a prompt that only says what to add gets the default look.

Tokens

Palette

RoleLightDark
Background#e9e4ff#0e0b1e
Surface#f6f4ff#191333
Border#c9bfff#332a5c
Text#1b1633#efecff
Muted text#544d78#a49bd1
Accent#5b3df5#a78bfa
On accent#ffffff#150a34

Shape and type

Radius10 / 16 / 24 px
Border1px solid
Shadowsoft
Displaysystem-ui
Bodysystem-ui
Monoui-monospace
Type scale11 · 12 · 14 · 16 · 21 · 30 px
Weights400 / 600 / 700
Line height1.45
Tracking0em
Spacing4px grid · regular
Surfacegradient
Accentfilled
Separatorhairline
Labelssentence case
Blur22px

Measured contrast — body 14.06:1 light, 16.69:1 dark; secondary text 6.28:1 and 7.54:1. Every pair clears WCAG AA in both themes, checked on each build.

Specimen · Specimen.tsx

import type { CSSProperties } from "react";

/**
 * Vibary · Glassmorphic
 *
 * Frosted panels floating over a colored field, edged with a single bright hairline.
 *
 * One complete product screen, rendered from the token object below —

Nearby styles