Skip to main content

Components

345 pages

Every exported component, by package, the chart types included. Each has a page with its purpose, when to use it, what it works with, live variants and its API.

@elabs-ai/components-ui125

Foundation + app UI (Button, Card, Dialog, Tabs, AppShell, …). 445 exports.

All of ui

Convenience composition: Provider → Root(form) → title/description → Fields → Error → Submit.

17 examples

Date range picker (Popover + Calendar in range mode).

5 examples

A hierarchical list with expand and collapse, single or multiple selection and full keyboard navigation.

14 examples

@elabs-ai/components-data8

TanStack DataTable, FilterBar, SearchInput, FacetFilter, ColumnPicker. 27 exports.

All of data

TanStack-backed data grid with sorting, filtering, pagination and a render-prop toolbar.

43 examples

The spreadsheet-grade preset of DataTable (interaction="grid"): one tab stop, arrow keys across header and body cells, Excel-style cell ranges (drag, Shift, Ctrl/⌘), Ctrl/⌘+A, and Ctrl/⌘+C copies what the cells display as tab-separated text.

15 examples

A DataGrid from one serialisable spec — rows, optional column specs (inferred when absent) and an optional saved view.

5 examples

@elabs-ai/components-charts56

MetricCard, MetricGrid, ChartCard, ChartFrame, AutoChart (spec-driven via a serializable ChartSpec). 272 exports.

All of charts

Categorical comparison — composed from Bar + BarXAxis/BarYAxis inside its provider.

39 examples

Trend over a continuous (usually time) axis.

32 examples

Computed reference lines and bands: analytics={[{ kind: "line", value: "mean" }]} on any cartesian container, ScatterChart (both axes) and DistributionChart.

11 examples

@elabs-ai/components-ai44

Chat: ChatShell, Conversation, Message, PromptInput, Tool, Reasoning, Sources, CodeBlock, Artifact. 449 exports.

All of ai

The standard chat input — a PromptInput pre-assembled with attachments, tools and submit.

15 examples

The SAFE generative-UI path: renders an agent-DESIGNED screen from data — a JSON tree of catalog types validated against the catalog — with the real components; actions reach the host's onAction.

7 examples

A model-emitted, column-oriented data table rendered as message content.

11 examples

@elabs-ai/components-flow23

Branded React Flow canvas, nodes, edges, controls, inspector. 49 exports.

All of flow

How to write your own node type on the branded canvas.

8 examples

layoutFlowElk lays a graph out with ELK’s layered algorithm — same result shape as layoutFlow, plus the engine that answered.

3 examples

A branded process-map edge whose stroke width scales with a weight value (frequency or volume) relative to the other edges sharing its scaleGroup, and can optionally colour the stroke by a second continuous value between --flow-edge-weak and --flow-edge-strong; a “back” variant renders dashed and routed clear of the forward edge it doubles back over.

6 examples

@elabs-ai/components-maps14

Token-driven MapLibre GL maps: MapCanvas, MapMarker, MapPopup, MapControls, MapRoute, MapArc, MapGeoJSON, MapClusterLayer — and custom plan maps (a floor plan, a plant layout, a carriage) drawn in their own units. 33 exports.

All of maps

Root MapLibre canvas — theme-aware basemap; the ref is the raw MapLibre Map. With plan it is a non-geographic plan instead (a floor, a plant, a carriage) and every layer inside speaks plan units.

7 examples

Clusters dense point data into count bubbles that split apart as you zoom in.

1 example

A GeoJSON line layer for routes/paths.

2 examples

@elabs-ai/components-editor22

Token-themed Monaco editor: CodeEditor, DiffEditor, CodeWorkspace (file tabs). 54 exports.

All of editor

A markdown editing workspace: the editor with its outline, preview and toolbar arranged as one document surface.

9 examples

Multi-file editor shell.

1 example

The Monaco side-by-side diff surface — the only diff in the library that can be typed into.

2 examples

@elabs-ai/components-viewer2

FileViewer: a file the app did not write, via a pluggable adapter registry. 19 exports.

All of viewer

Render a file the app did not write (upload, signed URL, agent output) — detects the format, loads the matching adapter on demand, draws it with brand-ui components.

32 examples

Attachments, uploads, side-by-side revisions and a custom format

Render a file the app did not write (upload, signed URL, agent output) — detects the format, loads the matching adapter on demand, draws it with brand-ui components.

4 examples

@elabs-ai/components-terminal16

Terminal surfaces (shell/agent output, coding-agent CLI look-alikes). 31 exports.

All of terminal

The console ground for the agent-session family: the terminal surface, the mono type role and the two-column gutter grid, established once and published to every row inside.

7 examples

Streaming terminal surface for agent shell output, with an optional input line.

2 examples

A single tool invocation dressed as a CLI line: a status glyph (success/error/pending), the tool name plus its optional argument in parentheses, a result summary on a ⎿ row, and detail behind a real disclosure.

7 examples

@elabs-ai/components-process16

Process mining / event-log analysis. 84 exports.

All of process

Directly-follows process map: activities as nodes, transitions as edges, both painted from one metric choice, with an accessible table twin.

13 examples

The ranked list of activity sequences in an event log.

9 examples

ProM’s performance spectrum (§4 R15): one row per segment, one line per case from the moment it left from (row top) to the moment it reached to (row bottom), on a shared time axis.

7 examples

@elabs-ai/components-marketing8

Hero, FeatureGrid, UseCaseCard, StatsBand, CTASection, LogoStrip. 9 exports.

All of marketing

Muted row of customer/partner logos.

6 examples

Grid of capability cards below the hero.

5 examples

A marketing band listing the quality gates a release passes, each with its status.

5 examples

@elabs-ai/components-icons5

Brand/product-vocabulary icons + BrandLogo; generic glyphs come from Lucide. 32 exports.

All of icons

The product-vocabulary icon set: brand and domain glyphs built on the shared icon primitive.

8 examples

The brand/product-vocabulary icon primitive — 24×24, stroke = currentColor, so it themes with text.

7 examples

The standard app/brand mark for app chrome — theme-aware, morphs mark↔lockup on sidebar collapse.

6 examples

@elabs-ai/components-tokens6

Semantic CSS-variable themes + ThemeProvider/useTheme. 19 exports.

All of tokens

How data-theme + semantic tokens give one component set any number of looks — the two reference themes (light, dark), a theme you author yourself, plus the orthogonal decoration / density / motion dials.

9 examples

Each swatch is theme-reactive: it fills from var(--token), so switching the toolbar theme recolors the entire page.

4 examples

The stacked elevation ramp (shadow-2xs → shadow-2xl) and its hairline-ring variant (shadow-ring-*) for floating surfaces, plus shadow-hairline for a bare 1px edge.

4 examples