Skip to content

Glass that bends the page.

React components drawn by one WebGL2 shader.

The components. Each one does a single thing the others don't. Nothing repeats, so picking one takes a second.

Built to stay out of your way

Fig 0.1

UI SDK

for behaviour

Keyboard, focus, forms and ARIA come from UI SDK. The glass is plain TypeScript files in your repo.

Fig 0.2

1

WebGL2 context

One renderer draws every glass surface on the page, and it stops completely when nothing moves.

Fig 0.3

CSS

when it can't

Without WebGL2, or with reduced motion, every component keeps a plain CSS look. Never a blank box.

Install in one command

The shadcn CLI copies the exact files into components/liquid-glass/. Then use them like any component.

npx shadcn@latest add https://onemorethink.dev/r/liquid-glass.json

Working with an AI agent? Point it at llms.txt or install the skill. For AI agents

toolbar.tsx
import { GlassButton, GlassTabs } from '@/components/liquid-glass'

<GlassTabs
  aria-label="View"
  value={view}
  onValueChange={setView}
  options={[
    { value: 'week', label: 'Week' },
    { value: 'month', label: 'Month' },
  ]}
/>
<GlassButton material="tinted" className="bg-sky-500 text-white">
  Save
</GlassButton>