# Supply UI components

Supply UI 1.1.0: 206 components. Each has a page at https://www.supply.family/ui/components/<name>/ and this text at /ui/components/<name>.md.

## AI assistants

- [AgentActivity](agent-activity.md) — A list of what was changed and by whom (the person, the assistant, the app), newest first, with a button that puts back everything the assistant changed and keeps what the person changed after it

## Actions and forms

- [Autocomplete](autocomplete.md) — A text field that suggests while the person types
- [Board](board.md) — Columns of cards moved by dragging, or with Space and the arrows: bookings by status, tasks
- [Button](button.md) — `variant`: `default` (soft grey), `primary`, `outline`, `ghost` (quieter: a lighter grey behind words, nothing behind an icon or inside another control), `danger`, `link`
- [ButtonGroup](button-group.md) — Buttons joined into one control
- [ButtonLink](button-link.md) — A link that looks like a button; the classes for a Next.js `<Link>`
- [Calendar](calendar.md) — A month to pick from, when the days themselves matter (a booking)
- [CalendarMonths](calendar-months.md) — part of Calendar
- [Checkbox](checkbox.md) — On, off, one of several
- [CheckboxGroup](checkbox-group.md) — Several of several, kept as one list of values
- [ChipButton](chip-button.md) — A filter that is on or off; a row of them filters a list
- [Choice](choice.md) — A radio or checkbox as a whole card: plans, methods
- [CodeInput](code-input.md) — A code typed one character per box: a verification code, a PIN
- [ColorPicker](color-picker.md) — Pick any colour, as a CSS colour like `#0ea5e9`
- [Combobox](combobox.md) — A dropdown to type in; use it from about ten options up
- [CopyButton](copy-button.md) — Copies a link, a code or a command and says "Copied"
- [DateInput](date-input.md) — A date, or a time, typed one part at a time in the order the person's language writes it: for dates known by heart, like a birthday
- [DatePicker](date-picker.md) — A field to type a date in, with a calendar to pick it from; a sheet on a phone
- [Field](field.md) — Label, control, and a hint or error under it
- [Fieldset](fieldset.md) — A named group of fields
- [FileDrop](file-drop.md) — A box to drop files on, paste them into, or choose them with its button
- [FormRow](form-row.md) — A settings row: what it is on the left, the control on the right
- [ImageCropper](image-cropper.md) — Choose the part of a picture to keep
- [Input](input.md) — Text
- [InputGroup](input-group.md) — A field with an icon, a unit ("€", "/ month") or a small button inside; the text field in it is `InputGroupInput`
- [InputGroupInput](input-group-input.md) — A field with an icon, a unit ("€", "/ month") or a small button inside; the text field in it is `InputGroupInput`
- [InputGroupText](input-group-text.md) — A field with an icon, a unit ("€", "/ month") or a small button inside; the text field in it is `InputGroupInput`
- [Listbox](listbox.md) — Options that stay in view, one or several: like a dropdown that is always open
- [MultiCombobox](multi-combobox.md) — Several options chosen by typing; each becomes a chip in the field: people on a task, tags
- [MultiSelect](multi-select.md) — The same dropdown for several choices: each press ticks or unticks one
- [NativeSelect](native-select.md) — The browser's own select, drawn to match
- [NumberInput](number-input.md) — A number with minus and plus buttons
- [PasswordInput](password-input.md) — A password with a show/hide button
- [Radio](radio.md) — On, off, one of several
- [RadioGroup](radio-group.md) — On, off, one of several
- [RangeSlider](range-slider.md) — A slider with two ends: a price from and to
- [Rating](rating.md) — Stars to give a score, or to show one (`readOnly`, where any number shows, like 4.2)
- [ResizableHandle](resizable-handle.md) — Panels side by side the person resizes: a list beside its detail
- [ResizablePanel](resizable-panel.md) — Panels side by side the person resizes: a list beside its detail
- [ResizablePanels](resizable-panels.md) — Panels side by side the person resizes: a list beside its detail
- [SearchInput](search-input.md) — A search field with its icon
- [Segmented](segmented.md) — Two to five choices, one always chosen
- [Select](select.md) — Designed dropdown, one choice; sends its value with the form
- [Slider](slider.md) — A number in a range
- [Sortable](sortable.md) — A list the person puts in order by dragging rows, or with Space and the arrows
- [Switch](switch.md) — On, off, one of several
- [Textarea](textarea.md) — Text
- [TimeInput](time-input.md) — A date, or a time, typed one part at a time in the order the person's language writes it: for dates known by heart, like a birthday
- [Toggle](toggle.md) — A button that stays on or off: pin, mute
- [ToggleGroup](toggle-group.md) — Toggles that share one value: text styles, a view switcher
- [TokenInput](token-input.md) — Text with tokens in it: people mentioned in a message, files in a prompt, tags
- [Tree](tree.md) — Things inside things: folders and files, categories
- [TriggerInput](trigger-input.md) — A plain text field that suggests at the caret after `@`, `/` or `#`; the value stays plain text

## Helpers

- [ColorSchemeProvider](color-scheme-provider.md) — Lets the person choose light or dark for themselves, on their own device
- [ColorSchemeSwitch](color-scheme-switch.md) — Lets the person choose light or dark for themselves, on their own device
- [Icon](icon.md) — A `lucide-react` icon in the theme's size and weight: `<Icon icon={Search} />`; give `label` when the icon alone says something
- [Kbd](kbd.md) — A key or a shortcut written in a sentence: `<Kbd>⌘K</Kbd>`
- [Label](label.md) — A label over a group of controls that is not one field (`Field` labels a single field)
- [Preferences](preferences.md) — A choice the person makes once and keeps in their browser: list or grid view, an open sidebar
- [ToastMark](toast-mark.md) — The round mark a toast shows (success, info, warning, error, loading), for a message shaped like a toast that is not one
- [UIProvider](ui-provider.md) — The language of the kit's own words, and of its dates and numbers, set once in the root layout (see Every language, every direction, every eye)

## Layout

- [AppShell](app-shell.md) — Sidebar and main area; the sidebar becomes a top strip on a phone
- [Bleed](bleed.md) — A band the full width of the window from inside a `Container`: a tinted section, a row of pictures
- [Burger](burger.md) — The two-line button that opens the menu on a small screen; the lines cross into an X when it is open
- [Container](container.md) — Centred column for pages without a sidebar, as wide as the theme's `width`; `narrow` is a reading column
- [Grid](grid.md) — Equal columns, as many as fit
- [ItemText](item-text.md) — A name and a line under it: a person and their role, a product and its price, a file and its size
- [Main](main.md) — Sidebar and main area; the sidebar becomes a top strip on a phone
- [Nav](nav.md) — Links in the sidebar
- [NavItem](nav-item.md) — Links in the sidebar
- [PageHeader](page-header.md) — Title on the left, actions on the right
- [PageTransition](page-transition.md) — Wraps one page's content (in Next.js, in each `page.tsx`) so going to it is smooth: the old page fades out, this one fades and rises in, and the sidebar, site header and tab bar stay still
- [Row](row.md) — Things next to each other; wraps
- [Separator](separator.md) — A dividing line
- [Sidebar](sidebar.md) — Sidebar and main area; the sidebar becomes a top strip on a phone
- [SitePage](site-page.md) — One page of a site: the header, the page's sections (each a direct child) and the footer in the page column, spaced for you (see The page)
- [Split](split.md) — A side part and a main part next to each other (a sidebar and its page, a rail and its list) that stack when the box is too narrow for the main part to keep `at` of its width (a share like `55%`; a length is never wider than the box)
- [Stack](stack.md) — Things under each other

## On top of the page

- [AlertDialog](alert-dialog.md) — A question that must be answered: delete, discard
- [AlertDialogClose](alert-dialog-close.md) — A question that must be answered: delete, discard
- [AlertDialogContent](alert-dialog-content.md) — A question that must be answered: delete, discard
- [AlertDialogTrigger](alert-dialog-trigger.md) — A question that must be answered: delete, discard
- [ContextMenu](context-menu.md) — The same menu on right-click or long press, with the same `MenuItem`s
- [ContextMenuContent](context-menu-content.md) — The same menu on right-click or long press, with the same `MenuItem`s
- [ContextMenuTrigger](context-menu-trigger.md) — The same menu on right-click or long press, with the same `MenuItem`s
- [Dialog](dialog.md) — A task in a window; `drawer` slides in from the right for details, `sheet` rises from the bottom (best on a phone)
- [DialogClose](dialog-close.md) — A task in a window; `drawer` slides in from the right for details, `sheet` rises from the bottom (best on a phone)
- [DialogContent](dialog-content.md) — A task in a window; `drawer` slides in from the right for details, `sheet` rises from the bottom (best on a phone)
- [DialogDescription](dialog-description.md) — part of Dialog
- [DialogFooter](dialog-footer.md) — part of Dialog
- [DialogHeader](dialog-header.md) — part of Dialog
- [DialogTitle](dialog-title.md) — part of Dialog
- [DialogTrigger](dialog-trigger.md) — part of Dialog
- [Drawer](drawer.md) — A panel from an edge that the person drags: swipe it away, or rest it at several heights (`snapPoints={[0.5, 0.9]}` with `handle="button"`)
- [DrawerBody](drawer-body.md) — A panel from an edge that the person drags: swipe it away, or rest it at several heights (`snapPoints={[0.5, 0.9]}` with `handle="button"`)
- [DrawerClose](drawer-close.md) — A panel from an edge that the person drags: swipe it away, or rest it at several heights (`snapPoints={[0.5, 0.9]}` with `handle="button"`)
- [DrawerContent](drawer-content.md) — A panel from an edge that the person drags: swipe it away, or rest it at several heights (`snapPoints={[0.5, 0.9]}` with `handle="button"`)
- [DrawerDescription](drawer-description.md) — A panel from an edge that the person drags: swipe it away, or rest it at several heights (`snapPoints={[0.5, 0.9]}` with `handle="button"`)
- [DrawerFooter](drawer-footer.md) — A panel from an edge that the person drags: swipe it away, or rest it at several heights (`snapPoints={[0.5, 0.9]}` with `handle="button"`)
- [DrawerHeader](drawer-header.md) — A panel from an edge that the person drags: swipe it away, or rest it at several heights (`snapPoints={[0.5, 0.9]}` with `handle="button"`)
- [DrawerTitle](drawer-title.md) — A panel from an edge that the person drags: swipe it away, or rest it at several heights (`snapPoints={[0.5, 0.9]}` with `handle="button"`)
- [DrawerTrigger](drawer-trigger.md) — A panel from an edge that the person drags: swipe it away, or rest it at several heights (`snapPoints={[0.5, 0.9]}` with `handle="button"`)
- [HoverCard](hover-card.md) — A small card when a link is hovered or focused: a person, a record
- [MenuCheckboxItem](menu-checkbox-item.md) — Menu rows that tick: "Show weekends", "Sort by"
- [MenuGroup](menu-group.md) — Actions on a thing (the "⋯" button of a row)
- [MenuItem](menu-item.md) — Actions on a thing (the "⋯" button of a row)
- [MenuLabel](menu-label.md) — Actions on a thing (the "⋯" button of a row)
- [MenuLinkItem](menu-link-item.md) — Actions on a thing (the "⋯" button of a row)
- [MenuRadioGroup](menu-radio-group.md) — Menu rows that tick: "Show weekends", "Sort by"
- [MenuRadioItem](menu-radio-item.md) — Menu rows that tick: "Show weekends", "Sort by"
- [MenuSeparator](menu-separator.md) — Actions on a thing (the "⋯" button of a row)
- [MenuSub](menu-sub.md) — A menu inside a menu: "Export" with its formats
- [MenuSubContent](menu-sub-content.md) — A menu inside a menu: "Export" with its formats
- [MenuSubTrigger](menu-sub-trigger.md) — A menu inside a menu: "Export" with its formats
- [MenuTrigger](menu-trigger.md) — Actions on a thing (the "⋯" button of a row)
- [Notification](notification.md) — Things that happened and stay until read: a list in a `Popover` under a bell (an icon `Button` with a `Count` inside), or on a page of its own
- [Notifications](notifications.md) — Things that happened and stay until read: a list in a `Popover` under a bell (an icon `Button` with a `Count` inside), or on a page of its own
- [Popover](popover.md) — A small panel next to its button
- [PopoverClose](popover-close.md) — part of Popover
- [PopoverContent](popover-content.md) — A small panel next to its button
- [PopoverDescription](popover-description.md) — A small panel next to its button
- [PopoverTitle](popover-title.md) — A small panel next to its button
- [PopoverTrigger](popover-trigger.md) — A small panel next to its button
- [Toaster](toaster.md) — A message that pops up and leaves by itself: "Saved"
- [Tooltip](tooltip.md) — The name of an icon button
- [TooltipProvider](tooltip-provider.md) — part of Tooltip

## Other parts

- [AgentBridge](agent-bridge.md)
- [ThemeEditor](theme-editor.md)
- [ThemeStyle](theme-style.md)

## Showing things

- [Accordion](accordion.md) — Questions and answers
- [AccordionItem](accordion-item.md) — Questions and answers
- [Alert](alert.md) — A message that stays on the page
- [AspectRatio](aspect-ratio.md) — Keeps a shape for an image, video or map
- [Avatar](avatar.md) — A person
- [AvatarGroup](avatar-group.md) — Avatars overlapping in a row
- [Badge](badge.md) — A status word
- [Banner](banner.md) — A message across the top of the page
- [Bars](bars.md) — A small bar chart; the bar that matters is in the brand colour, the rest plain or hatched
- [Breadcrumb](breadcrumb.md) — Where this page sits
- [Card](card.md) — One thing lifted out of the page: an item a person picks or acts on (a room, an order, a file), or one task (a form, a group of settings)
- [CardBody](card-body.md) — One thing lifted out of the page: an item a person picks or acts on (a room, an order, a file), or one task (a form, a group of settings)
- [CardCover](card-cover.md) — A painted picture (see Patterns below)
- [CardDescription](card-description.md) — One thing lifted out of the page: an item a person picks or acts on (a room, an order, a file), or one task (a form, a group of settings)
- [CardFooter](card-footer.md) — One thing lifted out of the page: an item a person picks or acts on (a room, an order, a file), or one task (a form, a group of settings)
- [CardHeader](card-header.md) — One thing lifted out of the page: an item a person picks or acts on (a room, an order, a file), or one task (a form, a group of settings)
- [CardTitle](card-title.md) — One thing lifted out of the page: an item a person picks or acts on (a room, an order, a file), or one task (a form, a group of settings)
- [Carousel](carousel.md) — A row to swipe through; each child is one item
- [Cell](cell.md) — Small facts side by side, each a label over a value, inside a card or a dialog (they are filled with the page's own grey, so on the page they cannot be seen: use `Stat`s there)
- [Cells](cells.md) — Small facts side by side, each a label over a value, inside a card or a dialog (they are filled with the page's own grey, so on the page they cannot be seen: use `Stat`s there)
- [Checklist](checklist.md) — Rules or steps that tick themselves as they are met: a password's rules, a setup's steps
- [Chip](chip.md) — A category or a tag, with an optional icon
- [ChipRemove](chip-remove.md) — The "×" inside a chip that takes it away
- [Collapsible](collapsible.md) — One thing that opens ("Advanced options")
- [CommandPalette](command-palette.md) — Search for a page or an action and run it from the keyboard (⌘K)
- [Count](count.md) — A count on a tab, a nav item or a bell
- [Cover](cover.md) — The top of a public page: a picture (painted from `seed`, or `image={<img … />}`) filling a band the width of the window, with a solid panel over it holding a title, a line and a button or a small form
- [DescriptionList](description-list.md) — Facts about one thing, name left and value right, with a hairline between the rows: details, contacts, opening hours
- [Divider](divider.md) — A line with a word in the middle: "or"
- [Empty](empty.md) — An empty list, with the first action inside
- [Figure](figure.md) — One very large, light number: the main fact of a card
- [Inset](inset.md) — A quieter panel inside a card, for a second group
- [List](list.md) — Rows with a line between: settings, people, files
- [ListItem](list-item.md) — Rows with a line between: settings, people, files
- [Logo](logo.md) — The site's logo
- [Menu](menu.md) — The menus of an application in one row: File, Edit, View
- [Menubar](menubar.md) — The menus of an application in one row: File, Edit, View
- [MenubarTrigger](menubar-trigger.md) — The menus of an application in one row: File, Edit, View
- [MenuContent](menu-content.md) — The menus of an application in one row: File, Edit, View
- [Meter](meter.md) — A reading within a known range: storage used, seats taken, a quota
- [NavigationMenu](navigation-menu.md) — A site's main links in a row (in a page's header, use `SiteHeader`, which folds them on a phone), some with a panel of links that opens under them
- [Pagination](pagination.md) — Pages of a list
- [Pattern](pattern.md) — A painted picture (see Patterns below)
- [PatternAvatar](pattern-avatar.md) — A person or a thing without a photo: a small painted circle, always the same for the same name
- [PickTile](pick-tile.md) — A picture to pick (photos to keep, a cover to use): the picture and a `Checkbox` inside, ringed in ink when picked
- [Picture](picture.md) — A picture on its own, with the kit's corners: in a section, a carousel, beside text
- [Pre](pre.md) — A block of code or a command
- [Progress](progress.md) — Loading
- [Prose](prose.md) — Long text that came as plain HTML: a help page, an article
- [Ring](ring.md) — A ring that fills up: a share, a score
- [ScrollArea](scroll-area.md) — A box that scrolls inside the page, with scrollbars drawn to match and a soft fade where there is more
- [SiteHeader](site-header.md) — The header of a public page or site, inside the page's `Container` (see The page): the brand (a plain name is drawn as a `Logo`), the main links (the same `items` as `NavigationMenu`) and one or two `actions` in one line
- [SiteMenu](site-menu.md) — The header of a public page or site, inside the page's `Container` (see The page): the brand (a plain name is drawn as a `Logo`), the main links (the same `items` as `NavigationMenu`) and one or two `actions` in one line
- [Skeleton](skeleton.md) — Loading
- [SortHeader](sort-header.md) — A column heading that sorts the table; a chosen row is `aria-selected="true"`
- [Sparkline](sparkline.md) — A small line chart next to a number
- [Spinner](spinner.md) — Loading
- [Stat](stat.md) — One number with its label
- [Steps](steps.md) — Where the person is in a task with a few steps
- [Tab](tab.md) — Views of one thing; `variant="pills"` for the round style
- [TabBar](tab-bar.md) — The main sections at the bottom of a phone screen; it sticks to the bottom of the window, except as the last child of a `Card` or dialog, where it is that box's bottom edge
- [TabBarItem](tab-bar-item.md) — The main sections at the bottom of a phone screen; it sticks to the bottom of the window, except as the last child of a `Card` or dialog, where it is that box's bottom edge
- [TabBarLabel](tab-bar-label.md) — The main sections at the bottom of a phone screen; it sticks to the bottom of the window, except as the last child of a `Card` or dialog, where it is that box's bottom edge
- [Table](table.md) — Data in rows
- [Tabs](tabs.md) — Views of one thing; `variant="pills"` for the round style
- [TabsList](tabs-list.md) — Views of one thing; `variant="pills"` for the round style
- [TabsPanel](tabs-panel.md) — Views of one thing; `variant="pills"` for the round style
- [Timeline](timeline.md) — What happened, in order
- [TimelineItem](timeline-item.md) — What happened, in order
- [Toolbar](toolbar.md) — A row of controls above a list, an editor or a canvas
- [ToolbarButton](toolbar-button.md) — A row of controls above a list, an editor or a canvas
- [ToolbarGroup](toolbar-group.md) — A row of controls above a list, an editor or a canvas
- [ToolbarInput](toolbar-input.md) — A row of controls above a list, an editor or a canvas
- [ToolbarLink](toolbar-link.md) — A row of controls above a list, an editor or a canvas
- [ToolbarSeparator](toolbar-separator.md) — A row of controls above a list, an editor or a canvas
- [Trend](trend.md) — Up or down next to a number
- [Waterfall](waterfall.md) — Things that start and last, as bars on one time axis: a page's requests, the steps of a job
