About
A pill-shaped glass button with primary, secondary, quiet and danger variants that catches a pointer-tracked light highlight, from the OpenGlass UI liquid-glass design system.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Liquid Glass Button to your project and fits it to your theme.
Code
How Liquid Glass Button is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import Button from "@/components/ui/segmented-control";
export default function ButtonDemo() {
return (
<div
data-ogui-design="liquid"
className="flex h-screen w-full flex-wrap items-center justify-center gap-4 p-10"
style={{ background: "linear-gradient(160deg, #1b1f2a, #0a0c10)" }}
>
<Button variant="primary">Create project</Button>
<Button variant="secondary">Secondary</Button>
<Button variant="quiet">Quiet</Button>
<Button variant="danger">Delete</Button>
</div>
);
}








