All components

Text

Typographic primitive for body copy, muted descriptions, labels, captions, overlines, tabular numerals, and truncated text.

The quick brown fox jumps over the lazy dog.

Variants

The quick brown fox jumps over the lazy dog.

body

The quick brown fox jumps over the lazy dog.

muted

The quick brown fox jumps over the lazy dog.

subtle

The quick brown fox jumps over the lazy dog.

caption

The quick brown fox jumps over the lazy dog.

label

The quick brown fox jumps over the lazy dog.

overline

The quick brown fox jumps over the lazy dog.

mono

Sizes

The quick brown fox jumps over the lazy dog.

xs

The quick brown fox jumps over the lazy dog.

sm

The quick brown fox jumps over the lazy dog.

md

The quick brown fox jumps over the lazy dog.

lg

The quick brown fox jumps over the lazy dog.

xl

The quick brown fox jumps over the lazy dog.

2xl

Roles & semantic tones

Combine role variants (overline, label, body, muted, caption, mono) with semantic status tones.

Telemetry overview

Production cluster healthy

All 14 regional edge nodes responded within target p95 budgets.

99.98% uptime

2 degraded jobs

0 critical alerts

Tabular numerals & truncation

Use tabular="true" for aligned figures in tables and truncate="true" for single-line ellipsis.

01,284.50 ms

00,042.10 ms

Long deployment description that truncates cleanly with an ellipsis on one line

Install

Source

components/ui/ui-sdk/text.tsx

Examples

Installable blocks built with Text — real use cases, delivered as source you own.

AI Chat Conversation

Transcript of alternating turns carrying mixed rich content inline (prose, code blocks, collapsible tool-call output) beside a resizable artifact panel that collapses to a full-screen dialog on narrow screens.

AI Chat Landing

Zero-state AI entry surface centered on a single composer with a collapsible attachment drawer, @ mention and / command typeahead, mode menus, and category-driven suggestion cards.

Analytics Dashboard

Three-band analytics screen: a multi-series active-sessions chart and KPI sparkline tiles, audience stacked bar cards, and supporting top-routes and top-interactions activity tables.

Basic Login

Minimal, zero-chrome centered credential sign-in form resting directly on the canvas with inline validation, password visibility toggle, inline forgot-password feedback, remember-me persistence, and toast confirmation.

Canvas Editor

Layered artboard workspace with document tabs, a folded desktop command menu, resizable layer and library rail, zoomable poster canvas, and a live inspector for position, typography, HSV color, and CSS image filters.

Card Grid

Searchable, categorized pattern and starter-kit library with category toggles, saved bookmarks, a sort menu, grouped responsive card sections, and an interactive detail preview dialog.

Centered Hero

Centered marketing hero pairing an eyebrow badge, balanced display headline, supporting copy, dual call-to-action buttons, and a wide 16:9 architectural showcase frame.

Checkout Form

Two-column storefront checkout with express wallets, shipping and billing address fields, selectable delivery cards, auto-formatted card entry with network detection, promo code discounts, gift notes, inline validation, and a sticky collapsible order summary.

Checkout Wizard

Four-step two-column checkout flow with live cart quantities and promo codes, country-aware shipping validation, delivery method selection, payment review, sticky order summary, and local order confirmation.

Classic Gallery

Centered editorial gallery pairing category filter tabs, a responsive 3:2 architectural photography grid, and a keyboard-navigable lightbox dialog with camera metadata.

Collapsible Table

Heterogeneous infrastructure spend and usage ledger organized into three collapsible schema-specific table cards (Compute & Inference Clusters, Storage & Data Lakes, Third-Party Integrations & APIs) with a shared global time-range selector, cross-section search, expand/collapse-all controls, per-section column sorting, and expandable rows revealing a TanStack Charts run-rate trajectory.

Comparison Table

Transposed side-by-side vector database evaluation matrix with a sticky criteria label column, collapsible grouped rows, interactive column swapping and adding/removing, baseline pinning with relative deltas, best-in-row highlights, differences-only filtering, score bars, 30-day uptime telemetry, and a live recommendation footer.

Contact Form

Studio project inquiry form with response-time status, three value-proposition cards, validated contact and scope fields, multi-select topic toggles, team-size and budget selects, referral attribution, and a structured submission confirmation view.

Course Detail

Interactive course overview page featuring breadcrumb navigation, tabbed Syllabus, Outcomes, Instructor, and Reviews views, a checkable 4-module curriculum accordion synced to live progress bars, and a sticky enrollment rail with a photographic course cover, self-paced vs. cohort planning, and toast feedback.

Data Dashboard

Edge runtime A/B benchmark comparison dashboard (v3.2 Candidate vs. v3.1 Baseline) with environment and metric controls, dual-series KPI sparkline cards, synchronized overlay and workload bar charts, distribution breakdowns, and a regional statistical-significance table.

Documentation Catalog

Developer documentation hub featuring a searchable hero banner, CLI starter panel, quick-start cards, filterable categorized guide tracks with schematic previews, interactive article preview dialog with copyable code blocks, and live status and changelog links.

Documentation Design

Design-system component reference article featuring breadcrumb navigation, stability metadata badges, sticky scroll-spy table of contents, an interactive playground with live controls and synchronized JSX output, paired Do / Don't visual specimens, filterable API props table, copyable usage recipes, keyboard & ARIA contracts, and helpfulness feedback footer.

Documentation Technical

Sequential technical quickstart guide featuring breadcrumb navigation, an AI setup prompt card, prerequisites and troubleshooting callouts, synced package-manager and runtime code switchers, checkable step completion progress, onward reading cards, and a responsive sticky table-of-contents rail.

Executive Dashboard

Executive scorecard with a Q1–Q4 period switcher, KPI sparkline tiles, interactive ARR vs. plan TanStack Charts, segment mix and net-new ARR breakdowns, regional quota attainment table, strategic objectives tracker, and a narrative highlights rail.

File Explorer

Cloud workspace file manager with a collapsible folder tree, breadcrumb trail, live search, list / grid / Miller-column view switcher, row actions menu, and a synchronized metadata inspector.

Filterable Table

Progressive filtering workbench for fleet deployments with saved views and custom view creation, structured field:value filter tokens alongside free-text search, active filter pills, column visibility and row grouping options, sortable columns, and a resizable detail inspector that collapses into a bottom drawer on narrow containers.

Two-Column Form

Responsive two-column vendor onboarding and payout profile form with sectioned Fieldset cards, paired field grids, live inline validation, dirty-state tracking, settlement cadence controls, Reset and Save footer actions, and Toaster confirmation feedback.

Form Wizard

Four-step cloud workspace onboarding wizard with a pinned horizontal stepper, per-step validation on advance, plan tier radio cards, live monthly cost estimate, optional skippable team setup, editable review cards, and local launch confirmation.

Dialog Wizard

Three-step scheduled backup policy wizard inside a modal Dialog over a live Arbor Cloud workspace. Features a pinned title and compact stepper header, scrollable per-step validation for target cluster, region, cadence, retention, replication, and KMS encryption, a pinned Back/Continue/Create footer, and live host table updates with toast confirmation.

Inline Wizard

Single-column accordion-style inline wizard for custom domain and TLS provisioning, featuring compact summary rows with inline Edit/Re-run actions, downstream stale invalidation, a self-running nested DNS preflight check stepper with mismatch simulation and retry recovery, and live cutover activation.

Vertical Wizard

Five-step enterprise SSO and workspace provisioning wizard with a persistent vertical stepper rail, live per-step statuses and summary subtitles, overall progress indicator, draft save tracking, conditional protocol and SIEM fields, broken-step validation flagging, container-responsive top bar collapse, and grouped review and confirmation screens.

Funnel & Cohort Dashboard

Developer activation and cohort retention dashboard featuring KPI sparklines, a horizontal conversion funnel with step-to-step drop-off metrics, interactive W0–W8 retention curves and stage trends, and a clickable weekly cohort retention heatmap.

Gallery Hero

Centered marketing hero pairing an eyebrow badge, balanced display headline, editorial copy, dual call-to-action buttons, and a responsive three-column 4:5 architectural and ceramics gallery.

Grouped Table

Release backlog and change-request table bundling rows into collapsible status, priority, or team groups with per-group counts, expand/collapse-all, query search and release/priority filters, inline stage and priority pickers, a resizable Splitter inspector with readiness checklist and activity timeline, and narrow-screen drawer handoff.

IDE Workspace

Multi-pane code IDE workspace with a filterable file tree, open and closable editor tabs, line-numbered syntax-highlighted code view, resizable Terminal / Problems / Output workbench, properties and history inspector, and live status bar.

Inbox Table

Two-pane resizable partner support and security triage queue pairing an adaptive container-query inbox table—with folder scope controls, search, bulk selection ActionBar, unread indicators, star toggles, and hover quick-actions—with a collapsible message thread reader and live reply / internal-note composer.

Incident Console

On-call incident response workspace with status-grouped rows, an interactive affected-services health strip, severity and status controls, a resizable detail inspector with live timeline note composer, runbook checklist, responder roster, and bottom-drawer handoff on narrow screens.

Kanban Board

Interactive four-lane sprint board with pointer drag-and-drop, keyboard and menu column movement, search and priority/assignee filters, quick-add task dialog, task detail drawer, and toast feedback.

Login Card

Centered workspace sign-in card with inline field validation, password visibility toggle, remember-device persistence, Google, GitHub, and passkey provider buttons, and toast feedback.

Login Split

Split-screen sign-in card pairing an interactive authentication form with validation, password visibility toggle, remember-me control, and social/SAML SSO actions beside an atmospheric architectural brand showcase.

Login SSO

Enterprise single sign-on flow with work-email domain lookup, SAML 2.0 and OIDC identity provider confirmation (Okta, Microsoft Entra ID, Google Workspace), password fallback with inline validation, and toast feedback.

Messaging Shell

Three-pane engineering team messaging shell with searchable channels and direct messages, unread badges, presence indicators, grouped message streams with a live composer, and a resizable thread & channel-info panel that adapts into slide-over drawers on narrow containers.

Mixed Gallery

Asymmetric mixed-aspect bento gallery pairing panoramic wide plates, tall portrait specimens, and square studies with a segmented discipline filter and keyboard-navigable lightbox dialog.

Order Detail

Commerce order detail page with breadcrumb navigation, fulfillment and payment status badges, itemized line-item table with product photo thumbnails, invoice breakdown, live shipment tracking timeline, customer and shipping sidebar cards with collapsible risk analysis, cancel-order confirmation dialog, and toast feedback.

Page Editor

Collaborative document editor with a resizable pages tree and live block outline, formatting toolbar, page-width switcher, inline-editable structured blocks (headings, paragraphs, callouts, checklists, code snippets), collaborator presence, review comments, and share controls.

Portfolio Dashboard

Treasury and infrastructure budget portfolio view with a period switcher, KPI summary tiles, historical reserve value curve, interactive allocation slices, stacked breakdown and budget-vs-actual bars, rate benchmark sparklines, and a filterable, sortable cost-center table.

Product Detail

Two-column storefront product detail layout pairing a multi-angle interactive photo gallery with a sticky buy box, live anodized finish swatches, color-temperature edition controls, quantity stepper, collapsible specifications accordion, and filterable customer reviews.

Product Gallery

Editorial storefront product gallery pairing a two-column collection header, segmented category filter, live bag counter with toast feedback, selectable finish swatches, edition badges, and a responsive 1:1 studio product grid.

Project Status Dashboard

Launch-readiness program tracker powered by TanStack Charts: release KPI sparklines, phase-filtered milestone Gantt with a Today marker, burndown vs. planned trajectory, sprint velocity, weighted scope allocation, blockers & risks callouts, and a health-filterable workstream progress table.

Searchable Table

Full-page searchable subscriptions and invoices ledger with billing-cycle scope control, status and plan filters, column sorting, multi-row selection with a floating ActionBar, per-row menus, pagination, empty state, and live filtered totals.

Service Monitoring

Live SRE service monitoring dashboard with time-range, service, and POP filters, TanStack Charts for latency percentiles, throughput, error rate, and KPI sparklines, 30-day SLO error budget meters, 90-day uptime strips, and a triage alert rail.

Settings Dialog

Two-pane desktop preferences modal with a categorized navigation rail, keyboard-navigable live settings search, responsive container-query collapse, accent swatch and scale controls, connected app toggles, shortcut bindings, quota progress meters, and a docked dirty-state save bar.

Settings Form

Account and workspace preferences page with quick-jump settings search, responsive sidebar-to-tabs navigation, profile details, timezone and appearance controls, notification switches, password and security options, dirty-state detection, and Save / Reset actions.

Settings Panels

Multi-section workspace settings layout with grouped sidebar navigation, responsive mobile tabs, a sticky dirty-state save bar, API token management, session controls, and team billing quotas.

Shell Nav

Application shell pairing a top navigation bar (workspace switcher, command search dialog, notifications popover, account menu) with a collapsible left sidebar, mobile slide-over drawer, and interactive cloud deployment views.

Side Nav Shell

Left-rail application shell pairing a full-height collapsible sidebar (workspace switcher, quick actions, grouped route navigation, collapsible pinned collections with row menus, and user footer menu) with a mobile drawer fallback and interactive creative workspace views.

Top Nav Shell

Top-navigation application shell with a centered horizontal Navbar (brand mark, route links, ⌘K command search dialog, notifications popover, account menu), mobile slide-over drawer fallback, and interactive public & internal operations views.

Side Gallery

Editorial architectural monograph pairing a sticky left-hand project narrative, metadata list, metrics, and actions beside a vertical scrolling plate stack with a keyboard-navigable lightbox dialog.

Simple Table

Focused Cinder Cloud API keys and service tokens table with environment segment filter, status select, live search, sortable column headers, multi-row selection with a contextual floating ActionBar, per-row overflow menus, create-token dialog, destructive confirmation AlertDialog, pagination, and empty state.

Theme Showcase

Interactive design-system and token workbench featuring scoped accent, density, and corner-radius live preview controls over a responsive 3-column bento of cohesive UI SDK cards.

Tree Table

Hierarchical work breakdown and cost rollup tree table with multi-level expand/collapse, visual tree guide lines, live parent rollups, hierarchical indeterminate selection, ancestor-preserving search and health filters, in-place sibling sorting, keyboard treegrid navigation, a floating bulk ActionBar, and a node inspector Drawer.

Work Item Detail

Engineering work item detail workspace with breadcrumb navigation, editable status, priority, assignee, and sprint properties rail, interactive sub-task checklist with live progress bar, linked pull requests and commits tabs, and a filterable activity timeline with comment composer.