Glassmorphism
Frosted translucent cards (heavy background blur, faint white fill, hairline light border) floating over vivid colour blobs or photos.
Try it
Ground
gradient
Surface
rgba(255,255,255,.1)
Text
#ffffff
Accent
#f0abfc
- Type
- sans, on a dark ground
- Radius
- 20px
- Material
- backdrop-filter:blur(16px) saturate(180%); border:1px solid rgba(255,255,255,.25); box-shadow:0 8px 32px rgba(0,0,0,.25)
This screen uses only the look's tokens. Click, type and toggle it. The libraries below are what your agent installs to build the real thing.
What your agent builds it with
Component kits
shadcn/uiCopy-in React components on Tailwind, built on Base UI, Radix or React Aria, plus a registry CLI.the default component layer for a new React + Tailwind app or SaaS dashboard
the project is Vue, Svelte or Solid: use shadcn-vue, shadcn-svelte or Kobalte
Primitives
Base UIUnstyled, accessible React primitives from the Radix, Floating UI and MUI teams.building your own design system where every pixel is custom
you want styled components today: use shadcn-ui (Base UI flavour) or coss-ui
Motion
MotionThe default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations.dialogs, popovers and panels that must animate out before they unmount (AnimatePresence)
a hover colour change or a one-shot fade: a CSS transition costs zero bytes
Icons
LucideClean 24px stroke icons, one component per icon, the default set for shadcn/ui.app UI icons in a shadcn/ui or Base UI project (buttons, menus, sidebars)
brand or company logos: Lucide 1.x ships no brand icons, use simple-icons
Backgroundsalways
Paper ShadersZero-dependency WebGL shader backgrounds: mesh gradients, grain, dithering, liquid metal and more.hero background with a slow mesh or grain gradient behind headline text
you need a real 3D scene with camera and objects: use r3f
Glass
No library. This look does it in plain CSS.
The plan your agent reads
For “landing page with a signup form, a pricing table and toasts” in Glassmorphism: the plan tool's answer, word for word
look: Glassmorphism (glassmorphism, glass family)
framework: react (assumed; pass framework)
build with every line below: run its install (shadcn init works in any React + Tailwind app and adds only components.json, lib/utils.ts and theme tokens), build its part with it (usage under it), then adapt it to the rules below. A hand-written stand-in for a listed part (a <details> for an Accordion) is a miss
component-kit (its parts for this page) -> shadcn-ui: Copy-in React components on Tailwind, built on Base UI, Radix or React Aria, plus a registry CLI. (look's own kit) | npx shadcn@latest init -b base -p nova && npx shadcn@latest add button card badge table input label | else: mantine, boardui
motion (presses, gestures, menus and entrances) -> motion: The default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations. (look's pick) | npm i motion
feedback (toasts) -> sonner: progress of an async task the user can walk away from (toast.promise) | npm i sonner | else: react-hot-toast, ding
import { Toaster, toast } from 'sonner'
<Toaster position="bottom-right" />
<button onClick={() => toast('Invite sent', { action: { label: 'Undo', onClick: undoInvite } })}>Invite</button>
background (the Glassmorphism look needs it) -> paper-shaders: Zero-dependency WebGL shader backgrounds: mesh gradients, grain, dithering, liquid metal and more. (look's pick) | npm i @paper-design/shaders-react@0.0.82
import { MeshGradient } from '@paper-design/shaders-react'
const reduce = typeof window !== 'undefined' && matchMedia('(prefers-reduced-motion: reduce)').matches
<MeshGradient
colors={['#0a0a0a', '#1e1b4b', '#4c1d95', '#0a0a0a']}
distortion={0.8}
swirl={0.4}
speed={reduce ? 0 : 0.2}
style={{ position: 'absolute', inset: 0 }}
/>
icons (every icon on the page: one size and stroke, set once) -> lucide: Clean 24px stroke icons, one component per icon, the default set for shadcn/ui. (look's pick) | npm i lucide-react
import { LucideProvider, Search } from 'lucide-react'
<LucideProvider size={16} strokeWidth={1.5}>
<Search aria-hidden />
</LucideProvider>
done when: every package above is imported where its part is, and no listed part is hand-written
vs: Not liquid glass: a uniform frosted blur with no lensing, and it is used for content cards too. Not neumorphism: depth comes from transparency over colour, not shadows on a flat ground. Not aurora: the blobs only exist to be seen through the panels.
type: Medium to semibold grotesk or geometric sans (Inter, Manrope, Poppins); body 16px at weight 500 minimum, because thin strokes vanish on blur.
colour: Two or three saturated blurred blobs (magenta #c026d3, blue #2563eb, violet #7c3aed) on deep navy. Panels: rgba(255,255,255,.08-.16) fill, backdrop-filter: blur(12-20px) saturate(180%), 1px rgba(255,255,255,.25) border. On light backdrops use rgba(255,255,255,.6) with dark text. Raise the fill until text passes AA. The frost is plain CSS; a refraction library makes liquid glass, not this.
motion: Panels fade and rise 8-12px in 200-300ms ease-out; on hover the border brightens and the panel lifts 2px. Blobs drift on a 20-40s loop at most, paused offscreen and under reduced motion. Never animate the blur radius.
avoid: glass on a flat or white background (a grey box); more than two stacked glass layers; backdrop-filter over large scrolling areas on low-end mobile; fall back to a solid rgba fill; thin light text on blur
refs: name a real one first: the user's, else search Mobbin, Refero or Inspo (free) if connected, else CSS Glass css.glass, Hype4 glassmorphism generator hype4.academy or a DESIGN.md from styles.refero.design or devault.design, and say how to connect one (get references)
brief first: build every part it names before styling; the first screen shows the main content working, not an empty hero; at desktop width fill it (columns, a side panel), never a phone-width column in empty space
never, whatever the look: text under 4.5:1 contrast (on glass, over its lightest backdrop); a headline clipped or split mid-word at 390px; a font named, not loadedRules
- Type
- Medium to semibold grotesk or geometric sans (Inter, Manrope, Poppins); body 16px at weight 500 minimum, because thin strokes vanish on blur.
- Colour
- Two or three saturated blurred blobs (magenta #c026d3, blue #2563eb, violet #7c3aed) on deep navy. Panels: rgba(255,255,255,.08-.16) fill, backdrop-filter: blur(12-20px) saturate(180%), 1px rgba(255,255,255,.25) border. On light backdrops use rgba(255,255,255,.6) with dark text. Raise the fill until text passes AA. The frost is plain CSS; a refraction library makes liquid glass, not this.
- Motion
- Panels fade and rise 8-12px in 200-300ms ease-out; on hover the border brightens and the panel lifts 2px. Blobs drift on a 20-40s loop at most, paused offscreen and under reduced motion. Never animate the blur radius.
Goes wrong when
- glass on a flat or white background (a grey box)
- more than two stacked glass layers
- backdrop-filter over large scrolling areas on low-end mobile; fall back to a solid rgba fill
- thin light text on blur
Not to be confused with
- Liquid Glassa uniform frosted blur with no lensing, and it is used for content cards too.
- Neumorphismdepth comes from transparency over colour, not shadows on a flat ground.
- Aurorathe blobs only exist to be seen through the panels.
Also in Glass
Brief words that land here
glassmorphism · glass morphism · frosted · frosted glass · glass card · backdrop blur




