Components
Every component of this project on one page, in all its states. Fluent 2's structure in GridXray's blue, ink and Geist.
Foundations
The tokens in root.css. Components read roles (text, surface, stroke); the palette sits underneath.
Brand
Neutrals
Status
Type
Elevation
--shadow-xs Pressed, small marks--shadow-sm Cards--shadow Toasts, raised cards--shadow-md Menus, popups--shadow-lg Bars, side sheets--shadow-xl DialogsShape
--r-sm Checkboxes · 2--r Buttons, fields · 4--r-lg Toggles · 6--r-xl Cards, dialogs · 8--r-xxl Sheets · 12--r-pill Badges · ∞Icons
Fields
A light outline on a stronger base line. The brand line grows along the base while the field has the focus.
Text
Type something that is not an email and leave the field
Number
Between 0 and 10
Phone, code and file
Choices and dates
Selection
Native inputs underneath, so the keyboard and screen readers work as they always do.
Checkboxes
Radio buttons
Toggles
Switches
Range
Feedback
Color never says it alone: there is always an icon or a word with it.
Badges
Banners
Toasts
Tooltips
Waiting
Empty state
No saved searches yet
Save one and it shows up here with whatever is new in it.
Overlays
Dialogs hold the keyboard while they are open and hand it back when they close.
Modal
Drawer
Popover
Thumbnail
Cards and data
Cards raised off the page, figures, tables and the bar that filters them.
Filled
Raised off the page by a soft shadow, with no border of its own.
Outline
NewLies on the surface: for a card inside another one.
Compact
Less padding, for dense grids.
Plain
No ground at all: a section of the page.
Scorecards Scorecard · Scorecards
Where it sits against the rest of the state.
Filters and table Filters · Table
| Status | |||||
|---|---|---|---|---|---|
| 2217 Lakeshore Boulevard | Active | $934,000 | 4.6% | 2 | |
| 88 Harbor View Drive | Pending | $612,500 | 5.8% | 21 | |
| 9 Orchard Lane | Sold | $518,000 | 6.4% | 63 | |
| 1204 Maple Street | Active | $425,000 | 7.2% | 4 | |
| 310 W Cedar Avenue | Active | $289,900 | 9.1% | 12 |
Charts
Drawn in real pixels. Point at them, or focus one and use the arrow keys.
Lines with a legend
Line
Trend
Grouped bars
| For sale | For rent | |
|---|---|---|
| Q1 | 82 | 64 |
| Q2 | 96 | 71 |
| Q3 | 104 | 77 |
| Q4 | 91 | 69 |
Stacked bars
| Principal | Interest | Taxes | |
|---|---|---|---|
| 2026 | $5.2K | $14.8K | $4.2K |
| 2028 | $5.9K | $14.1K | $4.3K |
| 2030 | $6.7K | $13.3K | $4.5K |
| 2032 | $7.6K | $12.4K | $4.6K |
Horizontal bars
| New listings | |
|---|---|
| Austin | 48 |
| Phoenix | 41 |
| Tampa | 33 |
| Charlotte | 27 |
| Boise | 19 |
Donut
- Principal
- Interest
- Taxes
- Insurance
Progress
Forms
A whole form out of an API schema.
Form from a schema
Unsaved changes
Turn it on and switch the language: leaving asks first.
Brand
The wordmark and the X, in four color schemes.
darklightblackwhiteAnimated number
Without a look of their own
SeoHead, Turnstile, CookieBanner, InputWrap and UnsavedChangesGuard work behind the rest.