Skip to content

Examples

ui26 · examples
Composed patterns, in every framework.

Browse layouts and compositions built from ui26 primitives. Open any example to see Preview and source in React, Svelte, Astro, or JSON Render.

Cards

4 examples →
Ticket: Payment retry loop
Flashing back to idle between paying and loading.
P0#billing#fetcher
Ticket card Card with priority badge, tag chips, and a primary action — for surfacing a single issue.
Weekly transitions
Past 7 days across all machines.

Transitions · 1,284 (+12%)

Avg latency · 142ms (−6%)

Error rate · 0.3% (+0.1%)

Stats card Card with a stack of label · value rows — for dashboards and recap surfaces.

MRR

$24.6k

+12.4% vs last month

Active users

1,284

+8.1% vs last month

Churn

0.6%

−0.2pp vs last month

KPI strip Three-column metric strip — label, value, delta — for dashboard headers and overview banners.
Loading state
Skeleton
Skeleton card Card showing a skeleton loading state with avatar placeholder, text rows, and a content block.

Forms

4 examples →
Sign in
Use your work email to continue.

We'll never share your email.

Sign-in form Email + password form composed from Field primitives, with helper text and a submit row.

lowercase · dashes

198/2000

Workspace form Two-column settings form — text fields, an inline error state, and a confidence slider.

Checkbox

Switch

Radio group

Selection controls Three-column composition showing Checkbox, Switch, and radio-style option lists in realistic settings patterns.
Delete state machine?

This will permanently remove checkout and all 14 connected effects.

Confirm dialog Destructive action confirmation — title, description, typed confirmation input, and danger/cancel buttons.

Marketing

2 examples →
Upgrade your plan
Unlock more projects and seats.

$19/month, cancel anytime.

Upgrade card Card with body copy and a footer CTA — for plan upgrades and conversion prompts.

no projects yet

Start your first project

Projects organize machines, tickets, and team activity. You can rename them anytime.

Empty state Centered empty state — eyebrow, headline, helper copy, primary CTA. For zero-data screens.

Feedback

6 examples →
Alert gallery Four alert variants — default, success, warning, destructive — in a 2-column grid.

Status

Active● Shipping● ReviewBlocked● In progress● DraftArchived

Priority

P0 · CriticalP1 · HighP2 · MediumP3 · Low

Inline tags

#billing#fetcher#needs-repro+3
Badge compositions Status, priority, and tag badge rows — realistic combinations showing variant × semantic-color usage.
Progress
Upload queue

checkout.ts

100%

fetcher.ts

72%

auth.ts

38%

Progress card Upload queue with three progress rows — label/percentage header and a Progress bar per file.
Onboarding
Connect your first machine

Step 2 of 4

50%

Install matchina

Define a machine

Mount in your app

Test transitions

Onboarding card Step-by-step onboarding card with a progress bar and checklist of tasks.
Accordion
FAQ
What is matchina?
A typed state-machine library — composable, framework-agnostic, zero config.
How does persistence work?
Pass persist: 'key' to useMachine — survives remounts and page reloads.
Is it accessible?
Yes — built on native details/summary, zero JS overhead.
Accordion card FAQ card using native details/summary accordion — first item open by default.
Tooltip
Hover states
Tooltip card Hover any button to see a delayed tooltip — Matchina state machine, Floating UI positioning.

Productivity

6 examples →
Recent activity
Last 7 days across all machines.
ship

kai shipped Payment retry loop

3h

merge

winston merged Field family port

5h

open

ai opened Investigate flaky checkout test

1d

Activity feed Card with a stack of timeline entries — actor, action, timestamp. For project changelogs and audit panes.

New ticket

⌘ N

Switch project…

⌘ P

Open settings

⌘ ,

Sign out

⌘ ⇧ Q
Command palette Search-first action launcher — Input header, suggestion rows with keyboard hint chips. Static markup; wire your own keyboard handler.

All issues

128

ID

Title

Status

Priority

Assignees

Updated

MCN-142

Payment retry loops past paying → idle briefly

● In progressP1

KM · JR

3m

MCN-141

useMachine persist flag should accept a key

● ReviewP2

LS

1h

MCN-140

Type inference breaks on nested effect() resolve

● BlockedP0

AP

2h

MCN-139

Docs: examples/checkout.ts missing retry arrow

● DraftP3

KM

5h

MCN-138

Add matchState narrow utility to public API

● ShippingP2

JR · AP · LS

yesterday

MCN-137

Playground: ⌘+Enter should run, not submit

● In progressP2

KM

yesterday

MCN-136

createMachine throws on empty state set

● ShippingP1

AP

2d

Ticket table Issue list with repeat-driven rows — badge variants, checkbox state, and assignees driven by spec state.

Overview

States

Transitions

Effects

History

Daily transitions · past 7 days

M

T

W

T

F

S

S

Transitions

1,284

+12%

Avg latency

142ms

-6%

Error rate

0.3%

+0.1%

Machine stats Analytics panel with tab bar, 7-day bar chart, separator, and three stat callouts.
Notifications

✓

Machine deployed

checkout@2.1.0 · 1.2kb gzipped

✕

⚠

Effect timed out

fetchUser() exceeded 3s — retrying

✕

✕

Type error in transitions

paying.fail → "falied" — did you mean "failed"?

✕

ℹ

Claude finished rollup

42 tickets → 7 changelog entries · Review now ↗

✕

Notification list Card containing a stack of toast-style notifications with tonal left-border accents.

▦

All Issues

▾

●

Open

3

⋮⋮

░▅▇

1465

◉

Reconcile Tix theme with Tix UI

task

Apr 23

⋮⋮

░▅▇

706d

◉

Themes: dev-server watcher auto-rebuilds tokens.css

themesfeature

Apr 24

⋮⋮

░▅▇

fd9c

◉

Core Shad CN Themes

task

Apr 24

▾

●

In Progress

1

⋮⋮

░▅▇

d127

◉

Try mixing with external components

epic

Apr 23

▾

●

In Review

8

⋮⋮

░▅▇

1c6d

◉

Button wrappers render in docs (steel thread)

dxtask

Apr 22

⋮⋮

░▅▇

9281

◉

Tech design: pluggable full-theme system

feature

Apr 23

Issue list Grouped ticket list in the style of tix — status dot, priority bar, type badge, and date. Tests dense row layouts with the design system.

AI

2 examples →

you · 2:14pm

Why is the checkout test flaky on Mondays only?

claude · synthesised

Likely a weekend cron that recycles staging Stripe keys. The first Monday run sees stale keys until the seed job catches up. Run `pnpm seed:stripe` before the test or move the cron to Sundays.

3 sourcesmodel: opus-4.7
AI message thread Card showing one user/assistant exchange — role eyebrow, message body, and a quiet provenance footer. For chat surfaces and inline copilots.

Why is the checkout test flaky on Mondays only?

2:14 pm

WF
✦

Likely a weekend cron that recycles staging Stripe keys. The first Monday run sees stale keys until the seed job catches up. Run pnpm seed:stripe before the test suite, or move the cron to Sundays.

3 sources

2:14 pm

How do I move the cron to Sundays without breaking the pipeline?

2:15 pm

WF
✦

Edit .github/workflows/seed.yml and change the cron from 0 2 * * 1 (Monday) to 0 2 * * 0 (Sunday). Then trigger a manual run once to confirm the keys are fresh before Monday CI starts.

2:15 pm

Chat thread Two-turn AI conversation with user bubble (muted bg) and bare AI reply. Avatar, timestamp, and a composed input footer with mode pills.

Navigation

2 examples →
Breadcrumb nav Three-segment breadcrumb showing workspace > project > current page.

Showing 1–7 of 128 issues

Pagination bar Result count + page navigation row for a 128-item list.

Overlays

1 example →

Menu (right-click)

Ticket actions

↵

Open

↵

↗

Open in new tab

⌘↵

⎘

Copy link

⌘C

↑

Assign to…

A

⧉

Duplicate

D

✕

Delete

⌫

Context menu Ticket action context menu with keyboard shortcuts, grouped by separator — right-click pattern.

People

1 example →

Team

JRKMAPLS

+12 members

Sizes

SMMDLGXL
Avatar row Team avatar strip showing members alongside size variants — sm, default, lg, xl.

Design System

2 examples →

display/xl

Composable state.

60/500

display/lg

State, without ceremony.

48/500

h1

Ticket: Payment retry loop

30/600

h2

Transitions, guarded

24/600

body

Matchina handles state transitions, effects, and pattern matching — end-to-end typed.

14/400

caption

Last edited 3 hours ago by kai.

12/400

mono/sm

v0.4.0 · 2kb gzipped · 0 dependencies

12/400

eyebrow

now · shipping · api reference

10/500

Type scale Eight-step type scale — display, headings, body, caption, mono, eyebrow. Tailwind named sizes throughout.

background

--background

foreground

--foreground

card

--card

muted

--muted

border

--border

accent

--accent

success

--success

warn

--warn

info

--info

purple

--purple

destructive

--destructive

ring

--ring

Color palette Semantic color token swatches — background, foreground, card, accent, status tones. Reflects the active theme.