macOS Tahoe dark cobalt and indigo wave

Liquid glass for the web.

Add real glass to any button, card, or navbar in two lines of code. Glascii compiles to plain SVG and CSS for any framework or browser.

Read the blog
Live DOM output

    

Components

Get started

npm i glascii
Or paste to your coding agent

Install glascii (npm i glascii) and add a Clear liquid glass surface to my navigation bar.

Chrome & Edge 5-tap SVG refraction
Safari Zero-DOM specular bevel
Firefox Backdrop blur & bevel
Panel.tsx
import { Glass } from 'glascii'

export function Panel({ children }) {
  return (
    <Glass
      refraction={0.9}
      depth={28}
      dispersion={0.7}
      frost={2}
    >
      {children}
    </Glass>
  )
}

Props

macOS Tahoe light cyan and sunlit cream wave
Drag lens
1.00
30 px
0.95
0
-45°
0.90
0.00

Compiling Liquid Glass to SVG and CSS — Read the post