elements
Blog Demos UI Docs Pricing
Style System
  • Style
  • Themes
  • Behaviors
Forms
  • Button
  • ButtonGroup
  • Checkbox
  • ColorPicker
  • Combobox
  • Field
  • FileUpload
  • Input
  • InputGroup
  • InputOTP
  • Label
  • NativeSelect
  • NumberInput
  • PasswordInput
  • RadioGroup
  • Select
  • Slider
  • Switch
  • TagsInput
  • Textarea
  • Toggle
  • ToggleGroup
Overlays
  • AlertDialog
  • Command
  • ContextMenu
  • Dialog
  • Drawer
  • DropdownMenu
  • HoverCard
  • Menubar
  • NavigationMenu
  • Popover
  • Sheet
  • Toast
  • Tooltip
Display
  • Accordion
  • Alert
  • AspectRatio
  • Avatar
  • Badge
  • Breadcrumb
  • Card
  • Collapsible
  • Empty
  • Item
  • Kbd
  • Pagination
  • Progress
  • Separator
  • Skeleton
  • Spinner
  • Table
  • Tabs
  • Tree
Layout
  • Carousel
  • Resizable
  • ScrollArea
  • Sidebar
Dates
  • Calendar
  • DatePicker
  • DateRangePicker
  • TimePicker
Data
  • AreaChart
  • BarChart
  • Chart
  • DataTable
  • Kanban
  • LineChart
  • PieChart
  • RadarChart
  • RadialChart
  • VirtualList
Chat
  • Attachment
  • Message
  • MessageList
  • PromptInput
Elements UI

Elements UI

The most comprehensive integrated UI library for building apps. The @elements/ui package comes installed in every new Elements app. Build on its complete style system and reuse templates from its extensive catalog.

Style System

3
  • Style Every token and base class, drawn live.
  • Themes Twelve looks and the one line that picks each.
  • Behaviors Reusable functions for focus, the keyboard, positioning and dismissal, for templates of your own.

Forms

22
  • Button A button or a link that looks like one, in six variants and four sizes.
  • ButtonGroup Related buttons, or an input and its buttons, joined into one control.
  • Checkbox A native checkbox drawn by the theme, with an indeterminate (mixed) state.
  • ColorPicker Pick a color with an area, channel sliders, inputs, swatches and the eye dropper.
  • Combobox A text input that filters a list of options as you type. Picks one value or several as chips, and loads options asynchronously.
  • Field A label, a control, a description and an error wired together, with native validation that never moves the layout.
  • FileUpload Drop, paste or browse for files. The list shows each file with its preview, size, errors and progress.
  • Input A native text input in the theme's control chrome, with a two-way value.
  • InputGroup An Input or Textarea with icons, text and buttons inside one box.
  • InputOTP A one-time code in separate slots, with paste, SMS autofill and a pattern.
  • Label A native label for a control. The label dims when its control is disabled.
  • NativeSelect The browser's native select, styled as a control. Phones show their native picker, and the select works without script.
  • NumberInput A number field with stepper buttons, keyboard steps, formatting, wheel and scrub.
  • PasswordInput A password field with a button that shows and hides what was typed.
  • RadioGroup One choice from a set of native radios that share a name. Arrow keys move between the radios.
  • Select Pick one value, or several, from a styled listbox that lines the selected option up over the trigger.
  • Slider Pick a value or a range by dragging thumbs along a track or stepping them with the keyboard.
  • Switch An on/off control that takes effect at once. The switch is a native checkbox with the switch role.
  • TagsInput A field for a list of tags. Tags are added, edited, deleted and pasted from the keyboard.
  • Textarea A native multi-line input that grows with its content, between rows and maxRows.
  • Toggle A button that is on or off, with aria-pressed.
  • ToggleGroup A set of toggle buttons, one or many on, with one tab stop and arrow keys.

Overlays

13
  • AlertDialog A modal that interrupts with something important and waits for an answer.
  • Command A searchable, ranked list of actions run from the keyboard. Renders inline, in a popover or as a command palette.
  • ContextMenu A menu at the pointer on right-click or long-press.
  • Dialog A modal window over the page that traps focus until it closes.
  • Drawer A panel that slides from an edge and can be dragged away, with snap points and a scaled background.
  • DropdownMenu A menu of actions from a button, with submenus, checkbox and radio items.
  • HoverCard A preview of what a link points to, shown while the pointer rests on it.
  • Menubar A desktop-style bar of menus that stays open as you move across it.
  • NavigationMenu Site navigation with large animated dropdown panels.
  • Popover Rich content in a floating panel, opened by a trigger, that keeps the page usable.
  • Sheet A dialog that slides in from an edge of the screen, for content that complements the page.
  • Toast Short notices that stack at an edge of the screen, pause on hover and close on their own or with a swipe.
  • Tooltip A short label for a control, shown on hover and keyboard focus.

Display

19
  • Accordion A stack of headings that each show and hide a panel, one or several at a time.
  • Alert A callout that draws attention to a message, with an icon, a title and an action.
  • AspectRatio Keeps media at a fixed width-to-height ratio, with its space held before it loads.
  • Avatar A user image with an initials fallback, a delayed fallback, a status badge and groups.
  • Badge A small label for a status, a count or a category, built on the pill.
  • Breadcrumb The path to the current page as a trail of links, composed from parts or built from a list.
  • Card A surface with a header, body and footer, built on the base card styles.
  • Collapsible A trigger that shows and hides a region, with its height animated.
  • Empty The empty state for a list, a search or a page, with media, a title, a description and next steps.
  • Item A row with media, a title, a description and actions, alone or in a list.
  • Kbd A keyboard key or shortcut, as text.
  • Pagination Page numbers with previous and next, from a page count or composed from parts.
  • Progress A bar showing how far a task has run, or that it is running.
  • Separator A horizontal or vertical rule between content, semantic or decorative.
  • Skeleton A placeholder shape shown while content loads, or wrapped around the content so it never moves.
  • Spinner An indeterminate loading indicator, the same ring a loading Button draws.
  • Table A styled data table with caption, header, footer, alignment and row states.
  • Tabs Layered panels, one shown at a time, chosen from a list of tabs.
  • Tree A hierarchical list that opens with the arrow keys, selects one node or many, and loads children on demand.

Layout

4
  • Carousel Slides you swipe, drag or step through, with momentum, snapping, loop and autoplay.
  • Resizable Panels separated by handles you drag or move with the arrow keys.
  • ScrollArea A scroll container with thin, themed scrollbars over native scrolling.
  • Sidebar An app sidebar that collapses to icons or off the canvas and becomes a sheet on phones.

Dates

4
  • Calendar A month grid for picking one date, several dates or a range, with keyboard navigation across months.
  • DatePicker A button or text field that picks one date from a Calendar in a popover.
  • DateRangePicker A button that picks a start and end date from a two-month range Calendar in a popover.
  • TimePicker A time of day in the browser's own time field, styled as a control, with steps, limits and suggestions.

Data

10
  • AreaChart Filled areas, stacked or expanded, solid or gradient, with a crosshair tooltip.
  • BarChart Vertical, horizontal, stacked and grouped bars with tooltip, legend and labels.
  • Chart The config and its colors, the tooltip, the legend, the palette and the data table that every chart shares.
  • DataTable A data grid with sorting, search, filters, resizing, reordering, pinning, grouping, selection, editing, paging, virtualization, saved views and export.
  • Kanban A board of columns of cards you reorder and move by pointer, touch or keyboard, with announcements and a one-column phone layout.
  • LineChart Lines over categories with dots, curves, labels and a crosshair tooltip.
  • PieChart Pie and donut charts with labels, a center value, an active slice and stacked rings.
  • RadarChart Values on radial axes, one polygon per series, over a polygon or circle grid.
  • RadialChart Radial bars and gauges, with tracks, labels along the arc and a center value.
  • VirtualList A long list, or a grid of rows and columns, that renders only the items near the viewport, with measured row heights.

Chat

4
  • Attachment A file or source as a thumbnail, chip or row, with preview, size, upload progress and remove.
  • Message One chat message with avatar, author, time, streaming Markdown, attachments, actions and response branches.
  • MessageList A conversation that stays pinned to the newest message unless the reader scrolls up.
  • PromptInput A growing message composer with attachments, tools, a model picker and a send button that stops a streaming reply.
Product
Manual Pricing Compare
Company
History Contact
Legal
Privacy Policy Acceptable Use Terms License Agreement
© Elements Dev Corporation 2026