WIP components

Scratch space for components mid-iteration.

>Alert

Variants

With icon

With action

Title only

>Checkbox

Sizes

xs - 25px
sm - 35px
md - 45px (default)
lg - 55px

Variants

primary
accent
accent-soft
primary (indeterminate)
accent (indeterminate)
accent-soft (indeterminate)

States

With label

Controlled

state: indeterminate

Inside Field

Subscribe to newsletter

Monthly digest, never more.

>Form composition

Sign-up form

Create your account

You can change these later in settings.

Shown on your profile.

At least 12 characters.

Preferences
Newsletter

Monthly digest of what shipped.

Product announcements

Hear about new features as they launch.

I agree to the Terms of Service

Settings panel (with errors + sizes)

Profile
Notifications
Mentions

Someone @-mentions you.

Replies

Replies to your posts.

New followers
>Empty spinner

Standalone

In a surface

Loading -> empty -> content (toggle)

>Empty

Minimal

No bookmarks yet

Things you save will live here.

With icon media

No bookmarks yet

Tap the bookmark icon on any post to save it here.

With content / actions

Nothing to explore

Follow a few people or check back after the next refresh.

Default media slot (custom)

Offline

We can't reach the server right now.

>Input

Sizes

States

With label + ButtonGroup

>Input OTP

Verification code (6-digit)

Sizes

PIN (4-digit, masked)

Controlled / onComplete

Current: (empty)

Completed: (not yet)

>Field

Vertical (default)

Shown on your profile.

Horizontal

Responsive (vertical < @md, horizontal ≥ @md)

Description and single error

Only used for important notices.

Multiple errors (deduped)

Empty error renders nothing

Selectable card (Field nested in Field.Label)

FieldSet + FieldLegend

Profile

Tell people who you are.

FieldSeparator

FieldSeparator with content

or