Components
Every SurfaceOne component, grouped by role: layout, elements, forms, data, navigation, overlays, page building blocks, AI chat, editor, media and flow. Every component lives in its own entry point, so an app only bundles what it imports.
116 components
Layout
Structure a screen: sidebars, cards and dividers.
- SidebarA collapsible application sidebar with header, groups, menus, badges, a rail and an inset content area — shadcn/ui Sidebar for Angular.
- CardA surface that groups related content, with header, title, description, action, content and footer parts.
- SeparatorA one-pixel hairline between content, horizontal or vertical, decorative or semantic.
- Scroll AreaA scroll container with thin, token-coloured scrollbars and the browser's own scrolling — vertical, horizontal or both, a keyboard stop while it overflows and optional fade edges.
- ResizablePanels side by side or stacked with handles between them — drag or use the keyboard of the WAI-ARIA window splitter, with minimum and maximum sizes, collapsible panels, two-way sizes and optional saving.
- CollapsibleShow and hide a region with a trigger that keeps aria-expanded and aria-controls in sync.
- Collapsible SectionA titled section that folds: a header button with a chevron, subtitle and count, and the content below.
- Section HeadingThe heading row of a section: a real h2 to h4 named by its title alone (an optional count is read after it), with actions at the end.
- DisclosureA progressive-disclosure section following the WAI-ARIA Disclosure pattern.
- AccordionStacked sections that show and hide their content, one or several at a time, following the WAI-ARIA Accordion pattern.
- Side PanelA panel docked beside the page, with a header, title, actions, a close button and a scrolling body.
Element
The small building blocks: buttons, badges, alerts and indicators.
- AlertA callout for important information, with title, description, action and five tones.
- AvatarA user image with initials fallback and a generic glyph when signed out.
- Avatar GroupOverlapping avatars with a “+N” for the rest: people with images or initials, or avatar children, capped by max, as one named group.
- BadgeA compact label for status, counts or tags, with six variants and four status tints.
- BannerA one-line status callout with a leading glyph; errors and warnings are announced to screen readers.
- ConfirmAn inline confirmation in place of a modal: title, description and error, Cancel then Confirm, focus on the action, Escape to cancel and a busy state.
- ButtonThe one button: six variants, four text sizes and four square icon sizes, plus button groups.
- IconInline SVG glyphs drawn in currentColor — no icon font, no extra request.
- KbdKeyboard keys and key combinations.
- LogoThe SurfaceOne, IndexOne and Ivy marks that switch with the colour mode.
- ProgressA linear progress bar, determinate or indeterminate, with an accessible progressbar role.
- Download ProgressA progress bar with a live caption and an optional cancel action.
- MeterA segmented indicator for coarse, ordinal quantities like accuracy or speed.
- SkeletonA pulsing placeholder sized by its host while content loads.
- SpinnerA spinning loader drawn in currentColor at any size.
- Status DotA small round status mark in a semantic tone, with an optional pulse and accessible name.
- MarkAn app or source mark: a small rounded tile with a gradient in one of twelve tones and a white glyph, at a preset size or any size.
Form
Inputs, selects, switches, sliders and choice controls.
- Field & Input GroupFields, labels, descriptions, errors and input groups with addons — native inputs styled by the system.
- TextareaThe native multi-line field in the skin's look: autosize between a minimum and a maximum number of rows, an invalid state and a character counter that announces how many characters are left.
- File UploadA dropzone around the native file input: click or drop files, checked against accepted types, a size and a count limit, then listed with their size, an image preview and a remove button.
- Image PickerA tappable image field over a native file input: a dashed placeholder, then the preview with change and remove buttons, holding the picked file or the URL of a stored image.
- SelectA native select as a form control with projected options.
- ComboboxA text field that filters a listbox of options as you type, with groups, an empty state, multiple picks as chips and the WAI-ARIA combobox keys, as a form control.
- CalendarA month grid to pick a date, a range or several dates, with the WAI-ARIA date-grid keys, min and max, disabled days and Intl month names.
- Date PickerA button showing a date that opens a calendar in a popover, for one date or a range, as a form control with Intl formatting.
- CheckboxThe native checkbox with an indeterminate state, paired with its label through a field, for forms and select-all lists.
- Radio GroupA set of native radios sharing one name and one value, with arrow keys and a single Tab stop, as a form control.
- SwitchAn on/off switch that works as a form control, in two sizes.
- SliderA range slider with an accent fill and a round thumb, usable as a form control.
- Power SliderA discrete ladder as a range control that previews while dragging and commits on release.
- SegmentedA single-choice segmented control rendered from data — the Light / Dark / System pattern.
- Toggle Group & TabsToggles, toggle groups and tabs with roving focus and every orientation.
- Search FieldA search box with a search glyph, a clear button, Enter to submit and Escape to clear, as a form control.
- Filter ChipsOne-of-many filter buttons from data, as chips or tabs, with a count badge per option and arrow-key navigation.
- Choice CardRich radio cards where the whole card is the option, with one tab stop and arrow-key navigation.
- Secret FieldEnter, save and clear a secret such as an API key, with a set / not set status.
- Copy ButtonCopy a value to the clipboard with a brief “Copied” confirmation that screen readers hear too.
- Input OTPA one-time code input: one real field drawn as separate slots, so paste, autofill and screen readers just work.
- Password InputA password field with a show / hide toggle, as a form control.
- StepperProgress through a multi-step flow as dots or numbered steps, with a “Step x of y” count.
- Tag InputType tags as removable chips — Enter or a comma adds one, Backspace removes the last — as a form control.
- Input NumberA number field with minus and plus buttons — a spinbutton with arrow, Page Up / Down and Home / End keys, clamped to min and max, as a form control.
- RatingStars for a score — a read-only image that fills fractions, or a radio group to rate with the keyboard, as a form control.
Data
Show records: tables, items, lists and empty states.
- TableA dense data table defined by column templates, with captions and an empty state.
- Data TableA data-driven table on top of Table: sortable columns, a global filter, pagination, row selection with checkboxes, a column visibility menu and loading and empty states.
- CarouselSlides in a scroll-snap track with no dependency: Previous and Next, optional dots, swipe and the arrow keys, looping, several slides per view and optional autoplay that pauses on hover and focus, following the WAI-ARIA Carousel pattern.
- ItemA row of media, title, description and actions — for lists and settings.
- EmptyExplain an empty view and offer the next step.
- Load MoreThe “Show more” button at the end of a paged list, with the remaining count, a loading state and a retry on error.
- Source ListA titled list of sources as chips or rows, with a show-more toggle. Or fold them into one chip of stacked marks and a count that opens the list.
- Chart LegendColour swatches and a chart legend whose items can toggle series on and off.
- Stacked BarOne bar split into the parts of a whole, with an optional remainder track, a legend and a spoken summary.
- StatKey figures in a description list — label, value, hint and trend, as cards, inset tiles or a plain inline row.
- Bar ListA ranked list of labelled horizontal bars with the value beside each, scaled to the largest value or the total; labels can be any template.
- SparklineA word-sized line, area, bar or heat chart without axes in one stretched SVG, decorative by default or an image with a spoken summary.
- Bar ChartA column chart for a short series with tick labels, a tooltip on hover and focus, arrow-key navigation and a hidden data table for screen readers.
- Line ChartOne or more series over categories or time: straight or smoothed lines, a value axis with round ticks, dots, a legend and a tooltip, with a roving focus and a hidden data table.
- Area ChartSeries drawn as filled areas, side by side or stacked, with the line chart's axis, legend, tooltip, roving focus and hidden data table.
- Donut ChartThe parts of a whole as a ring: one segment per part, the total in the centre, a legend with the values, and segments you can hover or walk with the arrow keys.
- GraphAn interactive network diagram on a canvas — force, cluster and layered layouts, pan and zoom, keyboard navigation and a node list.
Navigation
Move through hierarchies.
- BreadcrumbThe trail of links from the home page to the current one, with separators, a collapsed ellipsis and router-friendly links.
- Navigation MenuSite navigation: links and triggers in a nav, each trigger revealing a panel of links on click, hover or the keyboard; disclosure buttons and real links, not an ARIA menu.
- App BarThe top bar of a screen: a back button or link, the title as a real heading with a subtitle, and trailing actions, in a header that can stick to the top and clears the notch.
- Tab BarMobile-style bottom navigation: links or buttons with icons and the active tab's label, a floating pill or a full-width bar that clears the home indicator.
- RailA narrow column of icon buttons beside the page for app-level places, with the current place raised, tooltips and busy, attention or ok badges.
- Tab StripDocument tabs for a desktop window: a status dot and a note per tab, close and new-tab buttons, arrow keys and Delete or ⌘W to close.
- PaginationPage navigation with previous and next buttons, the current page marked and ellipses for skipped pages — composable links or a ready-made component driven by a page count.
- Tree RowA file-tree row with indentation, expand toggle, selection and actions.
- CommandA searchable command list and palette — a combobox input, keyboard-highlighted options, groups and built-in filtering.
- TreeKeyboard navigation for a tree of tree rows — arrow keys, expand and collapse, typeahead and one Tab stop, following the WAI-ARIA tree pattern.
Overlay
Dialogs, sheets, menus, tooltips and toasts.
- DialogModal dialogs and alert dialogs with focus management, Escape and scrim dismissal.
- SheetA modal panel docked to any edge of the window.
- DrawerA Sheet you can swipe away: a panel from the bottom or any edge with a drag handle, swipe to dismiss and optional snap points, keeping the Sheet's focus trap, Escape and scrim.
- MenuDropdown menus with groups, labels, shortcuts, checkbox and radio items, and sub-menus.
- Context MenuThe menu family's items, submenus and keys, opened where they are asked for: a right click at the pointer, a long press at the finger, or the ContextMenu key and Shift+F10.
- MenubarA desktop-style bar of menus built from the menu family: one Tab stop, arrow keys between the menus and into their neighbours, and hover switching once a menu is open.
- PopoverA non-modal panel anchored to its trigger, placed on any side, that takes focus and closes on Escape or a click outside.
- Hover CardA preview card for a link, shown on hover or keyboard focus after a short delay and kept open while the pointer rests on the link or the card; non-modal, and a tap opens it on touch screens.
- Row MenuThe ellipsis dropdown for per-row actions, with outside-click and keyboard handling.
- TooltipA hover and focus tooltip for icon-only controls, on any side, with an optional arrow.
- ToasterStacked toast notifications with actions and dismissal — the app owns the queue.
Page
Headers and actions for a route.
- Page HeaderA route's title block with eyebrow, title, description and actions.
- Page ActionsA document page's header actions: status, a primary control and an overflow menu.
- Page HeroThe opening block of a landing page: a headline, the title as a real heading, a description and call-to-action links, with media beside or below and a reversible side.
- Page SectionA section of a landing page: an icon, a headline, the title as a real heading, a description, a grid of features with icons and links, and media beside or below.
- Pricing PlanThe plans of a pricing page: a title with a badge, the price (struck through when a discount replaces it) with its billing, a feature list with check marks, a call to action and terms, one plan highlighted.
- Page Site HeaderThe header of a site: a logo, the navigation and actions, with a menu button that opens the navigation in a sheet on narrow screens, in a header that can stick to the top.
- Page FooterThe footer of a site: your brand, titled columns of links in a named navigation, and a bottom row with the copyright line and your own content, in a footer element.
AI Chat
Threads, messages, bubbles and status markers for assistants.
- ChatThe full chat anatomy: pane, thread, messages, composer, submit, suggestions and typing indicator. Attachments sit above the field as small cards you can remove.
- TerminalAn agent conversation as a terminal: a monospace log where your lines stand out, quiet tool activity, a live status that says who is working and for how long, and a prompt.
- Agent ChatThe same agent conversation as a chat: your messages in accent bubbles, agents under their avatars, quiet tool activity, a live working status and a composer. Swaps with Terminal part for part. An agent's question with answer rows and number keys, and a folded “Thought for N seconds” row.
- Chat HistorySaved assistant conversations: filter by title, open one, group them by age in a sidebar, with loading, empty and error states.
- MessageOne entry of a thread: avatar, header, bubbles and footer, aligned start or end.
- BubbleThe speech bubble of a message, in default, secondary, muted and ghost variants.
- MarkerA status line in a thread such as “Thinking…” or “Searched 4 notes”.
Editor
Render and write markdown.
Media
Recording, playback, transcripts and timelines.
- Audio PlayerA slim recording player with skip, progress, time and playback speed.
- RecordingRecord button, microphone toggle, level meter, status orb, elapsed timer, recording indicator and processing status for capture UIs.
- Floating BarThe pill that floats over every app while recording is ready, live or processing, with a close button.
- TranscriptA turn-grouped, click-to-seek transcript.
- Live TranscriptThe caption log of a recording in progress.
- TimelineLanes of blocks and a chapter ribbon on one time scale, with a playhead, chapters and legend.
- Speaker ChipA speaker’s initials in a tone-coloured avatar plus their name, derived from one transcript speaker key.
Flow
Draw diagrams and workflows: a node canvas with edges, controls, a minimap and a tool dock.