Liquid Glass
Apple's 2025 material: clear glass controls that lens and reflect the content beneath, floating on their own layer above it.
Try it
Ground
gradient
Surface
rgba(255,255,255,.12)
Text
#ffffff
Accent
#0a84ff
- Type
- sans, on a dark ground
- Radius
- 28px
- Material
- backdrop-filter:blur(3px) saturate(180%); border:1px solid rgba(255,255,255,.45); box-shadow:inset 0 1px 0 rgba(255,255,255,.6),inset 0 -1px 0 rgba(255,255,255,.15),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
Glassalways
GlisseA faithful web implementation of Apple's Liquid Glass: refracting buttons, switches, tab bars and menus.an iOS 26-style floating tab bar or toolbar over photos or video
glass over flat or white backgrounds: there is nothing to refract, it just looks grey; use solid surfaces
The plan your agent reads
For “landing page with a signup form, a pricing table and toasts” in Liquid Glass: the plan tool's answer, word for word
look: Liquid Glass (liquid-glass, 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>
glass (the Liquid Glass look needs it) -> liquid-glass-react: A single <LiquidGlass> wrapper that adds refraction, chromatic aberration and elastic hover to any content. (look's pick) | npm i liquid-glass-react | else: glisse
import LiquidGlass from 'liquid-glass-react'
<LiquidGlass displacementScale={64} blurAmount={0.1} cornerRadius={24} padding="16px 24px">
<span className="text-white">Get started</span>
</LiquidGlass>
background (the Liquid Glass 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 glassmorphism: glass bends what is behind it and has bright specular edges, instead of a uniform frosted blur. Not spatial: flat screens, with glass only on bars and controls, never on content.
type: system-ui (SF Pro) on Apple platforms, Inter elsewhere. Labels on glass 15-17px semibold, tab bar labels 10-11px medium; never light weights on glass. Icons sized to the label's cap height.
colour: Glass has no colour of its own; colour comes from the photos, video or gradient behind it. Regular glass wherever there is text; clear glass only over media, with a 35% black dim layer if the media is bright. Tint glass only for the one primary action (#0a84ff). Text and icons on glass are white or near-black by backdrop brightness, never accent-coloured.
motion: On press glass scales up about 1.05 and its highlight brightens, then springs back ({ type: 'spring', duration: 0.4, bounce: 0.2 }). Nearby glass shapes merge and split like droplets; tab bars shrink on scroll down and return on scroll up. Content fades under bars at the scroll edge, no hard line.
avoid: glass in the content layer (cards, list rows, article bodies); glass on glass: controls on a glass bar use plain fills; a heavy uniform blur, which turns it into glassmorphism; glass over flat white or black, where there is nothing to refract; accent-coloured text or links on glass
refs: name a real one first: the user's, else search Mobbin, Refero or Inspo (free) if connected, else Apple: new software design apple.com, HIG Materials developer.apple.com 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
- system-ui (SF Pro) on Apple platforms, Inter elsewhere. Labels on glass 15-17px semibold, tab bar labels 10-11px medium; never light weights on glass. Icons sized to the label's cap height.
- Colour
- Glass has no colour of its own; colour comes from the photos, video or gradient behind it. Regular glass wherever there is text; clear glass only over media, with a 35% black dim layer if the media is bright. Tint glass only for the one primary action (#0a84ff). Text and icons on glass are white or near-black by backdrop brightness, never accent-coloured.
- Motion
- On press glass scales up about 1.05 and its highlight brightens, then springs back ({ type: 'spring', duration: 0.4, bounce: 0.2 }). Nearby glass shapes merge and split like droplets; tab bars shrink on scroll down and return on scroll up. Content fades under bars at the scroll edge, no hard line.
Goes wrong when
- glass in the content layer (cards, list rows, article bodies)
- glass on glass: controls on a glass bar use plain fills
- a heavy uniform blur, which turns it into glassmorphism
- glass over flat white or black, where there is nothing to refract
- accent-coloured text or links on glass
Not to be confused with
- Glassmorphismglass bends what is behind it and has bright specular edges, instead of a uniform frosted blur.
- Spatial (visionOS)flat screens, with glass only on bars and controls, never on content.
Also in Glass
Brief words that land here
liquid glass · refraction · refractive · lensing · glass tab bar · glass toolbar





