Gallery

Component gallery

baseline

Every component in @social-dashboard/ui — Catalyst's kit plus the few pieces it does not ship — in every state it has. Fixed content only: this page is the screenshot baseline.

Hover, focus and active styling cannot be captured statically. They are proven by the browser suite, not by this page.

Typography

Heading, subheading, body, strong, code and link, at their shipped sizes.

Heading — a page title

Subheading — a section title

Body text is zinc-500 with a zinc-950 emphasis, and links like this one carry the brand seed. Inline code reads as packages/ui/src/catalyst.

Button

Solid colours, outline, plain, disabled, with an icon, and as a link.

As a linkPlain link

Badge

The kit's full colour ramp. Status colour is never the only signal — the text says it too.

redorangeamberyellowlimegreenemeraldtealcyanskyblueindigovioletpurplefuchsiapinkrosezinc

Avatar

Initials or an image, square or round — the kit's two shapes at three sizes.

Notice · four tones

Ours, not the kit's: Catalyst's Alert is a modal dialog, so an inline banner has nothing to compose from.

Informational

States a condition in place. The page behind it stays usable.

Succeeded

The action completed and the result is the message.

Answered, with a caveat

Partial coverage, stale data, or a limit about to be reached.

Failed

Something did not happen. Recovery, if any, is stated here.
Untitled: one line, no heading.

Card and Section

The raised surface, and the titled block built on it.

Card

A ring, a radius and a surface colour — the same pair the kit's dialogs use.

Section

A card with a heading contract: title, optional note, content.

Content goes here.

Divider

Two weights: the default rule, and the soft one used inside dense panels.

Input, Textarea, Select

With a description, with an error, disabled, and read-only.

The description is associated automatically — no htmlFor to keep in sync.

Must be at least 3 characters.

Optional. Up to 400 characters.

Listbox and Combobox

The kit's two rich pickers: a styled listbox, and the same list with type-ahead filtering.

Holds a value and renders the chosen option in the button.

Same options, filtered as you type.

Checkbox, Radio, Switch

Grouped, described, checked, and disabled.

Notifications

Which events send an email.

Sent immediately, every time.

One message at 08:00 UTC.

Requires a provider this template does not ship.

Retention

The default for new workspaces.

Access

Anyone with the link can read this workspace.

Needs an identity provider.

Table

Striped and dense, with the last column right-aligned and tabular figures so the digits line up.

Gallery records
NameStatusOwnerValue
nightly billing rollupactiveAda Okonkwo$12,400
identity backfillpausedBruno Salas$3,120
webhook replayfailedChen Wei$840
quarterly exportarchivedDara Iqbal$26,900

Dialog · all three sizes, and Alert

Opens over the page; the trigger is the only client code here.

Drawer · sizes and footer actions

Slides in from the right edge.

Dropdown · anchored menu

Sections, headings, descriptions, shortcuts, a divider and a disabled item. Closed here; open state is proven in the browser suite.

Toast

Transient confirmation for something that already happened. Anything the user must act on is a Notice or a Dialog instead.

Skeletons

The blocks are aria-hidden inside one live region: “loading” is the message, not the shape of the boxes.

Loading gallery example

Stat

A KPI states its BASIS rather than a made-up delta.

Records
240
in the current scope
Active
128
53.3% of scope
Failed
17
last 24 hours, UTC
Value
$1,204,900
sum of open records

Routed tabs

Each tab is a real URL — shareable, back-button-able, server-rendered.

Description list

Term and detail pairs — the shape every detail panel ends up needing.

Identifier
rec_0a1
Status
active
Owner
Ada Okonkwo
Notes
Runs at 02:00 UTC against the billing ledger.

Empty state

A real, successful, empty answer — never used for a failure.

Nothing in this view

No records match the current filter. The scope was read successfully — this is a real empty result, not a failed load.

Charts · ready

Thursday is null, not zero — an unobserved bucket breaks the line instead of inventing a floor.

Line · two series

Fixed legend order; each series carries a non-colour marker.

records · sum per day · UTC

Partial data — some buckets were not observed and are shown as gaps, not zeros.
  • Created
  • Failed
Line chart: Line · two series. Measured in records · sum per day · UTC. 2 series total, 7 buckets each. Values range 1 to 21, total 105. 2 of 14 buckets were not observed and are shown as gaps, not zeros.
Line · two series — data table
DayCreatedFailed
Mon124
Tue186
Wed93
Thunot observednot observed
Fri217
Sat41
Sun155

Bar · stacked

Same window, same basis as the line beside it.

records · sum per day · UTC

Partial data — some buckets were not observed and are shown as gaps, not zeros.
  • Created
  • Failed
Bar chart: Bar · stacked. Measured in records · sum per day · UTC. 2 series total, 7 buckets each. Values range 1 to 21, total 105. 2 of 14 buckets were not observed and are shown as gaps, not zeros.
Bar · stacked — data table
DayCreatedFailed
Mon124
Tue186
Wed93
Thunot observednot observed
Fri217
Sat41
Sun155

Donut · top-N plus other

Truncation folds into an exact remainder; the total never moves.

records

  • ingest42 (37.2%)
  • billing31 (27.4%)
  • identity18 (15.9%)
  • reporting12 (10.6%)
  • Other10 (8.8%)
Donut chart: Donut · top-N plus other. Measured in records. 1 series, 6 buckets each. Values range 3 to 42, total 113. Showing the top 4 of 6 categories; the remaining 2 are summed exactly as Other.
Donut · top-N plus other — data table
CategoryValue
ingest42
billing31
identity18
reporting12
Other (2 categories)10
Total113

Sparkline

Glance size — no axes, no legend, one accessible label.

Sparkline: Records created per day. Measured in records · sum per day · UTC. 1 series, 7 buckets each. Values range 4 to 21, total 79. 1 of 7 buckets were not observed and are shown as gaps, not zeros.
Records created per day — data table
BucketRecords created per day
Mon12
Tue18
Wed9
Thunot observed
Fri21
Sat4
Sun15

Charts · loading, error, empty, partial

Every non-ready state a chart can reach.

Loading

Skeleton holds the plot's own dimensions.

records · sum per day · UTC

Loading Loading
Line chart: Loading. Measured in records · sum per day · UTC. Loading.

Error with stale data

Retryable, and honest about how old the last good answer is.

records · sum per day · UTC

Could not load this chart

Upstream aggregate timed out. Last good answer was 12 min old.

Bar chart: Error with stale data. Measured in records · sum per day · UTC. Could not be loaded.

Empty

The window WAS observed and held nothing — distinct from unavailable.

records · sum per day · UTC

Data unavailable

This window was not observed, so there is nothing to show. A zero here would be a guess, not a measurement.

Line chart: Empty. Measured in records · sum per day · UTC. This window was not observed, so there is nothing to show. A zero here would be a guess, not a measurement.

Unavailable

Nothing in this window was collected, so no total is claimed.

records

Data unavailable

This window was not observed, so there is nothing to show. A zero here would be a guess, not a measurement.

Donut chart: Unavailable. Measured in records. This window was not observed, so there is nothing to show. A zero here would be a guess, not a measurement.

Partial coverage

Answers, but says how much of the window it actually saw.

records · sum per day · UTC

Partial data — 5 of 7 buckets observed. Unobserved buckets are gaps, not zeros.
  • Created
  • Failed
Bar chart: Partial coverage. Measured in records · sum per day · UTC. 2 series total, 7 buckets each. Values range 1 to 21, total 105. Coverage: 5 of 7 buckets observed. 2 of 14 buckets were not observed and are shown as gaps, not zeros.
Partial coverage — data table
DayCreatedFailed
Mon124
Tue186
Wed93
Thunot observednot observed
Fri217
Sat41
Sun155

Sparkline · states

Loading, error and unavailable at glance size.

Loading Loading sparkline
Unavailable — last good answer 1 h old.Data unavailable