Skip to main content
Patterns·@wyliedog/ui v0.0.0

Complete UI solutions, not just components.

Patterns are higher-order compositions — assembled from primitives, wired to the same token system, and tested against the same accessibility checklist. When the tokens move, every pattern moves with them.

inputs

Components

43 typed primitives

ButtonInputCard

Tokens

143 OKLCH colors

composed into

Patterns

15 reference compositions across 9 categories.

shipped as

Pages

Real product surfaces, end-to-end.

Patterns
15reference compositions
Categories
9auth, data, layout, a11y…
Built from
Primitivesand the compositions
Accessible
WCAG 2.2AA targeted
Category·2 patterns

Authentication

Sign-in, registration and account recovery examples, with validation states, error messages and social-auth placeholders.

Sign in or create an account.

Login & Registration

Storybook ↗

Simple login, login with social auth, a registration form, and a tabbed login and registration form.

CardFormInputButtonTabsCheckbox

Enter your email and we will send a link.

Password Recovery

Storybook ↗

Forgot-password email step, reset-password form, an invalid-link state, and a multi-step recovery flow.

CardFormInputAlertButton
Category·2 patterns

Data display

Browseable grids and showcase grids. Both share the same card primitive but differ in density and what they ask the user to do next.

Tokens

One source of truth for Figma and code.

Accessible

Contrast and focus checked on every build.

Fast

Import only the components you use.

Composable

Small parts that fit together.

Card Grid

Storybook ↗

Responsive grid of cards with default, all-variants and interactive examples. CardGrid takes a column count per breakpoint.

CardGridCardBadgeButton

Tokens

One source of truth for Figma and code.

Accessible

Contrast and focus checked on every build.

Fast

Import only the components you use.

Composable

Small parts that fit together.

Feature Grid

Storybook ↗

A grid of features with icons, titles and short descriptions, with several column configurations.

FeatureGrid
Category·1 pattern

Feedback

When something fails, the pattern catches it. Error states aren't an afterthought — they're designed as carefully as the happy path.

This card has its own boundary.

A failure stays inside its boundary, so this card keeps working.

Still running

Error Boundary Patterns

Storybook ↗

Basic and recoverable error boundaries, multiple and granular boundaries, custom fallback UI, and error logging.

AlertBadgeButtonCard
Category·2 patterns

Forms

Form composition and validation are the largest source of bespoke UI in any product. These patterns close the gap so teams stop reinventing field groupings, error display, and async submit states.

Form Compositions

Storybook ↗

Contact, multi-step, preferences, project-creation, payment and settings forms built from the system's form components.

FormInputSelectCheckboxSwitchTabs

Errors show once a field has been visited.

At least 8 characters.

Form Validation Patterns

Storybook ↗

Required-field, inline, password-strength, multi-step and async validation using the Form components and controlled state, with no external validation library.

FormInputTextareaAlertButton
Category·1 pattern

Layout

Page-level layouts built from the system's components: a dashboard, a settings page, a landing page and a user profile.

Tokens

Components

Checks

Elena Mori

Published tokens

Jude Reyes

Reviewed a pull request

Ari Klein

Added a component

Layout Patterns

Storybook ↗

Dashboard, settings page, landing page and user profile layouts, each composed from cards, inputs and separators.

CardAvatarBadgeButtonInputSeparator
Category·2 patterns

Navigation

Header and footer for marketing surfaces — the bookends of every public page. Used on this site too, so they're self-eating dog food.

Wylie Dog

Site Header

Storybook ↗

Header with logo, navigation links and actions, sticky with a backdrop blur; default and transparent variants. Used as the header on this site.

SiteHeaderButton

Site Footer

Storybook ↗

Footer with logo, navigation columns, social links and copyright; default and minimal variants with a responsive grid.

SiteFooter
Category·3 patterns

Page compositions

Pre-assembled marketing surfaces — the big building blocks of a public page. Each section composes lower-order patterns; the page composition wires them together end-to-end.

New release

Tokens that stay in sync

One source of truth for Figma and code.

Section: Hero

Storybook ↗

Headline, description, action buttons and an optional badge or image, in default, gradient and centered layouts.

SectionHero

Everything in one system

Tokens

One source of truth for Figma and code.

Accessible

Contrast and focus checked on every build.

Fast

Import only the components you use.

Composable

Small parts that fit together.

Section: Features

Storybook ↗

Features section built on FeatureGrid, with optional badges, several column configurations and style variants.

SectionFeatures
Wylie Dog

Main content

The header, sidebar, content and footer share one page.

Page Layout

Storybook ↗

Full-page layout with header, footer, sidebar and main content, in several width variants with a left or right sidebar.

PageLayoutSiteHeaderSiteFooterButton
Category·1 pattern

Responsive

Breakpoint-aware layout decisions. Not just "shrink the desktop" — structural reflows that pick the right pattern for each surface size.

Window size:
Mobile, 1 column
Resize the window to see the grid change.

Fits the space it is given.

Fits the space it is given.

Fits the space it is given.

Responsive Patterns

Storybook ↗

A responsive card grid, navigation and form. Use Storybook's viewport toolbar to compare mobile, tablet and desktop.

CardCardGridBadgeButtonLabel
Category·1 pattern

Accessibility

Components are tested against WCAG 2.2 AA. These patterns show focus management, live-region announcements, a keyboard-only form, color-contrast checks and skip navigation.

Press Tab. The ring comes from the focus tokens.

The message is tied to the field and announced when it appears.

A polite status message, announced without moving focus.

Accessibility Patterns

Storybook ↗

Reference implementations for focus rings, live regions, error announcement, keyboard navigation, and skip links. The shared focus indicator is driven by --color-focus-ring and --color-focus-halo, so a token change updates it everywhere.

AlertBadgeButtonDialogInputLabelSelect
Philosophy

A component is a primitive. A pattern is a decision.

Components answer "what". Patterns answer "when, how, and in what order". Two teams shipping the same Input on the same Card with the same Button can still produce two different sign-in forms — that's the inconsistency patterns exist to eliminate.

Use a pattern when the answer is already known.

Sign-in flows, error boundaries, responsive sidebars — these have all been designed before. Reach for the pattern; spend your novelty budget on the product, not the plumbing.

Build from scratch when the problem is genuinely new.

If no pattern fits, compose from components instead of bending a near-miss pattern out of shape. Then nominate the result for inclusion — that's how the catalog grows.

Patterns stay in sync via the token layer.

When --color-background-primary moves, every button, badge, and focus ring across every pattern moves with it — no pattern-by-pattern refactor required.

tokenscomponentspatternsyour pages

Ready to build?

See every pattern live in Storybook.

Each pattern ships with full states, controls, and copy-paste source. The Storybook mirrors what you see on this page — minus the pixel gap.