Skip to content

Component library

Reusable

Every reusable building block in the template, shown with its real states: default, hover, focus, disabled, loading, error, selected and empty. Each demo lists its import path.

Data

Tables and the pieces they're made of: toolbars, faceted filters, condition builders, column menus, bulk actions, sorting, expansion, pagination and every empty/loading/error state.

DataTable

components/tables/data-table

Search, a faceted multi-value filter with counts, a select filter, sortable headers, column visibility, row density, selection with bulk actions (including “Select all N” across pages), expandable rows, row menus and rows per page.

Records
StatusActions

Quarterly review

REC-1040

Active$1,200

Onboarding flow

REC-1047

Pending$9,119

Data migration

REC-1054

Active$17,038

Pricing update

REC-1061

Paused$24,957

Partner portal

REC-1068

Failed$32,876

Mobile release

REC-1075

Draft$40,795

Loading

DataTable loading / TableSkeleton

Skeleton rows keep the table's shape so nothing jumps when data arrives.

Loading example
Status

Error

DataTable error + onRetry

The header stays in place; the body explains the failure and offers a retry.

Error example
Status

Empty (nothing yet)

TableEmptyState

No records exist: invite the user to create the first one.

Empty example
Status

No records yet

Create a record to start tracking work.

Empty (filtered)

TableEmptyState filtered

Records exist, but the filters hide them all: offer to clear filters.

No results found

Nothing matches “zzz”. Check the spelling or clear your filters.

Table building blocks

components/tables/table-parts · filter-popover

DataTableToolbar, FilterPopover, ColumnVisibility, SortableHeader, ExpandableRow, BulkActions, TableSkeleton and Pagination composed manually. Use this route when sorting and paging happen on the server.

Records built from parts
ExpandTeam
Access audit
Growth$48,714
Release notes
Finance$39,337
API v2 rollout
Growth$31,904
Contract template
Platform$31,418
Help center
Support$24,471

FilterBuilder

components/tables/advanced-filters

Inline condition editor with text, select, number and date fields and all/any matching. AdvancedFilters wraps it in a popover with Apply.

Show records matching
of these conditions

15 of 24 records match.

Pagination

components/ui/pagination

Full with rows-per-page and first/last, simple for narrow containers, and disabled while loading.

Full

Simple

Disabled (loading)

Forms

Inputs that handle the awkward cases: searching long lists, ranges of dates, money and percentages, codes, uploads, rich text, and leaving with unsaved changes.

Combobox

components/ui/combobox

Searchable single-select: groups, icons, disabled options (Sweden), clear button, async loading and “Create …”.

Type a name that isn't listed to create it.

MultiSelect

components/forms/inputs

Inline filtering, keyboard toggling, Backspace removes the last chip, a selection cap and collapsed overflow chips.

DesignResearch

Up to 4.

AnalyticsDesignEngineering+3 more
Legal

Autocomplete

components/forms/inputs

Free text with suggestions: the typed value is always accepted.

Try “san”.

DateRangePicker

components/ui/date-range-picker

Presets, two linked months, hover preview, min/max bounds and Apply/Cancel. Nothing changes until Apply.

With value and presets

Empty, limited to this year

Invalid

Disabled

TimePicker

components/ui/time-picker

Type “930”, “9:30pm” or “21:30”, or pick a slot. Unreadable or out-of-range input is flagged.

CurrencyInput · PercentageInput

components/ui/number-inputs

Raw while editing, formatted on blur, clamped to min/max. Arrow keys step (Shift for ×10). Paste “$1,234.50” and it parses.

$
€EUR
¥
%
%
$

OTPInput

components/ui/otp-input

Paste or autofill a whole code, arrow keys move between boxes, onComplete fires when all boxes are filled.

Grouped 3 + 3

Verification code

Enter the 6-digit code.

Error

Verification code

Disabled

Verification code

FileUploader

components/ui/uploader

Type, size and count checks before upload; per-file progress; errors with retry (name a file “fail.pdf” to see it).

or drag and drop

PDF, CSV, XLSX or images · Up to 8.4 MB each · 5 files max

Compact

Up to 2.1 MB each

Disabled

Error

or drag and drop

ImageUploader

components/ui/uploader

Drop onto the preview or use the buttons. Square, circle and wide shapes; validation and upload progress.

PNG, JPG or WebP. Square images work best. Up to 5.2 MB.

At least 400 × 400 px. Up to 5.2 MB.

PNG, JPG or WebP. Square images work best. Up to 5.2 MB.

RichTextEditor

components/ui/rich-text-editor

Active-state toolbar, Ctrl/⌘ + B/I/U/K, inline link editor, pasted HTML sanitised, word count with a soft limit, and `name` for native forms.

0 / 60 words

Basic toolbar

toolbar="basic"

Invalid · Disabled

invalid · disabled

FormSection · FormActions · UnsavedChangesDialog

components/ui/form-layout

Edit a field to see the unsaved indicator. Clear the name and save for the error state. “Leave page” asks before discarding edits; reloading the tab triggers the browser's own prompt.

General

How this workspace appears to members.

Limits

Spending cap applied across all projects.

$

Feedback

Telling people what happened and what's happening: toasts, alerts, inline messages, progress, status, placeholders and confirmations.

Toast

components/ui/toast

Four tones plus loading. Toasts with an action stay until dismissed; all pause on hover or focus. promise() turns a loading toast into its result.

Alert

components/ui/feedback

Info, success, warning and error, optional actions underneath, a right-side action, dismissible and outlined variants.

Scheduled maintenance

The service will be read-only on Sunday from 02:00 to 03:00 UTC.

Domain verified

Your trial ends in 3 days

Add a payment method to keep your data and settings.

InlineError · SuccessMessage

components/ui/feedback

InlineError renders nothing when there's no message, so it can sit permanently under a field. SuccessMessage confirms in place.

Saved just now

Invitation sent

Riley will get an email with a link to join.

Progress · ProgressRing · Spinner

components/ui/feedback

Determinate bars in three sizes and four tones, indeterminate for unknown duration, rings for tight spaces.

64%
100%
82%
97%

Indeterminate

35%78%100%Loading results

StatusBadge · Badge

components/ui/badge

Status always pairs colour with text and a dot. Keys come from a shared vocabulary; `tone` overrides it, `pulse` marks live states.

ActivePendingPausedFailedDraftCompletedScheduledIn progressResolvedOverdue

Live · small · custom

RunningActiveSyncing

Plain badges

NeutralPrimaryInfoSuccessWarningDanger

Skeleton

components/ui/feedback

Primitives plus text and card presets that match real content shapes.

EmptyState

components/ui/feedback

Default, compact and bordered (for drop zones), with primary and secondary actions.

No projects yet

Projects group related work and the people doing it.

No matches

Try a different keyword.

ErrorState

components/ui/feedback

Retry with a busy state, an extra action and a reference code for support.

ConfirmationDialog

components/ui/dialog

Focus starts on Cancel. Escape and backdrop clicks are ignored while the action runs. Irreversible actions can require typing a phrase.

Content & workspace

Building blocks for dashboards and collaborative screens: metrics, usage, pricing, people, boards, activity, files and media.

$84,210

Up 12.4%vs last period

Churn rate

2.1%

Down 0.4%vs last quarter

New sign-ups

1,284

This month

64% of target2,000 goal

Open issues

37

Up 8%vs last period

Loading

Active users

Error

Conversion

Small

Avg. response

1h 12m

Down 18%vs last period

UsageMeter

components/ui/meters

Normal, warning (80%), critical (95%), limit reached, unlimited and loading. The upgrade action appears only once a threshold is crossed.

Seats8 / 15

7 seats available

Storage42.6 / 50 GB

Approaching your limit

API requests982K / 1000K

Limit almost reached

Automations50 / 50

Limit reached

Projects128 / Unlimited

PricingCard

components/ui/pricing-card

Popular and current plans, excluded features, custom pricing, yearly discount, and a loading state while the change processes.

Free

Current plan

For trying things out.

$0 /mo

  • 2 members
  • 1 project
  • Community support
  • Audit log (Not included)
  • SSO (Not included)

Team

Popular

For small teams shipping together.

$39 /mo

  • 15 members
  • Unlimited projects
  • Priority support
  • Audit log
  • SSO (Not included)

14-day free trial, no card required.

Scale

For organisations with advanced needs.

Custom

  • Unlimited members
  • SSO and SCIM
  • Dedicated success manager
  • 99.99% SLA

ProfileCard

components/ui/profile-card

Cover, presence, stats, details and actions.

JL

Jordan Lee

Product Designer · Platform

AdminRemote
12
Projects
48
Tasks
9
Reviews
Email
jordan@example.com
Time zone
UTC+1

ProfileCard (horizontal · loading)

layout="horizontal"
CN

Casey Nguyen

Support Lead

On leave

AvatarGroup · Avatar

components/ui/avatar

Overflow counter (clickable when given a handler), sizes and presence.

AMSRJLTKCN
AMSRJL
AMSRTKRP

KanbanCard

components/ui/kanban

Labels, subtasks, due dates (overdue in red), counts and assignees. Use it in Kanban's renderCard.

ContentPriority

Three-step sequence for new workspace owners.

2/5 subtasks done
HighOct 34 comments2 attachments
SRTK
Finance

Renew analytics contract

3/3 subtasks done
Sep 28 (Overdue)
MD

Selected card

Shown with the selection ring.

ActivityFeed

components/ui/activity

Day groups, quoted comments, inline extras, unread markers and paging. Loading, error and empty states below.

Today

  1. AM

    Alex Morgan commented on Quarterly review

    Numbers look good. Can we add the regional split before Friday?

    10 min ago

  2. SR

    Sam Rivera changed the status of Data migration

    Pending→Active

    1 h ago

Yesterday

  1. JL

    Jordan Lee uploaded 2 files to Brand refresh

    logo-final.svg

    Image · 48 kB

    Yesterday, 16:20

Loading

Error

Empty

No activity yet

Updates from your team will appear here.

ActivityTimeline

components/ui/activity

Icon, avatar or dot markers; tones; day headings. The plain version powers the existing Timeline widget.

Today

  1. Payment received

    Invoice INV-2041 paid in full.

    09:41

  2. Branch merged into main

    12 commits, 3 reviewers.

    08:15

Yesterday

  1. CN

    Casey Nguyen replied to the thread

    17:30

  2. 3 members added

    11:02

Earlier

  1. Record deleted

    Restorable for 30 days.

    Sep 26

Simple

  1. Created

    Sep 2

  2. Approved by finance

    Sep 9

  3. Comment added

    Needs a signed copy.

    Sep 12

FilePreview

components/ui/file-preview

File-type icons from the extension, row and card layouts, uploading, error and selected states.

PDF · 2.3 MB · Updated Sep 28

Customer list.csv

Spreadsheet · 420 kB

Pitch deck.pptx

Upload failed: file is larger than 10 MB.

Contract.docx

Document · 88 kB

Archive.zip

Archive · 64 MB

schema.json

Code · 12 kB

Budget.xlsx

Spreadsheet · 210 kB

Notes.md

Document · 4 kB

MediaGallery

components/ui/media-gallery

Selection with select-all, video badges, and a keyboard lightbox (←/→, Esc returns focus to the tile).

1 of 8 selected
  • Team offsite.jpg

    2.4 MB

  • Product walkthrough.mp4

    48 MB

  • Dashboard mockup.png

    860 kB

  • Office entrance.jpg

    3.1 MB

  • Launch banner.png

    1.2 MB

  • Whiteboard notes.jpg

    1.9 MB

  • Event recap.mp4

    31 MB

  • Avatar set.png

    540 kB

Loading

Empty

No media yet

Uploaded images and videos will appear here.