# Senvenli UI > An open-source React design system on React Aria. A theme engine derives a full, WCAG AA-checked theme from zero to three colors. Every component page is also available as Markdown and JSON for agents. - Install: `npm i @senvenli/react` - Theme: get the CSS from the theme builder (/create, "Get code"), or generate it in code with `createTheme` and `toCSS` from `@senvenli/tokens` (the theme engine, installed with `@senvenli/react`). - Schema of the component JSON: https://design.senvenli.com/schema/component.full.json ## Docs - [Introduction](https://design.senvenli.com/docs/introduction.md): A themeable React design system, built on React Aria, that checks its own colors. - [Getting started](https://design.senvenli.com/docs/getting-started.md): Install the package, add a theme, set up Tailwind and wrap your app. - [Theming](https://design.senvenli.com/docs/theming.md): Zero to three colors and a few layout settings in, a full light and dark theme out. - [Dark mode](https://design.senvenli.com/docs/dark-mode.md): Light, dark or the device's setting, applied before the first paint. - [Languages and RTL](https://design.senvenli.com/docs/languages-and-rtl.md): The components speak English; your app adds its languages and right-to-left support comes built in. - [Native apps](https://design.senvenli.com/docs/native-apps.md): The same colors for iOS and Android apps, as plain hex values. - [Agents and AI](https://design.senvenli.com/docs/agents.md): Every page as Markdown and JSON, llms.txt, and an MCP server for coding agents. - [Design rules](https://design.senvenli.com/docs/design-rules.md): The few rules every component follows, so screens look calm and read clearly. - [Accessibility](https://design.senvenli.com/docs/accessibility.md): What the components do for you, and what is left for you to provide. ## Display - [Avatar](https://design.senvenli.com/docs/components/avatar.md): A person or a company shown by photo, initials or icon, alone or in a stacked group. - [Badge](https://design.senvenli.com/docs/components/badge.md): A short label beside content: a record's status in a pill (subtle or bold), a live state as a dot and a word, or a count. - [Card](https://design.senvenli.com/docs/components/card.md): A surface that groups related content about one object, optionally a link or a button as a whole. - [Carousel](https://design.senvenli.com/docs/components/carousel.md): Pages through a set of images with previous/next and optional thumbnails; never auto-advances. - [Description list](https://design.senvenli.com/docs/components/description-list.md): Labeled facts about one record, in rows or stacked columns; empty values read as "Not set", and a value may be copyable. - [Heading](https://design.senvenli.com/docs/components/heading.md): A page or section title on the type scale, with its HTML level separate from its size. - [Icon](https://design.senvenli.com/docs/components/icon.md): Draws any Lucide icon by name, sized and colored with theme tokens. - [Image](https://design.senvenli.com/docs/components/image.md): A picture in a box that keeps its shape while it loads, with a fallback when it cannot load. - [Image viewer](https://design.senvenli.com/docs/components/image-viewer.md): A full-screen dark lightbox with previous/next that cycle, arrow keys, a position caption and a filmstrip. - [Kbd](https://design.senvenli.com/docs/components/kbd.md): A keyboard key or shortcut shown as a keycap in help text, menus and tooltips. - [Separator](https://design.senvenli.com/docs/components/separator.md): A thin line between groups that spacing alone does not separate, optionally with a short label. - [Stat](https://design.senvenli.com/docs/components/stat.md): A key figure with its label, an optional change against a named period and a sparkline. - [Text](https://design.senvenli.com/docs/components/text.md): Body copy, captions and inline text on the type scale, plus Prose for long rich text. - [Timeline](https://design.senvenli.com/docs/components/timeline.md): A record's history grouped by day, with icons, tones and recent events in relative time. - [Visually hidden](https://design.senvenli.com/docs/components/visually-hidden.md): Text that screen readers read but the page does not show. ## Action - [Button](https://design.senvenli.com/docs/components/button.md): Starts an action on this page or submits a form. - [Button group](https://design.senvenli.com/docs/components/button-group.md): Groups related buttons into one control, or joins a main action with its options as a split button. - [Close button](https://design.senvenli.com/docs/components/close-button.md): The icon-only button that closes a dialog, sheet, banner or panel, named "Close" in the current language. - [Copy button](https://design.senvenli.com/docs/components/copy-button.md): Copies a value to the clipboard; the icon turns into a check and a status says it was copied. - [Floating action button](https://design.senvenli.com/docs/components/fab.md): Keeps one task reachable over scrolling content, as a button or a link, collapsing to its icon on phones. - [Language switcher](https://design.senvenli.com/docs/components/language-switcher.md): Picks the interface language: each option named in the current language and sorted by that name, with an optional mark (a flag, a code chip) supplied by the app. - [Link](https://design.senvenli.com/docs/components/link.md): Text that goes to another page, inline in running text or as a standalone subtle link. - [Pressable](https://design.senvenli.com/docs/components/pressable.md): A Box that is a button or a link as a whole, for custom tiles and rows. - [Theme switcher](https://design.senvenli.com/docs/components/theme-switcher.md): Lets people choose system, light or dark theme, stored per device and applied before first paint. - [Toggle button](https://design.senvenli.com/docs/components/toggle-button.md): A button that stays pressed or not, alone or in a group where one or several options are on. ## Layout - [Box](https://design.senvenli.com/docs/components/box.md): A container with token-only padding, background, radius, border and shadow. - [Grid](https://design.senvenli.com/docs/components/grid.md): Equal columns, fixed or auto-fit to a minimum width, with a token gap. - [Scroll area](https://design.senvenli.com/docs/components/scroll-area.md): A region that scrolls inside a height limit with thin themed scrollbars, keyboard reachable. - [Section](https://design.senvenli.com/docs/components/section.md): Full-width page bands with a centered container; the heading that names a band is yours. - [Split](https://design.senvenli.com/docs/components/split.md): Panes side by side that stack below a width of the layout itself: split screens, list and detail, media and text. - [Stack](https://design.senvenli.com/docs/components/stack.md): Stacks children vertically with a token gap. - [Toolbar](https://design.senvenli.com/docs/components/toolbar.md): A row of controls above a list or table; BulkBar shows actions for the selected rows. ## Feedback - [Banner](https://design.senvenli.com/docs/components/banner.md): A message about the page or the whole app, inline or floating, in an information, warning, danger or success tone. - [Empty state](https://design.senvenli.com/docs/components/empty-state.md): Explains why a view has no content or failed to load, and offers the action that changes that. - [Meter](https://design.senvenli.com/docs/components/meter.md): A segmented gauge for a quantity within a known range, with warning and danger thresholds. - [Progress](https://design.senvenli.com/docs/components/progress.md): Shows how far a task has got, as a bar or a circle, determinate or indeterminate. - [Skeleton](https://design.senvenli.com/docs/components/skeleton.md): Placeholder shapes in the layout of content that is still loading. - [Spinner](https://design.senvenli.com/docs/components/spinner.md): A small indeterminate loading indicator. ## Form - [Field](https://design.senvenli.com/docs/components/field.md): A label, hint and error row around any control, wired for screen readers; plus the label, description and error parts. - [File upload](https://design.senvenli.com/docs/components/file-upload.md): Pick files with a button or by dropping them, validate size and type, and show each file with its progress or error. - [Form](https://design.senvenli.com/docs/components/form.md): A form with consistent rhythm, sections with legends, side-by-side rows and a footer for its actions. - [Image cropper](https://design.senvenli.com/docs/components/image-cropper.md): Frames one picked image to the shape a surface needs: pan, zoom, rotate, an aspect preset, and the output as a file. - [Input](https://design.senvenli.com/docs/components/input.md): One text-entry field with a label, description and error; `type` picks text, email, url, password, search, number or tel. - [Input group](https://design.senvenli.com/docs/components/input-group.md): Joins an input with addons (text, icons) and actions (buttons) into one bordered control. - [One-time code](https://design.senvenli.com/docs/components/otp-field.md): Boxes for a one-time verification code, with paste, autofill and a resend cooldown. - [Text area](https://design.senvenli.com/docs/components/text-area.md): A multi-line text input that grows with its content, with an optional character count. ## Selection - [Autocomplete](https://design.senvenli.com/docs/components/autocomplete.md): Free text with suggestions loaded as people type, grouped and with detail lines. - [Checkbox](https://design.senvenli.com/docs/components/checkbox.md): A box to turn one option on or off, or a group of boxes for several options. - [Combo box](https://design.senvenli.com/docs/components/combobox.md): Type to filter a long list and pick one or several items, with load-more and app-side results. - [List box](https://design.senvenli.com/docs/components/list-box.md): A list of options shown in place, not in a dropdown: pick one or several. - [Radio group](https://design.senvenli.com/docs/components/radio.md): One choice from a few options that all stay visible. - [Select](https://design.senvenli.com/docs/components/select.md): Pick one option from a short list in a dropdown, with groups, descriptions and icons. - [Slider](https://design.senvenli.com/docs/components/slider.md): Picks a value or a range by dragging along a track, with locale-formatted output. - [Switch](https://design.senvenli.com/docs/components/switch.md): Turns a setting on or off immediately. - [Tag group](https://design.senvenli.com/docs/components/tag-group.md): A group of tags that can be removed or selected: features, filters, keywords. ## Overlay - [Alert dialog](https://design.senvenli.com/docs/components/alert-dialog.md): Asks people to confirm or cancel one consequential action, optionally by typing a confirmation. - [Command](https://design.senvenli.com/docs/components/command.md): A ⌘K search over actions and records, with recent items, groups and server results. - [Context menu](https://design.senvenli.com/docs/components/context-menu.md): The actions for what is under the pointer, opened by a right-click, a long press or Shift+F10. - [Dialog](https://design.senvenli.com/docs/components/dialog.md): A modal window for a focused task, with a title, body and footer actions, in small to full-screen sizes. - [Drawer](https://design.senvenli.com/docs/components/drawer.md): A panel that slides in from the side, or a bottom sheet on phones, for detail and edit views beside the page. - [Hover card](https://design.senvenli.com/docs/components/hover-card.md): A preview card that opens when the pointer rests on its trigger or the trigger gets keyboard focus. - [Menu](https://design.senvenli.com/docs/components/menu.md): A list of actions under a button, with sections, icons, shortcuts and disabled items that say why. - [Popover](https://design.senvenli.com/docs/components/popover.md): Non-modal content anchored to a trigger: extra detail, a small form, a picker. - [Toast](https://design.senvenli.com/docs/components/toast.md): Brief messages about what just happened, with one optional action; call toast() anywhere under the provider. - [Tooltip](https://design.senvenli.com/docs/components/tooltip.md): A short hint for a control on hover and keyboard focus, and on tap for touch users when needed. ## Navigation - [Accordion](https://design.senvenli.com/docs/components/accordion.md): Sections that expand and collapse; Disclosure is a single expandable section. - [Bottom navigation](https://design.senvenli.com/docs/components/bottom-nav.md): A bottom tab bar for phones with four or five top destinations and badges. - [Breadcrumbs](https://design.senvenli.com/docs/components/breadcrumbs.md): Shows where a page sits in a hierarchy, collapsing middle levels into a menu when long. - [Navbar](https://design.senvenli.com/docs/components/navbar.md): The top bar of a public site: brand, up to five links, actions and a language choice, collapsing into a menu on phones. - [Page header](https://design.senvenli.com/docs/components/page-header.md): An app page's header bar: menu button on small screens, the page title and its actions. - [Pagination](https://design.senvenli.com/docs/components/pagination.md): Moves through pages of results with page numbers, previous/next and a page-size choice. - [Sidebar](https://design.senvenli.com/docs/components/sidebar.md): The main navigation of an app: brand, sections with nested items and badges, a pinned footer, collapsible to icons. - [Skip link](https://design.senvenli.com/docs/components/skip-link.md): The first focusable element of a page, visible on focus, that jumps to the main content. - [Stepper](https://design.senvenli.com/docs/components/stepper.md): Shows progress through a multi-step flow or checklist, with done, current, waiting and failed steps. - [Tabs](https://design.senvenli.com/docs/components/tabs.md): Switches between views of the same content; SegmentedControl switches a small set of options inline. ## Date - [Calendar](https://design.senvenli.com/docs/components/calendar.md): A month grid to pick a date or a range, with markers, unavailable days and several visible months. - [Date field](https://design.senvenli.com/docs/components/date-field.md): A typed date (or date and time) in the locale's order, with min/max and month-day mode. - [Date picker](https://design.senvenli.com/docs/components/date-picker.md): A date field with a calendar popover, Today and Clear actions, markers and unavailable days. - [Time field](https://design.senvenli.com/docs/components/time-field.md): A typed time in the locale's clock, with minute steps and an optional time zone. ## Color - [Color field](https://design.senvenli.com/docs/components/color-field.md): A hex color typed with a live swatch; a malformed value stays as typed with an example of a valid one. - [Color picker](https://design.senvenli.com/docs/components/color-picker.md): A saturation-brightness area, hue (and alpha) sliders, a hex field and a two-theme preview of the primary button with its contrast. - [Color swatch](https://design.senvenli.com/docs/components/color-swatch.md): One named color tile with a faint inset edge, so light colors show on light grounds. - [Color swatch picker](https://design.senvenli.com/docs/components/color-swatch-picker.md): Preset colors as named swatches, optionally ending with a button that opens a color picker for a custom color. ## Collection - [Data table](https://design.senvenli.com/docs/components/data-table.md): A Table with a toolbar: search, filters, a column picker, bulk actions, paging or virtualization, and its view kept in the URL. - [Grid list](https://design.senvenli.com/docs/components/grid-list.md): A list to move through with arrow keys and select from: rows with a visual, a title and status (`layout="stack"`), or tiles in a responsive grid with actions and drag to reorder (`layout="grid"`). - [Table](https://design.senvenli.com/docs/components/table.md): Records people scan, compare, sort and act on: sortable columns, row selection by checkbox, a row that opens its record. - [Tree](https://design.senvenli.com/docs/components/tree.md): A hierarchy to browse: folders and files, categories, with nodes that open and close. ## Charts - [Area chart](https://design.senvenli.com/docs/components/area-chart.md): A value over time as filled areas, one or several series, with a legend, tooltip and data table. - [Bar chart](https://design.senvenli.com/docs/components/bar-chart.md): Values per category or period as bars, grouped or stacked, vertical or horizontal. - [Bar list](https://design.senvenli.com/docs/components/bar-list.md): A ranked list of names with values and proportional bars; names may link. - [Calendar heatmap](https://design.senvenli.com/docs/components/calendar-heatmap.md): A value per day over weeks, as shaded cells in a calendar grid. - [Chart parts](https://design.senvenli.com/docs/components/chart-parts.md): The shared frame (with its data table), legend and tooltip the charts are built from, plus the CHART_COLORS series palette, for a custom chart. - [Composed chart](https://design.senvenli.com/docs/components/composed-chart.md): Bars and lines on one plot, with an optional second value axis, for a figure and its rate. - [Donut chart](https://design.senvenli.com/docs/components/donut-chart.md): Parts of a whole, two to five, with the total in the center and exact shares; more parts fold into "Other". - [Funnel chart](https://design.senvenli.com/docs/components/funnel-chart.md): Steps of a process with how many reach each one and the conversion between them. - [Gauge chart](https://design.senvenli.com/docs/components/gauge-chart.md): One value against its range and an optional target, as a half ring. - [Heatmap](https://design.senvenli.com/docs/components/heatmap.md): A value by two cyclic dimensions, such as weekday by hour, as shaded cells. - [Line chart](https://design.senvenli.com/docs/components/line-chart.md): Up to five series over time as lines, for comparing trends. - [Radar chart](https://design.senvenli.com/docs/components/radar-chart.md): A few items scored on the same axes, as overlapping polygons. - [Radial chart](https://design.senvenli.com/docs/components/radial-chart.md): Progress of a few parts as concentric rings. - [Scatter chart](https://design.senvenli.com/docs/components/scatter-chart.md): Points on two value axes, for seeing a relation and outliers. - [Sparkline](https://design.senvenli.com/docs/components/sparkline.md): A tiny line or bar trend with no axes, next to a figure. - [Tracker](https://design.senvenli.com/docs/components/tracker.md): A row of status blocks, one per day or check, for uptime or completion.