bytewave/ui

Layout & text

Arrange content with layout, typography and theme tokens.

Stack, Inline, Grid

Every gap is a layout rhythm token: Stack defaults to stack (16px), Inline to cluster (8px). Grid collapses to one column on mobile.

Inline justify=between

Column one

Column two

Column three

Auto-fit 1

Auto-fit 2

Auto-fit 3

Auto-fit 4

Auto-fit 5

Responsive Grid

Set a base column count, then override it at named viewport widths. Each count carries forward until the next override.

columns={"base":1,"sm":2,"lg":4}

Item 1

Item 2

Item 3

Item 4

Item 5

Item 6

Heading, Text, Code

Heading level sets tag and size; overline is the small-caps group label. Text is the body reset. Code is inline or a block.

Heading level 1

Heading level 2

Heading level 3

Heading level 4

Overline

Default body text, sm and normal weight.

Muted xs text for secondary lines.

Truncated mono text sha256:feedfacecafebeef0123456789abcdef0123456789abcdef

Inline docker pull inside a sentence.

docker login registry.example.test --username token --password-stdin

Section

Title, description and actions over a stack. Sibling sections separate with a rule; the first has none. Blocks stretch, so controls go inside an Inline.

Retention

Keep the newest tags and schedule the rest for deletion.

Section content.

Danger zone

Removing a repository is permanent.

Async patterns

Alert retry, Button pendingLabel and LoadMore cover the three states every list page repeats.

Appearance

Try different corner shapes, control sizes, and accent colors in the preview below.

Shape and density

Accent color

Changes primary buttons, accent badges, and input focus rings.

Featuredv1.4.0

Information

Status colors stay consistent when you change the accent.

Page loading

Page loading paints the header and a body skeleton at the real rhythm: skeleton=list rows or skeleton=form fields. No app writes its own pending page.

Bleed

Escapes the page gutters to the edge of the layout main while the header stays constrained. EmptyState bleed does the same and reaches the bottom.

Edge to edge

This empty state spans the full main width, past the page max width and padding.

CopyField with label

Formatters

core/format: every formatter returns an em dash for a missing value.

formatDate: Nov 27, 2026, 7:19 PM

formatRelative: 3 days ago

formatSize: 40.1 MB · —

plural: 1 image · 3 images

Page widths

Page is the body container inside SidebarLayout main. This playground shell is SidebarLayout + Sidebar + Page.

Page width=xs

Page width=sm

Page width=md

Page width=lg

Page width=xl