# Vitrum > Refractive glass UI components, Custom Glass SDK (`useGlass()`, ``), Theming System (``, `createGlassTheme()`, 5 presets: frost, obsidian, aurora, amber, crystal), and CLI (`@vitrumui/cli`: `init`, `activate`, `doctor`) for React 19. Components, 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), unfold (GlassPopover), grow (GlassMenu). ## Rules for AI agents 1. Run `npx @vitrumui/cli init` (or install `@vitrumui/react`), 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 through documented props, `` / `createGlassTheme()` (`@vitrumui/react/theme`), class names (`className`, `bg-*`, `text-*`), and CSS variables (`--vitrum-*`, `--vt-tint`). 3. For custom glass elements (floating navbars, docks, custom cards, modals), use `useGlass()` or `` from `@vitrumui/react/surface`. 4. 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), GlassMenu (grow). 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 ``. 5. Requirements: React 19. Import `@vitrumui/react/styles.css` in both Tailwind and non-Tailwind apps. Use `npx @vitrumui/cli doctor` to audit setup and `npx @vitrumui/cli activate ` for offline license activation. ## Get started - [Introduction](/docs/introduction.md): Glass components for React, drawn by one WebGL2 shader. - [Installation](/docs/installation.md): Install `@vitrumui/react` or run `npx @vitrumui/cli init` to set up Vitrum in 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. - [useGlass / GlassSurface](/docs/custom-glass.md): Give any custom component — cards, navbars, floating docks, or modals — Vitrum's real-time WebGL2 refraction with `useGlass()` and ``. - [VitrumProvider / createGlassTheme](/docs/theming.md): Adapt every Vitrum component and custom `` to your brand with ``, 5 curated glass presets, `createGlassTheme()`, and `--vitrum-*` CSS variables. - [@vitrumui/cli](/docs/cli.md): Set up Vitrum in one command, activate commercial license keys offline, and audit your project with `npx @vitrumui/cli`. ## 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. - [GlassPopover](/docs/popover.md) (`@vitrumui/react/popover`): A small refractive glass surface that unfolds straight out of its trigger button, holding quick controls, pickers or short details without leaving the page. - [GlassMenu](/docs/menu.md) (`@vitrumui/react/menu`): A directional refractive glass menu whose container grows out of its trigger on any side — top, right, bottom or left — with labels, icons, shortcuts and keyboard navigation. ## 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)