# Introduction

> Glass components for React. Copy a file, get exactly what the demo shows.

Liquid Glass UI is a set of React components drawn by one WebGL2 glass shader. Each does one thing the others don't. There is no npm package: you copy the files into your project, and they are yours.

01. **Press** — [GlassButton](https://onemorethink.dev/docs/button): Swells under the pointer, bends the page behind it.
02. **Merge** — [GlassActionButton](https://onemorethink.dev/docs/action-button): The arrow is a droplet: press it and it melts in for good.
03. **Travel** — [GlassTabs](https://onemorethink.dev/docs/tabs): The selection travels as a lens that magnifies what it passes.
04. **Flow** — [GlassBadge](https://onemorethink.dev/docs/badge): Text flows through the glass; the rim bends each letter.
05. **Drag** — [GlassSlideToConfirm](https://onemorethink.dev/docs/slide-to-confirm): Drag the glass thumb to the end to confirm.
06. **Hold** — [GlassCard](https://onemorethink.dev/docs/card): Holds your content; its rim bends what slides behind.
07. **Slide** — [RangeSlider](https://onemorethink.dev/docs/slider): The thumb opens into a wide lens that bends the track and stretches as it moves.
08. **Flip** — [Switch](https://onemorethink.dev/docs/switch): The knob swells into clear glass as it crosses, then settles white.
09. **Tick** — [Checkbox](https://onemorethink.dev/docs/checkbox): Always glass: the mark draws itself beneath a clear cap that swells when pressed.
10. **Stretch** — [GlassSelect](https://onemorethink.dev/docs/select): The list and its button are one liquid: a neck stretches between them, thins and snaps.
11. **Share** — [GlassButtonGroup](https://onemorethink.dev/docs/button-group): Several buttons, one body of glass.
12. **Open** — [GlassDropdownMenu](https://onemorethink.dev/docs/dropdown-menu): Actions pour out of the control that opens them, a whole button group included.
13. **Unfold** — [GlassPopover](https://onemorethink.dev/docs/popover): The button unfolds into a small surface, right where it is.
14. **Grow** — [GlassMenu](https://onemorethink.dev/docs/menu): The button's glass grows into a full menu, on whichever side the menu lies.

## How it works

- **One engine.** One WebGL2 context for the whole page, in plain TypeScript files. Where a component needs behaviour (keyboard, focus, forms, ARIA), it comes from UI SDK.
- **Your DOM.** The glass is a canvas behind your own elements, so any router, any styling and your own markup keep working.
- **Free at rest.** The render loop runs only while a spring moves and stops completely when nothing does.

## Browser support

The glass needs WebGL2, which current desktop and mobile browsers have. Without it, or before the first frame, every component keeps its plain CSS look: never a blank box. With reduced motion the springs stand still and the badge text stops.

## The one rule

Copy the files verbatim. The look lives in the exact shader constants and spring values. Customise through props and class names, never by editing the engine.

Source: https://onemorethink.dev/docs/introduction
