O
Ouro UI
/
ui
Files
Code
Info
A2UISurface
a2ui-surface
Shows the UI an agent composed in A2UI, with Ouro HX: it resolves the messages into core's composed tree, draws it as ComposedSurface does, its fields starting from the surface's data model, and sends a press as A2UI's action message, with what the person entered in a field a button's input is bound to.
Accordion
A stack of titles that each open their own content, for FAQs and long settings pages.
AgentHandoff
agent-handoff
What a person does once they have seen something built for agents: hand it to their coding agent, as one line to paste, with Copy beside it.
AgentPresence
agent-presence
The person's always-visible sign of which of their agents are listening to something on their behalf, such as a meeting, with Stop one click away.
Alert
An inline message in the page: something saved, something failed, something to know before going on.
AppWindow
app-window
A live piece of interface framed as an application's window: a title bar with a label (such as the file the demo lives in) and actions at its end, the working content inside, and the Ouro HX components it is built from along its foot.
AspectRatio
aspect-ratio
A frame that keeps an image, video or map at a fixed shape while its width follows the layout, so the page does not jump when the media loads.
Attachment
A file attached to a chat message, or waiting to be sent with one: an icon for its kind, its name and size, or with `preview` the picture itself.
AttentionCard
attention-card
Something that waits on the person: a mention, a question asked of them or a request still unanswered.
AuthLayout
auth-layout
The page for signing in, signing up or resetting a password: one `Card` in the middle of the screen, with your brand, the title as the page's `<h1>`, the form, and a line under the card.
Autocomplete
Suggestions at the text caret: typing a trigger character, such as `@` for people or `:` for emoji, in a `TextArea` or `TextField` opens a list beside the caret, filtered by what follows the character.
Avatar
A person's picture, or their initials until it loads or when it fails, in a color picked from the name.
Badge
A short label for a status, category or count: "Draft", "Vegan", "3".
Breadcrumb
The trail from the top of the site to the current page: a labelled `<nav>` with an ordered list of links, the last item marked `aria-current="page"`.
BuildChip
build-chip
A compact, neutral chip for the title bar, like Xcode's scheme and activity area: it names the build the window runs ("Official 1.2.3", or "branch · sha" with "+ edits" for local changes not yet in any build), and opens a picker of the official build plus the builds serving now so a person can switch to the official build from the trigger.
Button
A button, or a link styled as one.
ButtonGroup
button-group
Related buttons joined into one control, such as Previous, a page number and Next, or a split button.
Calendar
A month grid to pick a day or a range of days, with the arrow keys or a press.
Card
A surface that groups one thing's content: a media slot across the top, a title with a description and an action, a body, and a footer.
Carousel
A row of slides the user swipes or steps through with Previous and Next buttons: recipe photos, a few featured cards.
Celebrate
A small moment of celebration for something the person finished: confetti bursts from a badge with the message ("List cleared") and screen readers hear the message once.
Chart
A chart drawn in the theme's colors, which people can use without seeing it: a figure named by its `title`, a summary for screen readers, and a table of every value (visible with `showTable`).
ChatHeader
chat-header
The bar above an open chat: who it is with, and what you can do there.
Checkbox
A labeled checkbox on the Field contract, with the label to its right: pass `label`, and `checked` with `onCheckedChange` (or `defaultChecked`).
CheckboxGroup
checkbox-group
A group of checkboxes under one legend, on the Field contract, for picking any number of choices: pass `legend`, and `options` (or `Checkbox` children).
Checklist
A list of things to tick off, such as a recipe's ingredients or a shopping list: each row a checkbox the whole row toggles, with an optional value and action.
ChoiceCard
choice-card
A set of choices shown as cards, each with a picture, a label and a line of description, for picking exactly one: a cover photo, a plan, a layout.
CodeBlock
code-block
Code or a command on a muted surface in the theme's monospace font, with a caption and a button that copies it.
Collapsible
One section that opens and closes under its title, such as nutrition facts under a recipe.
ColorField
color-field
A color on the Field contract: a swatch that opens the system color picker, next to the same color as hex text, kept in step both ways.
ColorSchemeToggle
color-scheme-toggle
The dark mode control: it switches the app between light, dark and the system's scheme, and keeps the choice.
Combobox
A text input that filters a list of items as people type, on the Field contract: pass `label`, `items`, and `error` from your server action or client check.
Command
A command palette: a searchable list of every action in the app, in a dialog.
ComposedSurface
composed-surface
Draws Ouro's composed tree with Ouro HX, whatever format it came in: core's `ComposedNode`, from A2UI messages, an MCP tool result's `structuredContent.ouro`, or your own code.
Composer
A chat message box: text that grows from one line as the person writes, a send button, and room for the rest of a composer, in one frame with one focus outline.
ConfirmDialog
confirm-dialog
Asks the user to confirm an action, with Cancel focused first.
ConversationFind
conversation-find
The find bar for a conversation: a box with previous and next buttons, the match's place ("2 of 5") and a close button.
ConversationList
conversation-list
A list of conversations to choose from: each row shows the avatar, the title, when the latest message arrived and a line of it, and marks unread conversations with a bold title and a dot.
CopyButton
copy-button
A button that puts a piece of text on the clipboard: an API key, a link, a command.
Cover
A thing's cover: its picture, or, without one, the first letter of its title in the theme's heading font on a solid tint of the muted color toward the primary.
DatePicker
date-picker
A labeled date field.
DescriptionList
description-list
One thing's details as pairs of a term and its value: a recipe's prep time and servings, an order's date and total, an account's email.
Dialog
A dialog that presents itself for the screen: a centered dialog on wider screens and a bottom sheet you can drag away on phones (below 640px).
EditSheet
edit-sheet
Edits something in a form inside a dialog: the whole interaction, done right.
Emoji
One emoji from an image catalogue, drawn as an `<img>` the size of the text around it, named by its `alt` (the emoji's name).
EmojiPicker
emoji-picker
An emoji picker for reactions and for putting emoji into text.
Empty
What a list, search or page shows when it has nothing in it: an icon, a title that says what is empty, a sentence on what to do, and the action that does it.
FamilyBar
family-bar
The slim strip above a site's own header that links every site of a family, the same links in the same order on each, after a small heading that says what it is ("Ouro family").
FamilyFooter
family-footer
The foot of a family's site: the `FamilyBar`'s links, in the same order, in a quiet row that wraps, with the site being shown marked the same way, and the site's own extras (`children`) after them.
Field
A labeled form control: the label, an optional description, the control and its error, wired together with ids that match between the server and the browser.
Fieldset
A titled group of related fields, such as an address, rendered as a `<fieldset>` named by its legend.
FileField
file-field
A labeled file input with a drop zone, on the Field contract.
Form
A form that validates with the browser's own constraints (`required`, `type="email"`, `pattern`) and shows server errors on the matching fields.
Freshness
How old the data on screen is, and whether the app's cache is fetching it again: "Updated 3 minutes ago", with a small icon that turns while it refreshes.
Heading
A section title, `<h1>` to `<h6>`, in the theme's foreground color.
Hero
The top of a page: a headline with an optional line above it (`eyebrow`) and a status beside that (`badge`), a trail above them (`breadcrumb`), a lede under the headline (`description`), the page's buttons (`actions`), more such as a byline (`children`), and a big picture, or something live in its place (`media`), below.
HoverCard
hover-card
A preview of where a link goes, shown when a mouse rests on the link or the keyboard focuses it: a cook's profile, a recipe's summary.
ImageCropper
image-cropper
A dialog for cropping a photo to a shape before it is used: drag the photo (or move it the way the arrow keys point) to choose what shows in the frame, zoom with the slider (or Plus and Minus), and Save hands the cropped image to `onCrop` as a `File`, ready for a form or an upload.
ImageField
image-field
A field for one photo, shown large: the photo already saved (`src`) or the one just chosen, with Choose photo (Change photo once one shows) and Remove.
Inspector
X-ray for a page built with Ouro HX: outlines every Ouro component on the page with its name, linked to its docs, and lists them all for keyboard and screen reader users.
InstallPrompt
install-prompt
A quiet offer to install the web app, shown only where the browser can install it (Chromium on Android and desktops), never while it already runs installed, and not again for two weeks after Not now.
Item
One row of a list: leading media, a title with a description, and trailing actions.
ItemGroup
item-group
A list of `Item` rows, with an optional label that names it, lines between the rows, and what to show when it is empty.
Kbd
A keyboard shortcut, in the reader's platform's notation: `keys={["mod", "k"]}` shows ⌘K on a Mac, iPhone or iPad and Ctrl+K elsewhere.
LevelMeter
level-meter
A small live input level: a row of bars that light from the start edge as a microphone picks up sound, so the person can tell it hears them before anyone else does (before joining a call, in a device menu, in a "test your microphone" row).
Lightbox
Thumbnails that open a full-screen image viewer.
Link
A text link that navigates through your router.
LiveCaptions
live-captions
A caption band for a live call or video: what people are saying, as they say it.
LocalDate
local-date
A date (and time) in the reader's own time zone and language, in a `<time>` that carries the exact instant.
MediaTile
media-tile
A tile for one live picture in a call: a person's camera, their photo when the camera is off, or a shared screen.
Menu
A list of actions that opens from a button, from a right-click or long press, or from a menubar, with one API for all three.
Message
One message in a chat: who wrote it, their avatar and what they wrote, with any attachments under it.
MessageList
message-list
A conversation: `Message`s in a scrolling, labeled region that opens at the newest one.
Moment
A moment in an app's life, shown in the space it is given: nothing here yet, on its way, something failed, a first run, or something finished.
NativeSelect
native-select
A labeled native `<select>` on the Field contract: pass `label`, `options` (or `<option>` children) and `error`.
Navbar
The bar across the top of an app: your brand, the main links and a few controls, with the current page marked `aria-current="page"`, and the link of the section it is in `aria-current="true"`, both underlined in the primary colour, distinct from hover and press highlights.
NavigationMenu
navigation-menu
A row of links where some open a panel of further links, each with a line of description: the navigation of a site with more pages than fit in a bar.
NavigationRail
navigation-rail
The vertical bar of the app's top-level pages on the start edge of a wide screen, as in a chat or mail app or an editor's activity bar: each item an icon over a short label, the current one with its `currentIcon`, a bar on the rail's edge and `aria-current="page"`.
NumberField
number-field
A labeled number input on the Field contract: pass `label`, and `error` from your server action or client check.
OtpField
otp-field
A one-time code entry on the Field contract: one slot per character, with focus that moves as the person types, a whole code pasted at once, and `autoComplete="one-time-code"` so phones offer the code from a text message.
OuroMcpApp
ouro-mcp-app
The view an MCP server returns for agent-composed UI (MCP Apps): the host, such as Claude or ChatGPT, frames it, and it shows the latest tool result's card: Ouro's composed tree in `structuredContent.ouro` with ComposedSurface, once it passes core's `validateTree` against the catalog, its fields starting from `structuredContent.ouro.data`, or A2UI messages in `structuredContent.a2ui` with `A2UISurface`.
PageHeader
page-header
The top of a page: its title with an optional line above it (`eyebrow`), a description under it, the page's actions beside it, and a trail and an image above.
PageShell
page-shell
The page column of a site: centred content with a side gutter that grows with the screen, and a wider column on big screens.
Pagination
Page navigation for a long list: Previous, the page numbers with gaps, and Next, with the current page marked `aria-current="page"`.
Popover
A small panel beside its trigger, for a short form or a few choices: a share link, filters, a quick edit.
Porthole
The status spot: a small round window with one line about how current the app's data is, which opens into the facts behind it.
PreviewBar
preview-bar
A bar for trying a change before keeping it: the app shows a proposal live (a theme, a layout, an edit), and the bar says what it is and offers Keep, Throw away and Compare with the original.
Progress
A bar that shows how far along a task is, or that it is under way when you can't tell.
RadioGroup
radio-group
A group of radios under one legend, on the Field contract, for picking exactly one choice: pass `legend`, and `options` (or `Radio` children).
ReactionBar
reaction-bar
A message's reactions: each one's emoji and how many chose it, with the person's own pressed and tinted, and quick reactions to add with a single press.
ReadReceipt
read-receipt
Who has seen a message, as small faces under it: the first three readers, overlapping, then "+N" for the rest.
RelativeTime
relative-time
How long ago (or how soon) something happens, in the reader's language: "3 days ago", "yesterday", "in 5 minutes", "now", kept current while it shows.
Reorderable
A list the user puts in order: recipe steps, a queue, favorites.
Resizable
Panels side by side (or stacked) with a draggable handle between each pair: a file list beside an editor, a preview above a console.
RouteProgress
route-progress
The thin bar across the top of the screen while the app loads the next page or submits a form, so a click that waits on the server never feels frozen: one global affordance instead of a pending state on every action.
Row
Lays its children out side by side with an even gap, centered up and down.
ScrollArea
scroll-area
A scrolling region with a thin scrollbar in the theme's color, inside a height you set.
SectionHeader
section-header
The head of a section inside a page: its title in the theme's heading font, a short count in small capitals at the end of the row (`meta`), an optional text action such as a link to the whole list, and a hairline under it.
SegmentedControl
segmented-control
An iOS-style segmented control: a row of equal segments with a raised thumb that slides to the checked one, for switching how one view shows its content in place, such as list or grid.
Select
A labeled list of choices on the Field contract: pass `label`, `options` (or `SelectItem` children) and `error` from your server action or client check.
Separator
A thin line in the theme's border color between groups of content, horizontal or vertical.
ShareButton
share-button
A button that shares a link: through the system's share sheet where there is one (phones, Safari), and by copying it where there is not, when it says "Link copied" for two seconds and screen readers hear it once.
Sheet
A panel that slides in from an edge and is dragged back to dismiss: the mobile form of a dialog.
ShowMore
show-more
"Show more" for a long list or a long text.
Sidebar
The column of links down the side of an app, in sections, with the current page marked `aria-current="page"` and a bar at the start edge, distinct from hover and press highlights.
SidebarLayout
sidebar-layout
The shell of an app with a `Sidebar`: the sidebar beside the page from 640px up, in view while the page scrolls, and a sticky top bar with the sidebar's menu button below 640px.
Skeleton
A placeholder that breathes after a second in the shape and size of content that is still loading, so the content takes its place without moving anything.
SkipLink
skip-link
The "Skip to main content" link a keyboard or screen-reader user meets first on every page, so one Tab and Enter jump past the header and navigation.
Slider
A labeled slider on the Field contract: pass `label`, and a `defaultValue` (or `value` with `onValueChange`).
SnapPiP
snap-pip
A floating picture inside a container, such as the person's own camera in a call, that they drag and throw into a corner, where it comes to rest, as a phone's picture in picture does.
Spinner
A small spinning ring that says an action is under way, inline: in a field's adornment, a toast's or a menu entry's icon, or beside the words that say what is happening.
Stack
Lays its children out top to bottom with an even gap.
StackedLayout
stacked-layout
The shell of an app with a `Navbar`: the bar across the top, in view while the page scrolls, an optional `toolbar` under it for the page's own tools, and the page below them in a centered column.
SwipeActions
swipe-actions
A list row with actions beside it that a horizontal swipe reveals: swipe toward the start for the `trailing` actions (Delete, Archive), toward the end for the `leading` ones (Pin).
Switch
A labeled on/off switch on the Field contract, with the label to its right: pass `label`, and `checked` with `onCheckedChange` (or `defaultChecked`).
SyncStatus
sync-status
One line that says where the person's changes are: Saved, Saving…, Offline (kept on this device) or Not saved (the server refused the changes), each with its icon, and Retry while there is a problem.
TabBar
tab-bar
The bar of tabs at the bottom of a phone screen: two to five of the app's top-level pages, each an icon over a short label, with the current page marked `aria-current="page"` and an accent wash.
Table
A data table: a caption, column headers, and rows, from `columns` and `rows` or from parts.
Tabs
Tabs that switch between panels in place: an accessible tab list with roving focus, arrow-key navigation, a line that slides to the selected tab, and 44px tabs on touch screens.
Text
Body text in the theme's type scale and colors.
TextArea
text-area
A labeled multi-line text field on the Field contract, a native `<textarea>`: pass `label`, and `error` from your server action or client check.
TextField
text-field
A labeled one-line text input on the Field contract: pass `label`, and `error` from your server action or client check.
ThemePicker
theme-picker
The look chooser: each look's name in its own heading face and ink, on its own paper, ending in one flat square of its primary, so the name is the specimen.
ThreadLayout
thread-layout
A conversation beside its thread.
ThreadRail
thread-rail
A thread beside its conversation: a labelled landmark with a header and a close button.
ThreadSummary
thread-summary
The line under a post that leads to its thread: who replied, "N replies" (a button that opens the thread) and when the last reply came.
TimeGrid
time-grid
A day, work week or week of hours, with events placed by their times: the calendar grid of a mail or meeting app.
Timer
A countdown timer with its own controls: the time left in large numbers, Start, then Pause and Cancel, Resume when paused, and at zero "Time's up" with Dismiss and Restart.
TimerTray
timer-tray
The timers that are running, paused or finished, in one strip, so a person who leaves a timer's screen can still see it count down, hear it at zero, and stop it.
Toaster
Shows the toasts you send with `toast("Saved")` from `@/lib/ouro/toast`: render it once, at the root of your app, inside `OuroProvider` if you use one, or alone.
Toggle
A button that stays pressed until it is pressed again, such as Bold in a text toolbar.
ToggleGroup
toggle-group
A row of related toggles that share one value, such as text alignment or bold, italic and underline in a toolbar.
Toolbar
A row of controls for one surface, such as an editor's formatting: Button commands and Toggle states, in groups with separators.
Tooltip
A short label that appears beside its trigger on hover and keyboard focus, for an icon button's purpose or a control's shortcut.
TypingIndicator
typing-indicator
The line under a chat that says who is writing: their faces, pulsing dots and "Ned Land is writing…".
UnreadDot
unread-dot
The dot that marks something unread: a small round dot in the theme's primary color, with a spoken label.
Select a component to view its code
Click on any item in the sidebar to get started
Select a component to view its information
A2UISurface
a2ui-surface
Shows the UI an agent composed in A2UI, with Ouro HX: it resolves the messages into core's composed tree, draws it as ComposedSurface does, its fields starting from the surface's data model, and sends a press as A2UI's action message, with what the person entered in a field a button's input is bound to.
Accordion
A stack of titles that each open their own content, for FAQs and long settings pages.
AgentHandoff
agent-handoff
What a person does once they have seen something built for agents: hand it to their coding agent, as one line to paste, with Copy beside it.
AgentPresence
agent-presence
The person's always-visible sign of which of their agents are listening to something on their behalf, such as a meeting, with Stop one click away.
Alert
An inline message in the page: something saved, something failed, something to know before going on.
AppWindow
app-window
A live piece of interface framed as an application's window: a title bar with a label (such as the file the demo lives in) and actions at its end, the working content inside, and the Ouro HX components it is built from along its foot.
AspectRatio
aspect-ratio
A frame that keeps an image, video or map at a fixed shape while its width follows the layout, so the page does not jump when the media loads.
Attachment
A file attached to a chat message, or waiting to be sent with one: an icon for its kind, its name and size, or with `preview` the picture itself.
AttentionCard
attention-card
Something that waits on the person: a mention, a question asked of them or a request still unanswered.
AuthLayout
auth-layout
The page for signing in, signing up or resetting a password: one `Card` in the middle of the screen, with your brand, the title as the page's `<h1>`, the form, and a line under the card.
Autocomplete
Suggestions at the text caret: typing a trigger character, such as `@` for people or `:` for emoji, in a `TextArea` or `TextField` opens a list beside the caret, filtered by what follows the character.
Avatar
A person's picture, or their initials until it loads or when it fails, in a color picked from the name.
Badge
A short label for a status, category or count: "Draft", "Vegan", "3".
Breadcrumb
The trail from the top of the site to the current page: a labelled `<nav>` with an ordered list of links, the last item marked `aria-current="page"`.
BuildChip
build-chip
A compact, neutral chip for the title bar, like Xcode's scheme and activity area: it names the build the window runs ("Official 1.2.3", or "branch · sha" with "+ edits" for local changes not yet in any build), and opens a picker of the official build plus the builds serving now so a person can switch to the official build from the trigger.
Button
A button, or a link styled as one.
ButtonGroup
button-group
Related buttons joined into one control, such as Previous, a page number and Next, or a split button.
Calendar
A month grid to pick a day or a range of days, with the arrow keys or a press.
Card
A surface that groups one thing's content: a media slot across the top, a title with a description and an action, a body, and a footer.
Carousel
A row of slides the user swipes or steps through with Previous and Next buttons: recipe photos, a few featured cards.
Celebrate
A small moment of celebration for something the person finished: confetti bursts from a badge with the message ("List cleared") and screen readers hear the message once.
Chart
A chart drawn in the theme's colors, which people can use without seeing it: a figure named by its `title`, a summary for screen readers, and a table of every value (visible with `showTable`).
ChatHeader
chat-header
The bar above an open chat: who it is with, and what you can do there.
Checkbox
A labeled checkbox on the Field contract, with the label to its right: pass `label`, and `checked` with `onCheckedChange` (or `defaultChecked`).
CheckboxGroup
checkbox-group
A group of checkboxes under one legend, on the Field contract, for picking any number of choices: pass `legend`, and `options` (or `Checkbox` children).
Checklist
A list of things to tick off, such as a recipe's ingredients or a shopping list: each row a checkbox the whole row toggles, with an optional value and action.
ChoiceCard
choice-card
A set of choices shown as cards, each with a picture, a label and a line of description, for picking exactly one: a cover photo, a plan, a layout.
CodeBlock
code-block
Code or a command on a muted surface in the theme's monospace font, with a caption and a button that copies it.
Collapsible
One section that opens and closes under its title, such as nutrition facts under a recipe.
ColorField
color-field
A color on the Field contract: a swatch that opens the system color picker, next to the same color as hex text, kept in step both ways.
ColorSchemeToggle
color-scheme-toggle
The dark mode control: it switches the app between light, dark and the system's scheme, and keeps the choice.
Combobox
A text input that filters a list of items as people type, on the Field contract: pass `label`, `items`, and `error` from your server action or client check.
Command
A command palette: a searchable list of every action in the app, in a dialog.
ComposedSurface
composed-surface
Draws Ouro's composed tree with Ouro HX, whatever format it came in: core's `ComposedNode`, from A2UI messages, an MCP tool result's `structuredContent.ouro`, or your own code.
Composer
A chat message box: text that grows from one line as the person writes, a send button, and room for the rest of a composer, in one frame with one focus outline.
ConfirmDialog
confirm-dialog
Asks the user to confirm an action, with Cancel focused first.
ConversationFind
conversation-find
The find bar for a conversation: a box with previous and next buttons, the match's place ("2 of 5") and a close button.
ConversationList
conversation-list
A list of conversations to choose from: each row shows the avatar, the title, when the latest message arrived and a line of it, and marks unread conversations with a bold title and a dot.
CopyButton
copy-button
A button that puts a piece of text on the clipboard: an API key, a link, a command.
Cover
A thing's cover: its picture, or, without one, the first letter of its title in the theme's heading font on a solid tint of the muted color toward the primary.
DatePicker
date-picker
A labeled date field.
DescriptionList
description-list
One thing's details as pairs of a term and its value: a recipe's prep time and servings, an order's date and total, an account's email.
Dialog
A dialog that presents itself for the screen: a centered dialog on wider screens and a bottom sheet you can drag away on phones (below 640px).
EditSheet
edit-sheet
Edits something in a form inside a dialog: the whole interaction, done right.
Emoji
One emoji from an image catalogue, drawn as an `<img>` the size of the text around it, named by its `alt` (the emoji's name).
EmojiPicker
emoji-picker
An emoji picker for reactions and for putting emoji into text.
Empty
What a list, search or page shows when it has nothing in it: an icon, a title that says what is empty, a sentence on what to do, and the action that does it.
FamilyBar
family-bar
The slim strip above a site's own header that links every site of a family, the same links in the same order on each, after a small heading that says what it is ("Ouro family").
FamilyFooter
family-footer
The foot of a family's site: the `FamilyBar`'s links, in the same order, in a quiet row that wraps, with the site being shown marked the same way, and the site's own extras (`children`) after them.
Field
A labeled form control: the label, an optional description, the control and its error, wired together with ids that match between the server and the browser.
Fieldset
A titled group of related fields, such as an address, rendered as a `<fieldset>` named by its legend.
FileField
file-field
A labeled file input with a drop zone, on the Field contract.
Form
A form that validates with the browser's own constraints (`required`, `type="email"`, `pattern`) and shows server errors on the matching fields.
Freshness
How old the data on screen is, and whether the app's cache is fetching it again: "Updated 3 minutes ago", with a small icon that turns while it refreshes.
Heading
A section title, `<h1>` to `<h6>`, in the theme's foreground color.
Hero
The top of a page: a headline with an optional line above it (`eyebrow`) and a status beside that (`badge`), a trail above them (`breadcrumb`), a lede under the headline (`description`), the page's buttons (`actions`), more such as a byline (`children`), and a big picture, or something live in its place (`media`), below.
HoverCard
hover-card
A preview of where a link goes, shown when a mouse rests on the link or the keyboard focuses it: a cook's profile, a recipe's summary.
ImageCropper
image-cropper
A dialog for cropping a photo to a shape before it is used: drag the photo (or move it the way the arrow keys point) to choose what shows in the frame, zoom with the slider (or Plus and Minus), and Save hands the cropped image to `onCrop` as a `File`, ready for a form or an upload.
ImageField
image-field
A field for one photo, shown large: the photo already saved (`src`) or the one just chosen, with Choose photo (Change photo once one shows) and Remove.
Inspector
X-ray for a page built with Ouro HX: outlines every Ouro component on the page with its name, linked to its docs, and lists them all for keyboard and screen reader users.
InstallPrompt
install-prompt
A quiet offer to install the web app, shown only where the browser can install it (Chromium on Android and desktops), never while it already runs installed, and not again for two weeks after Not now.
Item
One row of a list: leading media, a title with a description, and trailing actions.
ItemGroup
item-group
A list of `Item` rows, with an optional label that names it, lines between the rows, and what to show when it is empty.
Kbd
A keyboard shortcut, in the reader's platform's notation: `keys={["mod", "k"]}` shows ⌘K on a Mac, iPhone or iPad and Ctrl+K elsewhere.
LevelMeter
level-meter
A small live input level: a row of bars that light from the start edge as a microphone picks up sound, so the person can tell it hears them before anyone else does (before joining a call, in a device menu, in a "test your microphone" row).
Lightbox
Thumbnails that open a full-screen image viewer.
Link
A text link that navigates through your router.
LiveCaptions
live-captions
A caption band for a live call or video: what people are saying, as they say it.
LocalDate
local-date
A date (and time) in the reader's own time zone and language, in a `<time>` that carries the exact instant.
MediaTile
media-tile
A tile for one live picture in a call: a person's camera, their photo when the camera is off, or a shared screen.
Menu
A list of actions that opens from a button, from a right-click or long press, or from a menubar, with one API for all three.
Message
One message in a chat: who wrote it, their avatar and what they wrote, with any attachments under it.
MessageList
message-list
A conversation: `Message`s in a scrolling, labeled region that opens at the newest one.
Moment
A moment in an app's life, shown in the space it is given: nothing here yet, on its way, something failed, a first run, or something finished.
NativeSelect
native-select
A labeled native `<select>` on the Field contract: pass `label`, `options` (or `<option>` children) and `error`.
Navbar
The bar across the top of an app: your brand, the main links and a few controls, with the current page marked `aria-current="page"`, and the link of the section it is in `aria-current="true"`, both underlined in the primary colour, distinct from hover and press highlights.
NavigationMenu
navigation-menu
A row of links where some open a panel of further links, each with a line of description: the navigation of a site with more pages than fit in a bar.
NavigationRail
navigation-rail
The vertical bar of the app's top-level pages on the start edge of a wide screen, as in a chat or mail app or an editor's activity bar: each item an icon over a short label, the current one with its `currentIcon`, a bar on the rail's edge and `aria-current="page"`.
NumberField
number-field
A labeled number input on the Field contract: pass `label`, and `error` from your server action or client check.
OtpField
otp-field
A one-time code entry on the Field contract: one slot per character, with focus that moves as the person types, a whole code pasted at once, and `autoComplete="one-time-code"` so phones offer the code from a text message.
OuroMcpApp
ouro-mcp-app
The view an MCP server returns for agent-composed UI (MCP Apps): the host, such as Claude or ChatGPT, frames it, and it shows the latest tool result's card: Ouro's composed tree in `structuredContent.ouro` with ComposedSurface, once it passes core's `validateTree` against the catalog, its fields starting from `structuredContent.ouro.data`, or A2UI messages in `structuredContent.a2ui` with `A2UISurface`.
PageHeader
page-header
The top of a page: its title with an optional line above it (`eyebrow`), a description under it, the page's actions beside it, and a trail and an image above.
PageShell
page-shell
The page column of a site: centred content with a side gutter that grows with the screen, and a wider column on big screens.
Pagination
Page navigation for a long list: Previous, the page numbers with gaps, and Next, with the current page marked `aria-current="page"`.
Popover
A small panel beside its trigger, for a short form or a few choices: a share link, filters, a quick edit.
Porthole
The status spot: a small round window with one line about how current the app's data is, which opens into the facts behind it.
PreviewBar
preview-bar
A bar for trying a change before keeping it: the app shows a proposal live (a theme, a layout, an edit), and the bar says what it is and offers Keep, Throw away and Compare with the original.
Progress
A bar that shows how far along a task is, or that it is under way when you can't tell.
RadioGroup
radio-group
A group of radios under one legend, on the Field contract, for picking exactly one choice: pass `legend`, and `options` (or `Radio` children).
ReactionBar
reaction-bar
A message's reactions: each one's emoji and how many chose it, with the person's own pressed and tinted, and quick reactions to add with a single press.
ReadReceipt
read-receipt
Who has seen a message, as small faces under it: the first three readers, overlapping, then "+N" for the rest.
RelativeTime
relative-time
How long ago (or how soon) something happens, in the reader's language: "3 days ago", "yesterday", "in 5 minutes", "now", kept current while it shows.
Reorderable
A list the user puts in order: recipe steps, a queue, favorites.
Resizable
Panels side by side (or stacked) with a draggable handle between each pair: a file list beside an editor, a preview above a console.
RouteProgress
route-progress
The thin bar across the top of the screen while the app loads the next page or submits a form, so a click that waits on the server never feels frozen: one global affordance instead of a pending state on every action.
Row
Lays its children out side by side with an even gap, centered up and down.
ScrollArea
scroll-area
A scrolling region with a thin scrollbar in the theme's color, inside a height you set.
SectionHeader
section-header
The head of a section inside a page: its title in the theme's heading font, a short count in small capitals at the end of the row (`meta`), an optional text action such as a link to the whole list, and a hairline under it.
SegmentedControl
segmented-control
An iOS-style segmented control: a row of equal segments with a raised thumb that slides to the checked one, for switching how one view shows its content in place, such as list or grid.
Select
A labeled list of choices on the Field contract: pass `label`, `options` (or `SelectItem` children) and `error` from your server action or client check.
Separator
A thin line in the theme's border color between groups of content, horizontal or vertical.
ShareButton
share-button
A button that shares a link: through the system's share sheet where there is one (phones, Safari), and by copying it where there is not, when it says "Link copied" for two seconds and screen readers hear it once.
Sheet
A panel that slides in from an edge and is dragged back to dismiss: the mobile form of a dialog.
ShowMore
show-more
"Show more" for a long list or a long text.
Sidebar
The column of links down the side of an app, in sections, with the current page marked `aria-current="page"` and a bar at the start edge, distinct from hover and press highlights.
SidebarLayout
sidebar-layout
The shell of an app with a `Sidebar`: the sidebar beside the page from 640px up, in view while the page scrolls, and a sticky top bar with the sidebar's menu button below 640px.
Skeleton
A placeholder that breathes after a second in the shape and size of content that is still loading, so the content takes its place without moving anything.
SkipLink
skip-link
The "Skip to main content" link a keyboard or screen-reader user meets first on every page, so one Tab and Enter jump past the header and navigation.
Slider
A labeled slider on the Field contract: pass `label`, and a `defaultValue` (or `value` with `onValueChange`).
SnapPiP
snap-pip
A floating picture inside a container, such as the person's own camera in a call, that they drag and throw into a corner, where it comes to rest, as a phone's picture in picture does.
Spinner
A small spinning ring that says an action is under way, inline: in a field's adornment, a toast's or a menu entry's icon, or beside the words that say what is happening.
Stack
Lays its children out top to bottom with an even gap.
StackedLayout
stacked-layout
The shell of an app with a `Navbar`: the bar across the top, in view while the page scrolls, an optional `toolbar` under it for the page's own tools, and the page below them in a centered column.
SwipeActions
swipe-actions
A list row with actions beside it that a horizontal swipe reveals: swipe toward the start for the `trailing` actions (Delete, Archive), toward the end for the `leading` ones (Pin).
Switch
A labeled on/off switch on the Field contract, with the label to its right: pass `label`, and `checked` with `onCheckedChange` (or `defaultChecked`).
SyncStatus
sync-status
One line that says where the person's changes are: Saved, Saving…, Offline (kept on this device) or Not saved (the server refused the changes), each with its icon, and Retry while there is a problem.
TabBar
tab-bar
The bar of tabs at the bottom of a phone screen: two to five of the app's top-level pages, each an icon over a short label, with the current page marked `aria-current="page"` and an accent wash.
Table
A data table: a caption, column headers, and rows, from `columns` and `rows` or from parts.
Tabs
Tabs that switch between panels in place: an accessible tab list with roving focus, arrow-key navigation, a line that slides to the selected tab, and 44px tabs on touch screens.
Text
Body text in the theme's type scale and colors.
TextArea
text-area
A labeled multi-line text field on the Field contract, a native `<textarea>`: pass `label`, and `error` from your server action or client check.
TextField
text-field
A labeled one-line text input on the Field contract: pass `label`, and `error` from your server action or client check.
ThemePicker
theme-picker
The look chooser: each look's name in its own heading face and ink, on its own paper, ending in one flat square of its primary, so the name is the specimen.
ThreadLayout
thread-layout
A conversation beside its thread.
ThreadRail
thread-rail
A thread beside its conversation: a labelled landmark with a header and a close button.
ThreadSummary
thread-summary
The line under a post that leads to its thread: who replied, "N replies" (a button that opens the thread) and when the last reply came.
TimeGrid
time-grid
A day, work week or week of hours, with events placed by their times: the calendar grid of a mail or meeting app.
Timer
A countdown timer with its own controls: the time left in large numbers, Start, then Pause and Cancel, Resume when paused, and at zero "Time's up" with Dismiss and Restart.
TimerTray
timer-tray
The timers that are running, paused or finished, in one strip, so a person who leaves a timer's screen can still see it count down, hear it at zero, and stop it.
Toaster
Shows the toasts you send with `toast("Saved")` from `@/lib/ouro/toast`: render it once, at the root of your app, inside `OuroProvider` if you use one, or alone.
Toggle
A button that stays pressed until it is pressed again, such as Bold in a text toolbar.
ToggleGroup
toggle-group
A row of related toggles that share one value, such as text alignment or bold, italic and underline in a toolbar.
Toolbar
A row of controls for one surface, such as an editor's formatting: Button commands and Toggle states, in groups with separators.
Tooltip
A short label that appears beside its trigger on hover and keyboard focus, for an icon button's purpose or a control's shortcut.
TypingIndicator
typing-indicator
The line under a chat that says who is writing: their faces, pulsing dots and "Ned Land is writing…".
UnreadDot
unread-dot
The dot that marks something unread: a small round dot in the theme's primary color, with a spoken label.
Select a component to view its code
Click on any item in the sidebar to get started
Select a component to view its information