# Vitrum > Refractive glass UI components for React, drawn by one WebGL2 shader, one verb each: press (GlassButton), merge (GlassActionButton), travel (GlassTabs), flow (GlassBadge), drag (GlassSlideToConfirm), hold (GlassCard), share (GlassButtonGroup), slide (RangeSlider), flip (Switch), tick (Checkbox; these three need `three`), stretch (GlassSelect), open (GlassDropdownMenu). ## Rules for AI agents 1. Install `@vitrumui/react` (coming soon), import `@vitrumui/react/styles.css` once in your app entry, and import the documented components from `@vitrumui/react` or their subpaths. Never re-implement the WebGL2 glass shader or spring physics. 2. Customise only through the documented props and class names (`className`, `bg-*`, `text-*`, `--vt-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). Pick by the verb; they never overlap. RangeSlider, Switch and Checkbox require `three` as an optional peer dependency. For your own tabs markup (Radix Tabs), GlassLens ships with `@vitrumui/react`; for a router link, use ``. 4. Requirements: React 19. Import `@vitrumui/react/styles.css` in both Tailwind and non-Tailwind apps. ## Get started - [Introduction](/docs/introduction.md): Glass components for React, drawn by one WebGL2 shader. - [Installation](/docs/installation.md): Install `@vitrumui/react` (coming soon) and import components into your React app. - [For AI agents](/docs/ai.md): Machine-readable docs and a skill, so assistants use the real package APIs instead of re-implementing glass. ## Components - [GlassButton](/docs/button.md) (`@vitrumui/react/button`): A button made of glass. Clear glass bends the page behind it; tinted glass takes your background colour. - [GlassActionButton](/docs/action-button.md) (`@vitrumui/react/action-button`): 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](/docs/tabs.md) (`@vitrumui/react/tabs`): A segmented control whose selection travels as a glass lens. - [GlassBadge](/docs/badge.md) (`@vitrumui/react/badge`): A small glass badge with its text flowing through the lens. - [GlassSlideToConfirm](/docs/slide-to-confirm.md) (`@vitrumui/react/slide-to-confirm`): 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](/docs/card.md) (`@vitrumui/react/card`): 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](/docs/slider.md) (`@vitrumui/react/controls/range-slider`): A range slider with a glass thumb: a small pill at rest that opens into a wide lens while you hold it. - [Switch](/docs/switch.md) (`@vitrumui/react/controls/switch`): An on/off toggle whose knob swells into a clear lens while it crosses the track. - [Checkbox](/docs/checkbox.md) (`@vitrumui/react/controls/checkbox`): A checkbox under a cap of clear glass: the box and its mark are always seen through the lens. - [GlassSelect](/docs/select.md) (`@vitrumui/react/select`): 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](/docs/button-group.md) (`@vitrumui/react/button-group`): Related actions in one body of glass. The buttons share a single lens: point at any of them and the whole body swells. - [GlassDropdownMenu](/docs/dropdown-menu.md) (`@vitrumui/react/dropdown-menu`): 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. ## Licensing & Pricing - [Pricing](https://www.noddev.tech/docs/vitrum/pricing) (`/pricing`): Community ($0 non-commercial), Commercial Solo ($79, 1 seat), Team ($249, 5 seats). One-time purchase with 12 months of updates and perpetual fallback. - [License Agreement](https://www.noddev.tech/docs/vitrum/license) (`/license`): Full Vitrum License Agreement terms and seat definitions. - [Third-party notices](/third-party-notices.txt): Upstream MIT license notices. ## Optional - [Full documentation in one file](/llms-full.txt) - [Changelog](/changelog.md) - [Türkçe dokümantasyon](/tr/docs/introduction.md)