# Liquid Glass UI > Glass React components drawn by one WebGL2 shader, with behaviour from UI SDK (`@ui-sdk/core`, `@ui-sdk/react`) where a component needs it, one verb each: press (GlassButton), merge (GlassActionButton), travel (GlassTabs), flow (GlassBadge), drag (GlassSlideToConfirm), hold (GlassCard), slide (RangeSlider), flip (Switch), tick (Checkbox; these three need `three`), stretch (GlassSelect; needs `@ui-sdk/core` and `@ui-sdk/react`). Copy-paste components (shadcn registry), MIT. ## Rules for AI agents 1. Install with the shadcn CLI command shown on each page, or copy the files from https://github.com/bilalgursen/liquid-glass/tree/main/src/components/liquid-glass verbatim. Never re-implement, port or "simplify" the engine or shader: the look depends on its exact constants. 2. Customise only through the documented props and class names (`className`, `bg-*`, `text-*`, `--glass-tint`). 3. The components, one verb each: GlassButton (press), GlassActionButton (merge), GlassTabs (travel), GlassBadge (flow), GlassSlideToConfirm (drag), GlassCard (hold), GlassButtonGroup (share), RangeSlider (slide), Switch (flip), Checkbox (tick), GlassSelect (stretch), GlassDropdownMenu (open), GlassPopover (unfold). Pick by the verb; they never overlap. GlassButton, GlassTabs, GlassSelect, GlassDropdownMenu, GlassPopover, RangeSlider, Switch and Checkbox take their behaviour from UI SDK and need `@ui-sdk/core` and `@ui-sdk/react`; RangeSlider, Switch and Checkbox (imported from `controls/`) also need `three`; GlassSelect, GlassDropdownMenu and GlassPopover are imported from `glass-select`, `glass-dropdown-menu` and `glass-popover`. The rest have zero npm dependencies. They all wrap your own DOM. GlassActionButton's arrow is a gooey droplet that floats apart and melts into the body when pressed; GlassSelect's list stretches out of its button on a gooey neck, and GlassPopup (ships with it) puts that on your own menu or popover. For your own tabs markup (Radix Tabs), GlassLens ships with GlassTabs; for a router link, use ``. 4. Requirements: React 19, Tailwind CSS v4, an `@/` alias to the source folder. ## Get started - [Introduction](https://onemorethink.dev/docs/introduction.md): Glass components for React. Copy a file, get exactly what the demo shows. - [Installation](https://onemorethink.dev/docs/installation.md): Add components with the shadcn CLI, or copy the folder by hand. - [For AI agents](https://onemorethink.dev/docs/ai.md): Machine-readable docs and a skill, so assistants install the real components instead of re-inventing them. ## Components - [GlassButton](https://onemorethink.dev/docs/button.md): A button made of glass. Clear glass bends the page behind it; tinted glass takes your background colour. - [GlassActionButton](https://onemorethink.dev/docs/action-button.md): A button for one async action. Its arrow floats apart as a glass droplet; press it and the droplet melts into the body, and stays. - [GlassTabs](https://onemorethink.dev/docs/tabs.md): A segmented control whose selection travels as a glass lens. - [GlassBadge](https://onemorethink.dev/docs/badge.md): A small glass badge with its text flowing through the lens. - [GlassSlideToConfirm](https://onemorethink.dev/docs/slide-to-confirm.md): A slide-to-confirm track. Drag its glass thumb to the end to run one deliberate action; let go early and it springs back. - [GlassCard](https://onemorethink.dev/docs/card.md): A card made of frosted glass. Your content sits on it; its face blurs and tints whatever lies behind so the text stays readable, and its rim pulls it towards the centre. - [RangeSlider](https://onemorethink.dev/docs/slider.md): A range slider with a glass thumb: a small pill at rest that opens into a wide lens while you hold it. - [Switch](https://onemorethink.dev/docs/switch.md): An on/off toggle whose knob swells into a clear lens while it crosses the track. - [Checkbox](https://onemorethink.dev/docs/checkbox.md): A checkbox under a cap of clear glass: the box and its mark are always seen through the lens. - [GlassSelect](https://onemorethink.dev/docs/select.md): A select whose list swells out of its button as one body of glass, holds on by a neck that stretches and snaps, and closes by the same motion played backwards. - [GlassButtonGroup](https://onemorethink.dev/docs/button-group.md): Related actions in one body of glass. The buttons share a single lens: point at any of them and the whole body swells. - [GlassDropdownMenu](https://onemorethink.dev/docs/dropdown-menu.md): A menu of actions that swells out of the control that opens it as one body of glass: a button of its own, or a whole Button Group. - [GlassPopover](https://onemorethink.dev/docs/popover.md): A small surface its button unfolds into, right where the button is: the button lets go of its label, its glass grows over it into the popover and settles, and closing folds it back. - [GlassMenu](https://onemorethink.dev/docs/menu.md): A menu its button grows into: the button's own glass pours towards where the menu lies, below, above or beside it, and runs the same way back. With submenus, checkbox and radio items, groups and shortcuts. ## Optional - [Full documentation in one file](https://onemorethink.dev/llms-full.txt) - [Changelog](https://onemorethink.dev/changelog.md) - [Türkçe dokümantasyon](https://onemorethink.dev/tr/docs/introduction.md) - [Source code](https://github.com/bilalgursen/liquid-glass)