R 8R 12
4
896 × 54
ComposeUI
ComponentsChartsBlocksDocs

Let's have coffee?

R 16
Subham avatar
Want to work together? Just want to chat?
Subham avatar
Check out my portfolio: subham12r.dev
Subham avatar
Or grab 15 mins on my calendar:
Coffee chat
Portfoliosubham12r.dev
Mail
hello@subham12r.dev
Socials
X / Twitter·GitHub·LinkedIn
Explore
Components·Charts·Blocks·Docs

Designed and built by Subham

ComposeUIComposeUI
© 2026 ComposeUI·React + Tailwind v4
Himalayan monastery backdrop
Drag optical tile
IOR 1.52

Liquid Glass

Fill
Stroke
Color

Liquid Glass

SurfaceNew

Apple-inspired optical liquid glass primitive with Snell's law edge refraction, chromatic rim dispersion, and specular bevels for pills, buttons, and docks.

"use client"; import {  LiquidGlass,  LiquidGlassButton,  LiquidGlassPill,} from "@/components/ui/liquid-glass"; export function LiquidControls() {  return (    <div className="flex flex-wrap items-center gap-3">      <LiquidGlassPill>IOR 1.52</LiquidGlassPill>      <LiquidGlassButton size="md">Get Started</LiquidGlassButton>      <LiquidGlass radius={16} className="px-4 py-2 text-xs text-white">        Refractive Card      </LiquidGlass>    </div>  );}

Install

Add it with the ComposeUI CLI, or copy the source manually.

$ bunx --bun compose-ui-cli add liquid-glass

API Reference

Prop
Type
Default
radius
number | "full"

Corner radius in pixels or pill capsule geometry used for the SDF bevel map.

"full"
bevel
number

Rim width in pixels along which Snell's law optical bending occurs.

14
refraction
number

Intensity multiplier applied to the displacement scale.

1
dispersion
number

RGB chromatic wavelength separation along the glass bevel.

0.14
frost
number

Backdrop blur radius in pixels paired with 185% color saturation.

3
tint
string

Optional accent hex color blended subtly through the glass body.

—

Related components

#
R 12
ComposeUI Kitv4.3
86 componentsSVG + WebGL2
@subham12r1,942 commits
52-week streak active
Live Insights+24.8%
Cookie-free · 30d window
Gooey Hover
R 12
@subham12r883 contributions
Hover squares to inspect daily commits
LessMore
GitHub Heatmap
R 12

Insights

Nov 2 – Dec 1
Visitors42%

2,449

Views38%

8,698

Today

81

Top page

/components

Dec 1

81 visitors · 234 views

Insights Block

Updated December 2026

R 12
Previous

Trace

R 12
Next

Gooey Hover