# Ombelle UI > Ombelle UI is a catalog of accessible React components and blocks. A CLI installs reviewed source into the developer's project, themed by a preset code (`ps_…@1`) from the preset editor. Install command: `npx @ombelle-ui/cli@1.1.2`. Install the Ombelle agent skills: `npx skills add whritou/ombelle-ui` ## Install rules 1. Run the published CLI with `npx @ombelle-ui/cli@1.1.2` (or the project's `pnpm dlx`, `yarn dlx --quiet` or `bunx` equivalent). Never run `shadcn add` and never hand-copy component source. 2. Initialize with the preset code the developer gives you (`init --preset ps_…@1`), or with a preset JSON file they give you. 3. If the developer gave no preset code or file, ask for one and point them to the preset editor at https://ombelle-ui.com/editor/preset. Never write preset JSON yourself. 4. Run every command that writes files with `--dry-run --json` first, and show the developer the planned changes. 5. Rerun the same command with `--yes` only when the dry run's `status` is `planned` (exit code 0) and no warning has `resolutions`. Agents have no TTY, so `--yes` is required. 6. On `FILE_CONFLICT`, or any warning with `resolutions`, stop and ask the developer. Offer `--beside ` (component files only) or `--overwrite `, and never choose either yourself. 7. When the dry run's `status` is `error`, read `error.code`, `error.message` and `error.nextAction`. On `UNSUPPORTED_PROJECT` or `UNSUPPORTED_RELEASE`, explain the message and its next action to the developer. Do not work around it. 8. Finish with `doctor --json` and report its result. 9. Liquid glass is labelled `Accessibility not guaranteed` because its contrast depends on the backdrop. Say so whenever you offer it. ## Guides - [Getting started](https://ombelle-ui.com/docs/getting-started.md): Install your first components in a Vite or Next.js app. - [Installation and CLI](https://ombelle-ui.com/docs/installation.md): Commands, package managers, editions, and safe updates. - [Style families](https://ombelle-ui.com/docs/style-families.md): Choose a visual family and understand Liquid Glass. - [Global presets](https://ombelle-ui.com/docs/presets.md): Understand project defaults, tokens, and component scope. - [Preset editor](https://ombelle-ui.com/docs/preset-editor.md): Create, preview, check, and export a project theme. - [Component editor and recipes](https://ombelle-ui.com/docs/component-editor.md): Customize any catalog component and install its scoped recipe. - [Exports and sharing](https://ombelle-ui.com/docs/exports-and-sharing.md): Use local JSON, generated source, and immutable public codes. - [Troubleshooting](https://ombelle-ui.com/docs/troubleshooting.md): Resolve installation conflicts, draft recovery, and preview problems. - [Using Ombelle with AI agents](https://ombelle-ui.com/docs/agents.md): Rules, docs and skills that help coding agents install Ombelle safely. ## Components - [Accordion](https://ombelle-ui.com/components/accordion.md): Stacked headings that each show or hide a section of content. Accessibility not guaranteed - [Alert](https://ombelle-ui.com/components/alert.md): A status or error message with an optional icon, title and description. Accessibility not guaranteed - [Alert Dialog](https://ombelle-ui.com/components/alert-dialog.md): Requests a deliberate response before a destructive or important action. Accessibility not guaranteed - [Aspect Ratio](https://ombelle-ui.com/components/aspect-ratio.md): Keeps a preview, video or image at a fixed ratio while its width follows the layout. Accessibility not guaranteed - [Avatar](https://ombelle-ui.com/components/avatar.md): A person's image with initials as a fallback, a presence dot and overlapping groups. Accessibility not guaranteed - [Badge](https://ombelle-ui.com/components/badge.md): Shows a short status or category as a native span. Accessibility not guaranteed - [Breadcrumb](https://ombelle-ui.com/components/breadcrumb.md): Shows a page’s place in a hierarchy of links. Accessibility not guaranteed - [Button](https://ombelle-ui.com/components/button.md): Triggers an action, or renders a link that looks like a button. Accessibility not guaranteed - [Button Group](https://ombelle-ui.com/components/button-group.md): Joins related buttons and inputs into one control. Accessibility not guaranteed - [Calendar](https://ombelle-ui.com/components/calendar.md): A month grid for a date or a range, and a Date Picker that opens it from a button. Accessibility not guaranteed - [Card](https://ombelle-ui.com/components/card.md): Groups related content with a header, body and footer. Accessibility not guaranteed - [Carousel](https://ombelle-ui.com/components/carousel.md): Slides that snap as they scroll, with previous and next buttons, one dot per slide and a counter. It never autoplays. Accessibility not guaranteed - [Checkbox](https://ombelle-ui.com/components/checkbox.md): A Radix checkbox with checked, unchecked and mixed states. Accessibility not guaranteed - [Chip](https://ombelle-ui.com/components/chip.md): Pressable filter chips and removable tokens. Accessibility not guaranteed - [Code Block](https://ombelle-ui.com/components/code-block.md): Read-only code with a title, line numbers, highlighting and Copy, or a command with one tab per package manager. Accessibility not guaranteed - [Collapsible](https://ombelle-ui.com/components/collapsible.md): A trigger that shows or hides one region of content. Accessibility not guaranteed - [Color Picker](https://ombelle-ui.com/components/color-picker.md): A colour field with a popover: area, hue, formats, eyedropper, swatches and contrast. Accessibility not guaranteed - [Combobox](https://ombelle-ui.com/components/combobox.md): A text field that filters a list of options, with an optional create row and chips for several values. Accessibility not guaranteed - [Command](https://ombelle-ui.com/components/command.md): A keyboard-first command menu, inline or in a dialog. Accessibility not guaranteed - [Context Menu](https://ombelle-ui.com/components/context-menu.md): A menu that opens at the pointer on right-click, or with Shift+F10. Accessibility not guaranteed - [Data Table](https://ombelle-ui.com/components/data-table.md): A table with sorting, a text filter, faceted filters, row selection, column visibility, row actions and pages, drawn like Table. Accessibility not guaranteed - [Dialog](https://ombelle-ui.com/components/dialog.md): A modal window that traps focus and returns it when closed. Accessibility not guaranteed - [Dropdown Menu](https://ombelle-ui.com/components/dropdown-menu.md): A menu of actions opened from a trigger, with submenus, checkbox and radio items. Accessibility not guaranteed - [Empty State](https://ombelle-ui.com/components/empty.md): A consistent zero-data screen with a title, description and actions. Accessibility not guaranteed - [Field](https://ombelle-ui.com/components/field.md): Wires a label, hint and error to one control. Accessibility not guaranteed - [Hover Card](https://ombelle-ui.com/components/hover-card.md): A preview card for a link, shown on hover and keyboard focus. Accessibility not guaranteed - [Input](https://ombelle-ui.com/components/input.md): A native text input with invalid and disabled styling. Accessibility not guaranteed - [Input Group](https://ombelle-ui.com/components/input-group.md): Combines a native input or textarea with text, icons and action buttons. Accessibility not guaranteed - [Input OTP](https://ombelle-ui.com/components/input-otp.md): A one-time code in separate slots; pasting a code fills them all. Accessibility not guaranteed - [Item](https://ombelle-ui.com/components/item.md): A row with media, a title, a description and actions. Accessibility not guaranteed - [Kbd](https://ombelle-ui.com/components/kbd.md): Keyboard keys and shortcuts in text. Accessibility not guaranteed - [Label](https://ombelle-ui.com/components/label.md): Names a form control with a native label element. Accessibility not guaranteed - [Menubar](https://ombelle-ui.com/components/menubar.md): A row of menus such as File, Edit and View, with one Tab stop, arrow keys between menus, checkbox and radio items, submenus and shortcut hints. Accessibility not guaranteed - [Meter](https://ombelle-ui.com/components/meter.md): A measurement within a known range, such as a quota, in cells or labelled parts. Accessibility not guaranteed - [Native Select](https://ombelle-ui.com/components/native-select.md): Styles the browser's own select control. Accessibility not guaranteed - [Navigation Menu](https://ombelle-ui.com/components/navigation-menu.md): A website header: links and triggers whose panels open on hover or click, with arrow keys between items and Escape to close. Accessibility not guaranteed - [Number Input](https://ombelle-ui.com/components/number-input.md): A number field with steppers, an optional unit and keyboard stepping. Accessibility not guaranteed - [Pagination](https://ombelle-ui.com/components/pagination.md): Links between pages of results with active and disabled states. Accessibility not guaranteed - [Password Field](https://ombelle-ui.com/components/password-field.md): A password input with a show toggle that keeps the caret, a Caps Lock notice and an optional strength meter. Accessibility not guaranteed - [Popover](https://ombelle-ui.com/components/popover.md): A non-modal panel anchored to a trigger, for short forms and details. Accessibility not guaranteed - [Progress](https://ombelle-ui.com/components/progress.md): Shows how far a task has got, or that it is running when the amount is unknown. Accessibility not guaranteed - [Prose](https://ombelle-ui.com/components/prose.md): Styles the headings, paragraphs, lists, quotes, code and tables written inside it, for guides and articles. Accessibility not guaranteed - [Radio Group](https://ombelle-ui.com/components/radio-group.md): Picks one option from a set, as plain radios or selectable option rows. Accessibility not guaranteed - [Resizable](https://ombelle-ui.com/components/resizable.md): Panels side by side or stacked, with handles a pointer drags and the arrow keys move; a layout can be remembered and a panel can fold to a strip. Accessibility not guaranteed - [Scroll Area](https://ombelle-ui.com/components/scroll-area.md): A region with styled scrollbars that scrolls with the keyboard when its content overflows. Accessibility not guaranteed - [Select](https://ombelle-ui.com/components/select.md): A custom listbox for choosing one value, with typeahead and keyboard navigation. Accessibility not guaranteed - [Separator](https://ombelle-ui.com/components/separator.md): A horizontal or vertical rule, optionally with a centred label. Accessibility not guaranteed - [Sheet](https://ombelle-ui.com/components/sheet.md): A modal side panel for navigation, filters and project details. Accessibility not guaranteed - [Sidebar](https://ombelle-ui.com/components/sidebar.md): An app or docs sidebar that collapses to icons or slides away on desktop, opens as a sheet on phones and toggles with Ctrl or Cmd + B. Accessibility not guaranteed - [Skeleton](https://ombelle-ui.com/components/skeleton.md): A decorative placeholder shaped like the content that is loading. Accessibility not guaranteed - [Slider](https://ombelle-ui.com/components/slider.md): A value or a range chosen along a track, with optional ticks. Accessibility not guaranteed - [Spinner](https://ombelle-ui.com/components/spinner.md): A busy indicator announced as a status. Accessibility not guaranteed - [Stepper](https://ombelle-ui.com/components/stepper.md): Ordered steps with done, current and upcoming states. Accessibility not guaranteed - [Switch](https://ombelle-ui.com/components/switch.md): A Radix switch for on/off settings. Accessibility not guaranteed - [Table](https://ombelle-ui.com/components/table.md): A native data table with header, footer, caption, numeric columns and selected rows. Accessibility not guaranteed - [Tabs](https://ombelle-ui.com/components/tabs.md): Radix tabs for switching between related panels. Accessibility not guaranteed - [Tag Input](https://ombelle-ui.com/components/tag-input.md): A field of removable tags: Enter or comma adds one, Backspace removes the last. Accessibility not guaranteed - [Textarea](https://ombelle-ui.com/components/textarea.md): A native multi-line text control. Accessibility not guaranteed - [Toast](https://ombelle-ui.com/components/toast.md): Transient feedback with optional actions, pausing and keyboard dismissal. Accessibility not guaranteed - [Toggle](https://ombelle-ui.com/components/toggle.md): A two-state button that stays pressed until it is pressed again. Accessibility not guaranteed - [Toggle Group](https://ombelle-ui.com/components/toggle-group.md): A segmented single choice or a toolbar of pressed buttons, with one Tab stop. Accessibility not guaranteed - [Toolbar](https://ombelle-ui.com/components/toolbar.md): One Tab stop for a row of buttons, links and toggles; arrow keys move between them, and items that do not fit move into a More menu. Accessibility not guaranteed - [Tooltip](https://ombelle-ui.com/components/tooltip.md): A Radix tooltip shown on hover and keyboard focus. Accessibility not guaranteed ## Blocks - [Sign in](https://ombelle-ui.com/blocks/login-01.md): A centred sign-in card with email, password and show/hide, remember me, a forgot-password link, a sign-up line and an error alert. Accessibility not guaranteed - [Account settings](https://ombelle-ui.com/blocks/settings-01.md): Account settings with Profile, Notifications and a Danger zone behind a confirm dialog, grouped by tabs on desktop and stacked on phones. Accessibility not guaranteed - [Pricing](https://ombelle-ui.com/blocks/pricing-01.md): Three plans with a monthly or yearly toggle, a highlighted plan, feature lists and a comparison note. Accessibility not guaranteed - [Dashboard overview](https://ombelle-ui.com/blocks/dashboard-01.md): An overview content area with four stat cards, a usage meter, a recent-activity table and a tabbed range, without a sidebar shell. Accessibility not guaranteed ## Optional - [llms-full.txt](https://ombelle-ui.com/llms-full.txt): every guide, component and block page in one file - [Catalog JSON](https://ombelle-ui.com/api/v1/catalog): machine-readable catalog with install state and docs links - [Preset JSON schema](https://ombelle-ui.com/schemas/preset-1.0.json): the schema of the preset JSON file # Getting started Install your first components in a Vite or Next.js app. ## 1. Prepare your app Use an existing Vite React TSX app or Next.js App Router TSX app with Tailwind CSS v4 already working. Run the installer with Node 24.19.0 or a newer Node 24 release. Open a terminal in the app folder containing `package.json`. The CLI supports npm, pnpm, Yarn, and Bun projects. It keeps the app’s package manager. Workspace projects and React Native are outside the current installer scope. Already have shadcn components? Follow [the existing-project instructions](https://ombelle-ui.com/docs/installation.md#existing-projects) to merge a theme and resolve component conflicts deliberately. ## 2. Create a project preset 1. Open the [preset editor](https://ombelle-ui.com/editor/preset). A fresh draft starts in Ombelle. 2. Choose a style family, edit light and dark colors, and adjust typography and shape. 3. Wait for the current draft to compile. Open **More actions → Download JSON** and save the file as `project-preset.json` in your app folder. You can also use **Get code** to publish a preset, then use the exact `ps_…@1` code instead of the local JSON path in the next command. Publication is public and explicit; downloading needs no account or publication. ## 3. Initialize Ombelle ```sh npx @ombelle-ui/cli@1.1.2 init --preset ./project-preset.json ``` Review the proposed configuration, token CSS, style CSS, and lock file, then accept the plan. The preset is saved as `ui-preset.json` and installation provenance as `ui-library.lock.json`. The CLI reports the actual paths it manages. To inspect the plan without writing files or installing dependencies, append `--dry-run`. You can add `--json` for machine-readable output. ## 4. Add and use components ```sh npx @ombelle-ui/cli@1.1.2 add button card input label ``` Later additions use the saved project preset. Import the generated components using your configured aliases; the example below assumes `@/components/ui`. ```tsx import { Button } from '@/components/ui/button' export function SaveAction() { return } ``` Start your app using its existing dev command. Check light and dark rendering, keyboard focus, and disabled or invalid states. The catalog's specimens for each built-in preset are checked automatically in Chromium for focus visibility, target size, forced colors and axe rules; your app still needs its own checks with your content and backdrop. Next.js interactive examples belong in a client component. Each [component reference](https://ombelle-ui.com/components) includes usage and its supported API. ## 5. Customize and keep your work Use [global presets](https://ombelle-ui.com/docs/presets.md) for shared project defaults and [component recipes](https://ombelle-ui.com/docs/component-editor.md) for an independently styled component. Generated source remains editable in your repository. Commit the generated files, saved preset, and lock file with your app. The editors save drafts in this browser. Download JSON for a portable backup; a local draft does not automatically appear in another browser or device. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Installation and CLI Commands, package managers, editions, and safe updates. ## Command reference Run commands from your app folder. `PRESET` means a local JSON file or an exact published preset code; `RECIPE` means a local recipe JSON file or exact recipe code. Replace these placeholders before running a command. ``` npx @ombelle-ui/cli@1.1.2 init --preset PRESET npx @ombelle-ui/cli@1.1.2 add button dialog input npx @ombelle-ui/cli@1.1.2 theme add PRESET npx @ombelle-ui/cli@1.1.2 add --recipe RECIPE npx @ombelle-ui/cli@1.1.2 add button --preset PRESET ``` `init` sets up project defaults. `add` installs named components. `theme add` applies project tokens and style rules. `add --recipe` installs a separate scoped component. `add button --preset` installs a separate preset-scoped Button; this last form supports one Button at a time. ## Choose a runner and target folder ```sh npx @ombelle-ui/cli@1.1.2 init --preset ./project-preset.json ``` The runner downloads the installer; it does not change your app’s package manager. Yarn runner tabs use modern Yarn; Yarn Classic has no `dlx`. Use `npx` to run the installer for a Yarn Classic app. Modern Yarn may delay newly published versions according to its configured minimum release age. When invoking from another directory, use `--cwd ./path-to-app`. Local JSON paths resolve from the invoking directory, independently of `--cwd`. Quote paths containing spaces. Use `--package-manager npm|pnpm|yarn|bun` only when project detection needs an explicit choice. ## Add Ombelle to an existing shadcn project 1. Download a preset JSON into the app folder. 2. Run the theme command below with `--dry-run` and inspect the changes. 3. Run it again without `--dry-run` and accept the plan. 4. Add the components you want. Resolve any existing source conflicts before applying. ```sh npx @ombelle-ui/cli@1.1.2 theme add ./project-preset.json --dry-run ``` The theme command merges shared palette and tokens and saves the project preset. Existing components that read those variables can change appearance. It preserves existing component source; it does not rewrite that markup into a different component API. The installer detects Radix or Base UI from the `style` in `components.json`. Supported styles are `radix-nova`, `new-york` and the eight `base-*` styles (`base-nova`, `base-vega`, `base-maia`, `base-lyra`, `base-mira`, `base-luma`, `base-sera` and `base-rhea`). With any other style, such as `radix-vega`, or shadcn’s React Aria base, `theme add` merges the palette and tokens only and `add` is refused. All 63 ordinary components support both editions. Base UI uses `render` for composition where Radix uses `asChild`. Recipes and preset-scoped Buttons currently require Radix. Once components are installed, switching the recorded edition requires an explicit migration. ## Keep an existing component or replace it If `button.tsx` already belongs to your app, the installer stops rather than silently replacing it. For an eligible source conflict, `--beside` preserves the original and installs Ombelle under the configured components directory’s `ombelle/` folder. ```sh npx @ombelle-ui/cli@1.1.2 add button --beside components/ui/button.tsx ``` With the default alias, import that separate Button from `@/components/ui/ombelle/button`. `--overwrite components/ui/button.tsx` explicitly replaces an eligible existing file. Use the exact conflicting path reported by the CLI. These resolutions do not bypass changes to an already Ombelle-owned file. ## Plan changes and update safely - `--dry-run` computes and prints a plan without writes. - `--json` returns structured output; keep `--quiet` on the Yarn runner to avoid mixing runner output with JSON. - `--yes` accepts a safe plan. It cannot bypass schema errors, incompatible projects, or modified-file conflicts. - Dependency installation disables lifecycle scripts. The apply transaction checks for stale inputs and supports recovery if applying fails. When a command reports that managed shared style rules have changed, run `theme add` with the exact preset path it prints, review the plan, then retry the component addition. If you edited the managed file, reconcile it manually first. There is no general automatic source migration command. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Style families Choose a visual family and understand Liquid Glass. ## Choose the visual foundation Stable families are Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat. They share component APIs while providing their own tokens and style rules. Website pickers list Ombelle first and fresh playgrounds and editor drafts select it. A saved draft restores the family you previously chose. - **Ombelle**: The product’s signature family, with rounded shapes, defined edges, and depth. - **Minimalist**: Restrained surfaces, quiet borders, and typography. - **Neo-Brutalism**: Strong borders, offset shadows, and pronounced contrast. - **Flat**: Color-led surfaces and reduced visual depth. Compare a real component in the [component playgrounds](https://ombelle-ui.com/components), then check its states in both modes. Use the preset editor to tune the family to your brand. ## Change family without losing your intent 1. Open your preset draft and choose a family in **Style family**. 2. Review and confirm a change when prompted. Values you customized stay; unedited values take the new family’s defaults. 3. Inspect both palettes and the full gallery, then download or publish the current result. 4. Apply the preset with `theme add` to update project styling. Changing a family in a playground or editor is a preview/draft operation. It changes your app only after you export and install it. Generated component APIs stay the same within their edition. ## Use Liquid Glass Liquid Glass is a stable family for all 63 components, with one caveat: accessibility is not guaranteed, because text contrast depends on the background you put behind the glass. Set transparency to Reduced for opaque surfaces and the full contrast guarantee. Choose a glass starting preset, tint, and material settings in the preset editor, or use the glass controls in a component editor. Inspect transparency, blur, edges, depth, and motion over the provided preview backdrops. The preset editor names each backdrop with its contrast ratio. It keeps your starting preset's backdrop until an edit makes the text read worse there, then picks the backdrop the text reads best on. Where the browser supports it, **Preview transparency** shows the reduced-transparency look without saving anything. 1. Choose **Liquid glass** and a starting preset. 2. Check light/dark modes and every backdrop, and switch **Preview transparency** to Reduced where it is offered. Review the contrast readout and material settings. 3. Install the preset and components using the current CLI. Read the accessibility notice in the plan. 4. Mount the generated `LiquidGlassFilter` once in your app’s root layout if using refraction in Chromium. Follow the import path printed by the CLI. Blur and refraction depend on browser support; opaque fallbacks are provided. Automated token checks do not certify contrast over arbitrary real page content. Verify your final backdrop, focus, disabled states, reduced motion, and browser fallbacks. ## Light and dark are separate palettes A preset contains both light and dark colors. Switching the preview mode selects the palette to inspect; it does not replace the other palette. Match the exported CSS’s theme selectors in your application, and test any app-level theme switch with generated components. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Global presets Understand project defaults, tokens, and component scope. ## Choose the right scope - **Global preset**: A style family, light/dark semantic colors, bounded design values, and supported component defaults saved for the project. Ordinary component additions inherit it. - **Component recipe**: One component’s content, props, preset reference, and supported overrides. It installs separately without changing saved project defaults. - **Preset-scoped Button**: A separate Button compiled from a whole preset. Use this when a Button needs its own preset rather than the project’s shared theme. A component recipe and a global preset have different JSON formats. Use `--recipe` for recipe exports and `--preset` for preset exports. ## Apply a global preset 1. Build the theme in the [preset editor](https://ombelle-ui.com/editor/preset). 2. Download `project-preset.json` into your app or publish it and copy the preset code. 3. Use `init --preset` for first setup or `theme add` for a configured app. 4. Review and accept the file plan; later `add` commands read the saved defaults. ```sh npx @ombelle-ui/cli@1.1.2 theme add ./project-preset.json ``` Theme installation can affect existing components that use shared variables. It preserves existing component source, scoped recipes, and independently installed preset Buttons. ## Apply a preset to one Button Initialize a supported Radix project first. Save a preset JSON in the invoking folder, then install a separate Button: ```sh npx @ombelle-ui/cli@1.1.2 add button --preset ./project-preset.json ``` The CLI prints the generated preset ID/revision directory, scoped CSS, and usage example. Import that generated Button to use it. Your ordinary Button, global theme, and future ordinary additions keep project defaults. Other component IDs are not supported by this command; use their [recipe editors](https://ombelle-ui.com/docs/component-editor.md) instead. ## Token order and reproducible output Values resolve from foundation defaults through style-family defaults, project preset values, supported component defaults, scoped recipe values, and finally your component props and local source. Later layers affect only allowed values; validation and accessibility behavior are not arbitrary token overrides. Preset JSON includes `schemaVersion`, `id`, `name`, `revision`, `catalogRelease`, `compilerVersion`, `platform` (`react-web`), `styleFamily`, `modes`, `design`, and optional `componentDefaults`. Catalog and compiler references pin the compilation inputs. Unknown keys and values outside supported ranges fail validation. Keep installed IDs and revisions immutable. When changing an already installed scoped preset, increase its revision before reinstalling changed content. A published code always refers to one fixed snapshot; publish a new snapshot to share edits. ## Design value reference The current preset format is 1.0, or 1.1 for presets that use registry fonts, with catalog/compiler compatibility 0.1.0. Colors are six-digit hex or numeric OKLCH. Each mode defines semantic roles such as background/foreground, card, popover, primary, secondary, muted, accent, destructive, border, input, and ring; optional shadow color controls the family’s shadows. - `fontFamilyId`: system-sans, system-serif, system-mono, or a self-hosted body font. Optional `headingFontFamilyId` and `monoFontFamilyId` choose a display and a code font; a preset that uses any registry font declares schemaVersion 1.1. - `radiusRem`: 0–2 rem. `borderWidthPx`: 0–4 px. - `density`: comfortable or compact. Shadow X/Y offsets: −16–16 px. - `motion`: full or reduced. `transparency`: auto or reduced. - Liquid Glass adds blur (0–40 px), opacity (0.25–1), saturation (1–2), backdrop contrast (0.3–1.6), backdrop tone (0–0.6), sheen/rim (0–1), and optional refraction, halo, depth, motion, and dispersion (0–1). Refraction width ranges from 0–0.3. These are preset ranges; component recipe controls may expose a different supported subset. Use editor validation and the generated recipe JSON as the reference for that component. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Preset editor Create, preview, check, and export a project theme. ## 1. Open and name your draft Open the [global preset editor](https://ombelle-ui.com/editor/preset). A fresh session starts with Ombelle; a valid saved draft restores automatically. Change the preset name in the top bar. Use **More actions → ID & revision…** to edit its export identity. The browser stores the draft and undo/redo history locally. This editor’s storage is separate from component editor drafts. Download JSON when you want a portable copy. ## 2. Set family, colors, and design values 1. Choose a **Style family**. Confirm a family change when requested; custom values remain. 2. In **Colors**, pick a scheme or open a semantic color token to edit its light and dark values. Supported color values include hex and numeric OKLCH. 3. Adjust **Typography & shape** for fonts, radius, density, and supported dimensions. 4. Adjust **Depth & motion** for borders, shadows, and motion. Liquid Glass adds a material section and starting presets. 5. Use individual reset controls to restore inherited values. Undo and redo let you compare edits. **More actions → Reset all tokens…** returns colors and design values to the current family’s defaults while keeping the preset identity. Undo can restore the previous draft. ## 3. Inspect the preview and checks Switch **Preview mode** between Light and Dark, change **Preview page** to inspect the gallery and other scenes, and use **Preview width** to inspect narrow layouts. Glass previews also expose backdrop choices. Preview controls do not become preset settings. Open the review drawer to inspect checks. Resolve invalid fields and compilation errors before exporting. Contrast checks cover defined semantic token pairs; they do not replace testing real content, keyboard behavior, responsive layouts, or screen-reader interaction. ## 4. Export and install 1. Wait for the current draft to compile successfully. 2. Choose **More actions → Download JSON**, or open **Export** in the review drawer and choose **Download preset JSON**. 3. For manual styling, choose **Tailwind v4 token CSS** and **Family CSS** in the Output selector. Copy both to apply the full family. 4. Install JSON with the CLI, or use **Get code** for a public shareable snapshot. ```sh npx @ombelle-ui/cli@1.1.2 init --preset ./project-preset.json ``` For an existing initialized project, use `theme add ./project-preset.json`. An export is available only for the successfully compiled current draft; stale output cannot be exported. ## Keep or recover your draft Reopening the editor in the same browser restores valid saved work. If a saved draft cannot be read, download the recovery data before starting again. Storage failures leave edits in memory; download an export before closing the tab. See [draft recovery](https://ombelle-ui.com/docs/troubleshooting.md#draft-recovery) for details. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Component editor and recipes Customize any catalog component and install its scoped recipe. ## 1. Choose a component Open the [component editor](https://ombelle-ui.com/editor/component) and pick one of the 63 catalog components. To switch while editing, open the component's name in the top bar: it lists every editor, with search, Browse all components and this guide. Each component has its own local draft. Fresh drafts start in Ombelle; a saved draft restores its own family and edits. A recipe is an independently installed instance, with content, props, and supported visual overrides. It does not replace your global preset. Ordinary component installation supports both Radix and Base UI; recipe installation currently supports Radix only. ## 2. Customize content and appearance 1. Choose a style family. Liquid Glass also offers a glass preset and material controls. 2. Edit the component’s content and props. Controls are specific to the selected component, including its parts and supported variants. 3. Adjust supported appearance values. Empty overrides inherit from the referenced preset, and each empty field shows the value the preview renders, colours included; use resets to return to those values. 4. Use Undo and Redo to compare changes. The Button editor includes text, variant, size, type, disabled/loading behavior, icons, colors for supported states, and bounded geometry and shadow controls. Other editors expose the props, content, and part styling supported by their component schema. The editor does not accept arbitrary executable JSX or CSS. ## 3. Check states and generated artifacts Inspect Light/Dark modes and Wide/Narrow previews. **Preview layout: Matrix** shows your recipe across its variants, with your edits in every cell; choose the Rows and Columns axes, and the current cell is marked. The Button editor also offers forced states such as hover, focus, active, disabled, and loading, also shown as a row of the Button matrix; these are preview controls. In Generated output, **Changes** shows what your edits change in each file against the catalog default, and Get code sums it up. Interact with other components to check menus, dialogs, selection, and focus behavior. Open the **Code** panel to inspect generated usage, component source, scoped CSS, dependencies, and recipe JSON. If a field is invalid or compilation is pending, correct the error and wait for current output before downloading or publishing. ## 4. Download or publish, then install 1. Choose **More actions → Download recipe JSON**, or use the JSON download offered by **Get code**. 2. Save the downloaded file in an initialized Radix app. Replace the example filename below with your download’s actual name. 3. Run `add --recipe`, review the plan, and accept it. 4. Use the generated usage example to import the new scoped component. ```sh npx @ombelle-ui/cli@1.1.2 add --recipe ./my-recipe-r1.json ``` Use **Get code** if you want an exact public `rc_…@1` reference instead of a local file. A Button uses recipe schema 1.0; the other catalog components use schema 2.0. The current installer accepts both. Scoped source and styles install beside ordinary components, leaving global defaults intact. ## Reset, revisions, and ownership Recipe IDs and revisions identify installed content. For changed content under an already installed identity, increase the JSON revision before reinstalling; some catalog identity controls are read-only in the editor. Modified installed source is protected by conflict checks. **Reset recipe** is undoable. In the Button editor it restores starting content and props while keeping the current family and identity. Other component editors return to a fresh recipe for that component. Download a backup before resetting or clearing browser storage. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Exports and sharing Use local JSON, generated source, and immutable public codes. ## Choose an export format - **Preset JSON**: A portable global theme for `init --preset`, `theme add`, or a preset-scoped Button. - **Recipe JSON**: A portable customized component for `add --recipe`. - **Token CSS and family CSS**: Palette/design variables and family style rules. Use both for the complete visual treatment; CSS alone does not create component source. - **Generated source and usage**: Inspect component TSX, scoped CSS, dependencies, and imports in the component editor’s Code panel. Downloads work without publication. Export buttons require successful compilation of the current draft. JSON is the portable install input; the browser’s saved draft envelope is recovery data, not a CLI preset or recipe. ## Publish an exact shareable code 1. Finish editing and wait for compilation. 2. Choose **Get code** and review the public publication information. 3. Publish explicitly. The service returns a preset `ps_…@1` or recipe `rc_…@1` reference and read-only share page. 4. Copy the command shown for your target: new project, existing project theme, scoped Button, or recipe. Published content is publicly readable by exact reference. Do not put secrets in preset names or component content. Ombelle currently has no accounts or private sharing. Drafts stay local until you choose publication; visiting an editor does not publish them. A code is immutable: later edits do not update an existing share link. Publish the edited content again to get a new snapshot. The code-page revision identifies the stored snapshot; the export’s own ID and revision still matter for installation conflicts. ## Install a published snapshot Use the exact full code from the share page. These placeholders must be replaced: ``` npx @ombelle-ui/cli@1.1.2 init --preset PRESET_CODE npx @ombelle-ui/cli@1.1.2 theme add PRESET_CODE npx @ombelle-ui/cli@1.1.2 add button --preset PRESET_CODE npx @ombelle-ui/cli@1.1.2 add --recipe RECIPE_CODE ``` Bare codes resolve at the official Ombelle service. The CLI validates the content and records its provenance. A withdrawn or unavailable snapshot can block a network install; preserve downloaded JSON when you need a local install path. ## Local files, custom origins, and offline use A local JSON export does not require the snapshot service; installing missing dependencies may still need package registry access. Prefix local filenames beginning with `ps_` or `rc_` with `./` to distinguish them from codes. For a custom snapshot service, the CLI requires both `--snapshot-origin` and an exact `--preset-hash` or `--recipe-hash`. HTTPS is required except for literal loopback HTTP. `--offline` also requires those explicit pins and a previously verified cache entry; it cannot discover later snapshot withdrawals. Use the service-provided full command and hash rather than guessing either value. If publication fails, keep your JSON export and retry using the editor’s recovery flow. A temporary sharing-service failure does not remove valid local exports. See [privacy and data retention](https://ombelle-ui.com/privacy) for storage details. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Troubleshooting Resolve installation conflicts, draft recovery, and preview problems. ## The installer rejects my project 1. Check Node is 24.19.0 or newer Node 24 and the target is Vite React TSX or Next.js App Router TSX with Tailwind v4. 2. Run from the app’s package folder, or set `--cwd`. Workspace projects are unsupported. 3. Confirm local JSON paths resolve from the invoking directory, not from `--cwd`. 4. Check the detected edition. Recipes and preset-scoped Buttons require Radix, even though ordinary components also support Base UI. Use `--dry-run --json` to inspect a failed plan. Unknown components or blocks, or malformed inputs, exit with code 2, unsupported projects/releases with 3, file conflicts with 4, snapshot resolution failures with 5, and dependency failures with 6. ## A file conflict blocks installation Read the reported path. App-owned components may be installed beside with `--beside` or explicitly replaced with `--overwrite`. Already modified Ombelle-owned source requires manual reconciliation; `--yes` cannot force it through. If the message asks to refresh shared styles, use `theme add` with the exact preset path shown, then retry. If an installed recipe ID/revision has different bytes, increase its revision instead of reusing an immutable identity. See [conflict resolution](https://ombelle-ui.com/docs/installation.md#conflicts). ## My draft disappeared or needs recovery Drafts are local to the browser, site origin, and component/editor. Another browser, device, private session, or cleared site storage may have no saved draft. A fresh session starts in Ombelle; changing that default does not replace a previously saved Flat draft. 1. When recovery is offered, download the raw recovery copy first. 2. Use the editor’s start-new/reset action only after keeping those bytes. Component editors preserve a verified recovery archive before continuing. 3. For valid in-memory work when storage is unavailable, download JSON before closing the tab. Recovery files preserve original bytes for investigation; they are not automatically installable JSON. Preset undo history is stored separately; if only history is invalid, the valid draft remains available. Component drafts restore independently of the global preset. ## Preview or export is unavailable - Resolve highlighted validation errors, including unsupported color values or design values outside their bounds. - Wait for compilation to finish. Stale or failed output cannot be downloaded or published. - If only the preview runtime fails, retry it. A successfully compiled current draft can still have a valid export. - If clipboard access fails, select and copy the export text manually or download JSON. - For Liquid Glass, check the actual backdrop, browser filter support, opaque fallback, and the generated filter component. The editor’s light/dark, viewport, forced-state, and backdrop controls inspect the draft; they do not automatically configure your app’s runtime theme switch or responsive behavior. ## A code cannot be published or installed Retry a failed publication from the editor and retain JSON as a backup. For installation, copy the complete code including `@1`, use a compatible current CLI, and verify the snapshot is available. Custom origins require the exact content hash; offline mode requires a verified cache entry and cannot detect later withdrawals. If dependency installation fails, check the detected package manager and its network access, then follow the CLI’s transaction/recovery message. Keep the error output and paths if you need help. Report reproducible problems through [support and security](https://ombelle-ui.com/security), including framework, edition, CLI version, command, and sanitized error output. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Using Ombelle with AI agents Rules, docs and skills that help coding agents install Ombelle safely. ## Install rules A coding agent installs Ombelle with the published CLI, the same way you do. These are the rules every agent follows. They are repeated in `llms.txt`, the catalog JSON and the agent skills, so all of them stay in step. 1. Run the published CLI with `npx @ombelle-ui/cli@1.1.2` (or the project's `pnpm dlx`, `yarn dlx --quiet` or `bunx` equivalent). Never run `shadcn add` and never hand-copy component source. 2. Initialize with the preset code the developer gives you (`init --preset ps_…@1`), or with a preset JSON file they give you. 3. If the developer gave no preset code or file, ask for one and point them to the preset editor at https://ombelle-ui.com/editor/preset. Never write preset JSON yourself. 4. Run every command that writes files with `--dry-run --json` first, and show the developer the planned changes. 5. Rerun the same command with `--yes` only when the dry run's `status` is `planned` (exit code 0) and no warning has `resolutions`. Agents have no TTY, so `--yes` is required. 6. On `FILE_CONFLICT`, or any warning with `resolutions`, stop and ask the developer. Offer `--beside ` (component files only) or `--overwrite `, and never choose either yourself. 7. When the dry run's `status` is `error`, read `error.code`, `error.message` and `error.nextAction`. On `UNSUPPORTED_PROJECT` or `UNSUPPORTED_RELEASE`, explain the message and its next action to the developer. Do not work around it. 8. Finish with `doctor --json` and report its result. 9. Liquid glass is labelled `Accessibility not guaranteed` because its contrast depends on the backdrop. Say so whenever you offer it. ## Docs for agents Every page has a plain-text form that agents can read without a browser. - [https://ombelle-ui.com/llms.txt](https://ombelle-ui.com/llms.txt) is the index: the install rules, plus a link to every guide, component and block. - [https://ombelle-ui.com/llms-full.txt](https://ombelle-ui.com/llms-full.txt) holds the same content in one file. - Add `.md` to a guide, component or block address for its Markdown page, for example [https://ombelle-ui.com/docs/getting-started.md](https://ombelle-ui.com/docs/getting-started.md). - [https://ombelle-ui.com/api/v1/catalog](https://ombelle-ui.com/api/v1/catalog) is the catalog as JSON: components, blocks, style support, the published CLI and these rules. ## Agent skills Five agent skills in the `skills/` folder of the repository teach a coding agent the same guarded loop. They work with agents that read the open Agent Skills format. - **ombelle-install** installs components and initializes a preset with the guarded CLI loop. - **ombelle-choose** picks the right component or block from the live catalog. - **ombelle-theme** switches or applies a preset and adds a component-only preset. - **ombelle-blocks** installs and wires login, settings, pricing and dashboard blocks. - **ombelle-check** inspects, diagnoses and updates an existing install. Install all five with `npx skills add whritou/ombelle-ui`, or one with `npx skills add whritou/ombelle-ui --skill ombelle-install`. ## Tell your agent Paste this into your project’s `AGENTS.md` or `CLAUDE.md`. It points the agent at the install rules and the published CLI. Replace `ps_…@1` with your own preset code from the [preset editor](https://ombelle-ui.com/editor/preset). ``` ## Ombelle UI Before installing any Ombelle component, read https://ombelle-ui.com/llms.txt and follow its install rules. - Run only the published CLI: npx @ombelle-ui/cli@1.1.2 (never `shadcn add`, never hand-copied source). - Initialize with the preset code I give you (npx @ombelle-ui/cli@1.1.2 init --preset ps_…@1) or the preset JSON file I give you. If I gave neither, ask me for one; never write preset JSON yourself. - Run every command that writes files with --dry-run --json first and show me the plan; rerun it with --yes only when its status is planned (exit code 0) and no warning has resolutions. - On FILE_CONFLICT or any warning with resolutions, stop and ask me; never choose --overwrite or --beside yourself. - On status error, read error.code and error.nextAction. On UNSUPPORTED_PROJECT or UNSUPPORTED_RELEASE, explain the message and its next action to me and stop; don't work around it. - Finish with doctor --json and tell me its result. - Liquid glass is labelled Accessibility not guaranteed; say so whenever you offer it. ``` Liquid glass is labelled **Accessibility not guaranteed**, because its contrast depends on what sits behind it. Agents are told to say so when they offer it. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Accordion Stacked headings that each show or hide a section of content. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add accordion ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. This is a client component. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { Accordion, AccordionItem, AccordionTrigger, AccordionContent, } from '@/components/ui/accordion' export function Faq() { return ( What does a preset change? Colors, radius, borders, shadows and type. ) } ``` ## API and states - API: Accordion (type, collapsible, value, appearance: bordered, flush; icon: chevron, plus), AccordionItem, AccordionTrigger (level), AccordionContent - Minimum states: Open, closed, disabled, focus; bordered or flush; one chevron or plus icon - Native basis: Reviewed Radix accordion primitive - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Alert A status or error message with an optional icon, title and description. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add alert ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { Alert, AlertTitle, AlertDescription } from '@/components/ui/alert' export function SaveStatus() { return ( Preset saved New components now install with this preset. ) } export function Intents() { return ( <> SavedYour changes are ready. Review neededTwo items need your attention. New versionA component update is available. ) } ``` ## API and states - API: variant (default, destructive, success, warning, info), layout (default, compact), onDismiss, dismissLabel, AlertTitle, AlertDescription, AlertActions, AlertDismiss - Minimum states: Default, success, warning and info (role status); destructive (role alert); dismissible; compact - Native basis:
with a live-region role - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Alert Dialog Requests a deliberate response before a destructive or important action. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add alert-dialog ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. This is a client component. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { AlertDialog, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogCancel, AlertDialogAction } from '@/components/ui/alert-dialog' export function Example(){return Delete projectDelete this project?This action cannot be undone.CancelDelete project} ``` ## API and states - API: AlertDialog, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogCancel, AlertDialogAction, AlertDialogMedia (tone), AlertDialogConfirmInput (expected, label) - Minimum states: Open, closed, cancel focus, focus return - Native basis: Dedicated Alert Dialog primitive - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Aspect Ratio Keeps a preview, video or image at a fixed ratio while its width follows the layout. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add aspect-ratio ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { AspectRatio } from '@/components/ui/aspect-ratio' export function Example(){return The Ombelle preset gallery in light mode} ``` ## API and states - API: AspectRatio (ratio, a number such as 16 / 9) - Minimum states: Empty, with media - Native basis: The CSS aspect-ratio property, one server template for both editions - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Avatar A person's image with initials as a fallback, a presence dot and overlapping groups. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add avatar ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. This is a client component. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { Avatar, AvatarImage, AvatarFallback, AvatarStatus } from '@/components/ui/avatar' export function Owner() { return ( AL ) } ``` ## API and states - API: Avatar (size, variant, shape), AvatarImage, AvatarFallback (delayMs, 600 by default), AvatarStatus (status), AvatarGroup, AvatarOverflow (count, label) - Minimum states: Image, fallback after the delay, online, offline, circle and square, overflow count - Native basis: Reviewed Radix avatar primitive - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Badge Shows a short status or category as a native span. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add badge ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { Badge, BadgeDot } from '@/components/ui/badge' export function Status() { return <> Synced Needs attention Active } ``` ## API and states - API: variant (default, secondary, outline, accent, destructive, success, warning, info), appearance (solid, soft, outline), size (sm, default), BadgeDot, className - Minimum states: Default, secondary, outline, accent, destructive, success, warning, info; soft and outline appearances; small and default sizes; optional status dot - Native basis: ; interactive tags need a real button or link - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Breadcrumb Shows a page’s place in a hierarchy of links. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add breadcrumb ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator } from '@/components/ui/breadcrumb' export function Example(){return HomeProjects} ``` ## API and states - API: Breadcrumb (collapse none or auto), BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis - Minimum states: Link, current page, focus - Native basis: Native nav, ordered list, links and current-page span - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Button Triggers an action, or renders a link that looks like a button. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add button ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. This is a client component. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { Button } from '@/components/ui/button' export function Actions() { return ( <> ) } ``` Liquid glass Buttons were restyled to one ink in 0.5.0. ## API and states - API: variant (default, secondary, destructive, outline, ghost, link, link-destructive), size (sm, default, lg, icon, icon-sm), loading, asChild - Minimum states: Default, hover, focus, pressed, disabled, loading (keeps its width) - Native basis: Install with npmInstall with pnpmhttps://
} ``` ## API and states - API: ButtonGroup (orientation horizontal or vertical, aria-label), ButtonGroupSeparator, ButtonGroupText - Minimum states: Default, hover, focus, disabled child, single child - Native basis: Native div with role="group" - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Calendar A month grid for a date or a range, and a Date Picker that opens it from a button. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add calendar ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. This is a client component. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { Calendar, DatePicker } from '@/components/ui/calendar' export function Example(){return
} ``` ## API and states - API: Calendar (mode single or range, selected, onSelect, defaultMonth, disabled, disablePast, weekStartsOn, locale, numberOfMonths, today), DatePicker (value, defaultValue, onValueChange, mode, placeholder, format, locale, name, calendar), toIsoDate, fromIsoDate, formatDate - Minimum states: Today, selected, range start, middle and end, outside the month, disabled, picker open - Native basis: react-day-picker; Radix Popover, or Base UI Popover in the Base UI edition, for the Date Picker - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Card Groups related content with a header, body and footer. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add card ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter, } from '@/components/ui/card' export function ProjectSummary() { return ( Website refresh Design work for the next release.

Three milestones remain.

Updated today
) } export function Surfaces() { return ( <> Outlined cardProject summary. Subtle cardRecent activity. ) } ``` ## API and states - API: Card (density: default, dense; appearance: default, outlined, subtle), CardHeader, CardAction, CardTitle (level), CardDescription, CardContent, CardFooter, CardLink, CardMedia, CardGroup (name, value, defaultValue, onValueChange), CardOption (value, title, description, disabled) - Minimum states: Default, dense, outlined, subtle; link card with hover lift; option selected, focused and disabled; media header - Native basis:
or
with deliberate headings - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Carousel Slides that snap as they scroll, with previous and next buttons, one dot per slide and a counter. It never autoplays. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add carousel ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. This is a client component. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext, CarouselDots, CarouselCounter } from '@/components/ui/carousel' import { Card, CardContent, CardFooter } from '@/components/ui/card' import { Badge } from '@/components/ui/badge' const presets = [{ name: 'Ombelle', stable: true }, { name: 'Flat', stable: true }, { name: 'Minimalist', stable: true }, { name: 'Neo brutalism', stable: true }, { name: 'Liquid glass', stable: false }] export function Example(){return {presets.map(preset => {preset.name}{preset.stable ? 'Stable' : 'Experimental'})}} ``` ## API and states - API: Carousel (slidesPerView 1, 2 or 3, variant default or image, ratio), CarouselContent, CarouselItem, CarouselImage (src, alt required, loading), CarouselPrevious, CarouselNext, CarouselDots, CarouselCounter, CarouselThumbnails - Minimum states: First slide, middle, last slide, one slide, focus, below 640px (no arrows), image with the next one peeking, current thumbnail - Native basis: CSS scroll snap with no dependency, one template for both editions - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Checkbox A Radix checkbox with checked, unchecked and mixed states. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add checkbox ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. This is a client component. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { Checkbox } from '@/components/ui/checkbox' export function TermsField() { return ( <> ) } ``` ## API and states - API: checked (true, false, "indeterminate"), onCheckedChange, disabled, name, value, required; CheckboxOption (title, description, appearance row or card) - Minimum states: Unchecked, checked, mixed, focus, invalid - Native basis: Radix primitive with verified form behavior - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Chip Pressable filter chips and removable tokens. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add chip ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. This is a client component. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { Chip, ChipGroup, ChipRemove } from '@/components/ui/chip' export function Example(){return
On trackShippedglass
} ``` ## API and states - API: Chip (pressed, defaultPressed, onPressedChange), ChipRemove (label, onRemove), ChipGroup - Minimum states: Pressed, static, removable, disabled, focus - Native basis: Native button with aria-pressed, and a span with a remove button - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Code Block Read-only code with a title, line numbers, highlighting and Copy, or a command with one tab per package manager. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add code-block ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. This is a client component. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { CodeBlock, CodeBlockCommand } from '@/components/ui/code-block' const source = "import { Button } from '@/components/ui/button'\n\nexport function Save() {\n return \n}\n" export function Example(){return
} ``` ## API and states - API: CodeBlock (code, language tsx, css, json, shell or text, title, lineNumbers, maxHeight, copyLabel, diff), CodeBlockCommand (args, managers, manager, defaultManager, onManagerChange, label, copyLabel, runners), CodeBlockRoot, CodeBlockHeader, CodeBlockTitle, CodeBlockCopy, CodeBlockCode (diff); diffLines, diffNewVersion, diffCounts - Minimum states: Default, scrolling, focus, copied, copy failed, selected tab, no line numbers - Native basis: Native pre and button with a polite status; Radix Tabs, or Base UI Tabs in the Base UI edition, for the command block - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Collapsible A trigger that shows or hides one region of content. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add collapsible ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. This is a client component. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { Collapsible, CollapsibleTrigger, CollapsibleContent } from '@/components/ui/collapsible' export function Example(){return Advanced shadow

Offset X and Offset Y

} ``` ## API and states - API: Collapsible (open, defaultOpen, onOpenChange, disabled), CollapsibleTrigger, CollapsibleContent - Minimum states: Closed, open, focus, disabled - Native basis: Radix Collapsible; Base UI Collapsible in the Base UI edition - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Color Picker A colour field with a popover: area, hue, formats, eyedropper, swatches and contrast. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add color-picker ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. This is a client component. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { ColorPicker, ColorPickerPair } from '@/components/ui/color-picker' const swatches = [{ label: 'Rose', value: 'oklch(0.55 0.22 6)' }, { label: 'Ink', value: 'oklch(0.22 0.012 275)' }] export function Example(){return
} ``` ## API and states - API: ColorPicker (value, defaultValue, onValueChange, onInvalid, label, placeholder, format, swatches, formats, contrastWith, contrastLabel, eyeDropper, mode, container), ColorPickerSwatches, ColorPickerPair (label) - Minimum states: Valid, invalid, empty with placeholder, open, disabled, focus - Native basis: Reviewed Radix Popover and Slider; Base UI Popover and Slider in the Base UI edition - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Combobox A text field that filters a list of options, with an optional create row and chips for several values. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add combobox ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. This is a client component. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { Combobox, ComboboxInput, ComboboxContent, ComboboxList, ComboboxItem, ComboboxCreate, ComboboxEmpty } from '@/components/ui/combobox' export function Example(){return console.log('Create', name)}>Liquid glassOmbelleNo presets found.} ``` ## API and states - API: Combobox (value, onValueChange, multiple, onCreate, name, disabled), ComboboxInput, ComboboxContent, ComboboxList, ComboboxGroup (heading), ComboboxItem (value), ComboboxCreate, ComboboxEmpty, highlightMatch - Minimum states: Closed, open, filtered, empty, create offered, chips, disabled - Native basis: cmdk in Radix Popover; Base UI Combobox in the Base UI edition - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Command A keyboard-first command menu, inline or in a dialog. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add command ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. This is a client component. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { Command, CommandInput, CommandList, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, CommandEmpty } from '@/components/ui/command' export function Example(){return {}}>Add Button↵Add DialogAdd theme from presetCtrl+TNo results.} ``` ## API and states - API: Command (label, filter, defaultSearch), CommandDialog (open, onOpenChange, title), CommandDialogTrigger, CommandInput, CommandList, CommandGroup (heading), CommandItem (value, keywords, onSelect, disabled), CommandShortcut, CommandSeparator, CommandEmpty - Minimum states: Filtered, highlighted, empty, disabled item, dialog - Native basis: cmdk and Radix Dialog; Base UI Autocomplete and Dialog in the Base UI edition - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Context Menu A menu that opens at the pointer on right-click, or with Shift+F10. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add context-menu ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. This is a client component. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { ContextMenu, ContextMenuTrigger, ContextMenuContent, ContextMenuItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubTrigger, ContextMenuSubContent } from '@/components/ui/context-menu' export function Example(){return Right-click or Shift+F10 on a layerDuplicateCtrl+DApply presetOmbelleLiquid glassCopy as JSXDeleteDel} ``` ## API and states - API: ContextMenu, ContextMenuTrigger (variant zone), ContextMenuContent, ContextMenuItem (variant destructive), ContextMenuCheckboxItem, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuLabel, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubTrigger, ContextMenuSubContent - Minimum states: Closed, open, highlighted, submenu, destructive, disabled - Native basis: Radix Context Menu; Base UI Context Menu in the Base UI edition - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Data Table A table with sorting, a text filter, faceted filters, row selection, column visibility, row actions and pages, drawn like Table. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add data-table ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. This is a client component. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { DataTable, DataTableRowAction, DataTableRowActions, actionsColumn, dataTableColumns, selectColumn, type DataTableColumn } from '@/components/ui/data-table' type Preset = { name: string; family: string; status: 'Stable' | 'Accessibility caveat'; components: number } const presets: Preset[] = [{ name: 'Ombelle', family: 'Ombelle', status: 'Stable', components: 63 }, { name: 'Cristal', family: 'Liquid glass', status: 'Accessibility caveat', components: 63 }, { name: 'Papier', family: 'Papier', status: 'Stable', components: 63 }] const column = dataTableColumns() const columns: DataTableColumn[] = [selectColumn(), column.accessor('name', { header: 'Preset' }), column.accessor('family', { header: 'Family' }), column.accessor('status', { header: 'Status' }), column.accessor('components', { header: 'Components' }), actionsColumn(row => console.log('open', row.original.name)}>OpenDelete)] export function Example(){return } ``` ## API and states - API: DataTable (columns, data, state and on…Change, selectable, filterColumn, filterLabel, facets, columnVisibility, pagination, pageSize, toolbar, emptyLabel, caption), DataTableColumnHeader, DataTableToolbar, DataTableFilter, DataTableFacetedFilter, DataTableViewOptions, DataTablePagination, DataTableRowActions, DataTableRowAction, selectColumn, actionsColumn, dataTableColumns, useDataTable - Minimum states: Default, sorted ascending and descending, filtered, no results, rows selected, columns hidden, first and last page - Native basis: TanStack Table with reviewed Radix Dropdown Menu and Popover; Base UI Menu and Popover in the Base UI edition - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Dialog A modal window that traps focus and returns it when closed. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add dialog ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. This is a client component. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { Dialog, DialogTrigger, DialogContent, DialogTitle, DialogDescription, } from '@/components/ui/dialog' export function Confirm() { return ( Open dialog Publish project? Everyone with the link can see it. ) } ``` ## API and states - API: Dialog, DialogTrigger, DialogContent (size sm, default, lg or fullscreen), DialogTitle, DialogDescription, DialogBody, DialogFooter, DialogClose - Minimum states: Open, closed, scroll, focus return - Native basis: Reviewed Radix dialog primitive - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Dropdown Menu A menu of actions opened from a trigger, with submenus, checkbox and radio items. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add dropdown-menu ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. This is a client component. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, } from '@/components/ui/dropdown-menu' import { Button } from '@/components/ui/button' export function ProjectActions() { return ( Rename Archive ) } ``` ## API and states - API: DropdownMenu, Trigger, Content, Label, Item (variant, inset), CheckboxItem, RadioGroup, RadioItem, Separator, Shortcut, Sub, SubTrigger, SubContent - Minimum states: Open, highlighted, checked, disabled, destructive, focus - Native basis: Reviewed Radix dropdown menu primitive - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Empty State A consistent zero-data screen with a title, description and actions. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add empty ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { Empty, EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, EmptyContent } from '@/components/ui/empty' import { Button } from '@/components/ui/button' export function Example(){return +

No presets yet

Start from a built-in family or import a preset file.
} ``` ## API and states - API: Empty, EmptyHeader, EmptyMedia (variant), EmptyTitle (asChild), EmptyDescription, EmptyContent - Minimum states: With icon, without media, one or two actions - Native basis: Divs with an app-chosen heading - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Field Wires a label, hint and error to one control. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add field ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. This is a client component. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { Field, FieldLabel, FieldControl, FieldDescription, FieldError } from '@/components/ui/field' import { Input } from '@/components/ui/input' export function Example(){return Project nameShown in the CLI and the editor header.Use lower case letters and dashes only.} ``` FieldControl wraps one control, such as Input, Textarea, Native Select or a Select trigger, and keeps its own styles. ## API and states - API: Field (orientation, invalid, required, disabled), FieldLabel, FieldControl, FieldDescription, FieldError - Minimum states: Default, required, invalid, disabled, horizontal - Native basis: Native label and aria-describedby; Base UI uses its Field - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Hover Card A preview card for a link, shown on hover and keyboard focus. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add hover-card ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. This is a client component. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { HoverCard, HoverCardTrigger, HoverCardContent, HoverCardArrow } from '@/components/ui/hover-card' export function Example(){return

Built with @ombelleOmbelle UI

Reviewed React components with deterministic presets.

presets.

} ``` ## API and states - API: HoverCard (open, onOpenChange, openDelay, closeDelay), HoverCardTrigger (href), HoverCardContent (side, align), HoverCardArrow - Minimum states: Closed, open on hover, open on focus - Native basis: Radix Hover Card; Base UI Preview Card in the Base UI edition - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Input A native text input with invalid and disabled styling. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add input ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { Input } from '@/components/ui/input' import { Label } from '@/components/ui/label' export function EmailField() { return ( <> ) } ``` ## API and states - API: Native input props, size (sm, default, lg), aria-invalid, disabled - Minimum states: Empty, filled, focus, invalid, disabled - Native basis: - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Input Group Combines a native input or textarea with text, icons and action buttons. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add input-group ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { InputGroup, InputGroupInput, InputGroupAddon, InputGroupText, InputGroupButton } from '@/components/ui/input-group' export function Example(){return
https://Check
} ``` ## API and states - API: InputGroup, InputGroupInput, InputGroupTextarea, InputGroupAddon (align), InputGroupText, InputGroupButton, InputGroupClear (label, onClear), InputGroupCount (value, max) - Minimum states: Focus within, invalid, disabled, multiline - Native basis: Native input, textarea and button in a group - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Input OTP A one-time code in separate slots; pasting a code fills them all. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add input-otp ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. This is a client component. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from '@/components/ui/input-otp' export function Example(){return } ``` ## API and states - API: InputOTP (maxLength, value, onChange, onComplete, pattern, name), InputOTPGroup, InputOTPSlot (index), InputOTPSeparator - Minimum states: Empty, active, filled, disabled - Native basis: input-otp; Base UI OTP Field in the Base UI edition - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Item A row with media, a title, a description and actions. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add item ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { Item, ItemGroup, ItemMedia, ItemContent, ItemTitle, ItemDescription, ItemActions } from '@/components/ui/item' export function Example(){return OmbelleBuilt-in · stable in light and darkStudio warmYour preset · edited 2 h ago} ``` ## API and states - API: Item (variant default, outline or muted, size default or sm, asChild), ItemMedia (variant icon or image), ItemContent, ItemTitle, ItemDescription, ItemActions, ItemGroup, ItemSeparator - Minimum states: Default, hover and focus when a link, with actions - Native basis: Native div, or a link through asChild - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Kbd Keyboard keys and shortcuts in text. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add kbd ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { Kbd, KbdGroup } from '@/components/ui/kbd' export function Example(){return

Search with CtrlK

} ``` ## API and states - API: Kbd, KbdGroup - Minimum states: Single key, combination - Native basis: Native kbd element - Styles: Stable in Ombelle, Papier, Organic, Retro futurism, minimalist, neo-brutalism and flat, light and dark. Liquid glass: stable, accessibility not guaranteed. --- For agents: install with the published CLI, never by hand-copying source. The full install rules are at https://ombelle-ui.com/llms.txt. # Label Names a form control with a native label element. ## Installation Run in a project initialized with an Ombelle preset (see [Get started](https://ombelle-ui.com/docs/getting-started.md)). The component uses the saved project preset. Run the command from your app folder; it shows the changes and asks before writing. ```sh npx @ombelle-ui/cli@1.1.2 add label ``` Agents: run it with `--dry-run --json` first, then `--yes` when the plan is clean; see the install rules at https://ombelle-ui.com/llms.txt. Liquid glass: available. Accessibility not guaranteed. In a liquid glass project the plan adds a notice, because text contrast depends on the background behind the glass. ## Usage ```tsx import { Input } from '@/components/ui/input' import { Label } from '@/components/ui/label' export function ProjectName() { return ( <> ) } ``` ## API and states - API: htmlFor and native label props - Minimum states: Default, required indication - Native basis: