Quiraing sunrise hike
Guided · 4 hours · from $68
Design system
Tokens and components, drawn live from the code the pages run on: change a token or a control, and the sheet changes with it.
Foundations
Colour, type, space, shape and motion, each written once and read everywhere.
app/globals.cssNear-whites a step apart, the page near the top, so cards separate by tint.
--card --background --accent --muted --secondary --border One hue in three roles: what a control fills, the primary button, and the ink.
--primary --action --primary-ink --chip-alpha app/globals.cssEvery brand the preset panel offers, as fill, action and ink. Ink is always one.
Two levels of text on every rung; anything quieter is set smaller, never fainter.
--foreground --muted-foreground Seven hues that tell peers apart — a chip, a set, a mark — never a second brand.
Measured live in this mode, against the floors: 4.5:1 for text, 3:1 for a focus ring.
| Pair | Tokens | Ratio |
|---|---|---|
| Text on the page | --foreground on --background | — |
| Quiet text on the page | --muted-foreground on --background | — |
| Quiet text on a chip | --muted-foreground on --muted | — |
| A label on the fill | --primary-foreground on --primary | — |
| The primary button's label | --action-foreground on --action | — |
| Brand ink on the page | --primary-ink on --background | — |
| The focus ring on the page | --ring on --background | — |
| The focus ring on a card | --ring on --card | — |
app/globals.css · --font-heading, --font-sansTwo faces at most, two weights, two ink levels. Size says how a line is read.
font-heading · 36 to 60Plan less, arrive more
SectionHeading · 30 to 48text-xl · 20Free cancellation
text-base · 16Change plans up to a day before and the full amount comes back to you.
text-sm · 14Two nights · Breakfast included · From $184
text-xs · 12Popular this week
Space around a group exceeds space within it. Controls draw at 40, never under 36.
36A small or header control40Every control by default44A section's one call to action12Inside a group24Between items of a row48The header gap, mt-head128Between sections, 160 from smapp/globals.css · --radius, --radius-controlCorners read against the shortest side; depth is one cue — a hairline or a shadow.
controlEvery controlsmUnder 48pxmdA tilelgA cardhairlineRestingshadow-softLiftedshadow-soft-lgFloatingHugeIcons for every glyph; Heroicons for arrows, chevrons, play and the rating star.
app/globals.css · --duration-*, --ease-*Four named curves, nothing written as a number. Point at a tile to run it.
answerHover, a colour, a pressspringLetting go of a presssheetA drawer, a dialogarriveA section revealing onceComponents
Each one shown in its variants and its states. A page takes its controls from here.
components/site · Eyebrow, SectionHeading, LedeEvery section opens with the same four parts, and a card that goes somewhere is one link.
How it works
Pick what you want, choose a time that suits you, and pay once you are sure. Nothing is charged until you confirm the dates and the price.
Filter by date, price and distance, and keep the ones you like.
Pick a time that suits you; nothing is charged until you confirm.
Plans move. Free cancellation up to a day before keeps it simple.
components/ui/save-toggle.tsxSaved is a solid coral heart in every form, and the count moves with the press.
| Variant | Rest | Hover | Pressed | Focus |
|---|---|---|---|---|
| Disc | ||||
| Disc, saved | ||||
| Count | ||||
| Count, saved | ||||
| Pill | ||||
| Pill, saved |
components/ui/card-corner.tsxThe arrow a whole-card link shows on hover and when its link has keyboard focus.
| Variant | Rest | Hover | Focus |
|---|---|---|---|
| Link card | Coastal stays214 places | Coastal stays214 places | Coastal stays214 places |
Guided · 4 hours · from $68
components/ui/badge.tsxA hue's tint under its own ink on three grounds, and a count on a control's corner.
components/ui/tooltip.tsxA few words of ink for an icon-only control. Never the only place a fact lives.
components/ui/toast.tsxOne polite notice at a time for what a press just did. Dismiss it or let it clear.
components/ui/text-field.tsxOne box for every form. Its error or its counter stands on the label line.
| Variant | Rest | Hover | Focus | Error | Disabled |
|---|---|---|---|---|---|
| Empty | Add a city | ||||
| Filled | Unknown city |
Your booking confirmation goes here.
In US dollars, before taxes and the cleaning fee.
One code a booking.
components/ui/password-field.tsxShow sits on the label line, and a four-step meter where a password is chosen.
Eight characters or more. A phrase is easier to remember.
You sign in with Google, so there is no password to change.
components/ui/select.tsxOne select, dressed by a variant for the ground it stands on, never by a class.
| Variant | Rest | Hover | Focus | Disabled | Error |
|---|---|---|---|---|---|
| Outline | |||||
| Tonal | |||||
| Field |
Filled, on a tint
Arrival
Fri 14 Nov
Getting there
Lisbon airport, 25 min
Photo, on a photograph
Bare, in a bar that draws its own frame
Tile, on a tint
Field, beside the text fields of a form
components/ui/facet-select.tsxAny number of options on. Each row counts its results, and the corner what is set.
| Variant | Rest | Hover | Focus | Disabled |
|---|---|---|---|---|
| Nothing set | ||||
| Two set |
components/ui/search-field.tsxSuggestions grouped by kind as it is typed into, and trending searches while empty.
| Variant | Rest | Hover | Focus | Disabled |
|---|---|---|---|---|
| Empty |
Try “li” or “ky”, or open it empty for what is trending.
components/ui/checkbox.tsxA 20px box whose edge holds at rest, with a 40px reach and a tick on the brand.
| Variant | Rest | Hover | Pressed | Focus | Disabled |
|---|---|---|---|---|---|
| Unchecked | |||||
| Checked | |||||
| Indeterminate |
Agree to the house rules to book this stay.
components/ui/switch.tsxOn is the brand's fill with a tick in the thumb, off the deepest rung.
| Variant | Rest | Hover | Pressed | Focus | Disabled |
|---|---|---|---|---|---|
| Off | |||||
| On | |||||
| Off, small | |||||
| On, small |
components/ui/radio-tiles.tsxPick one of a few, each with a line and a price. The arrow keys move the pick.
| Variant | Rest | Hover | Pressed | Focus | Disabled |
|---|---|---|---|---|---|
| Tile | Pay later | Pay later | Pay later | Pay later | Pay later |
| Picked | Pay later | Pay later | Pay later | Pay later | Pay later |
Prices are per night, before taxes.
Choose an arrival time so the host can plan the handover.
The media dress: each option is its picture, named by its alt text.
components/ui/segmented.tsxA few options in one track: it switches a panel as tabs, or sets a value as radios.
| Variant | Rest | Hover | Pressed | Focus | Disabled |
|---|---|---|---|---|---|
| Option | |||||
| Picked, outlined | |||||
| Picked, brand | |||||
| Option, raised | |||||
| Picked, raised | |||||
| Option, glass | |||||
| Picked, glass |
Three stays to a row, photo first, for browsing by eye.
Prices shown
Cabin by the lake · $206 a night
Type of place
Brand · Search for
Homes, rooms and cabins, priced per night.
Raised · How flexible are your dates?
Check in any day from 11 to 13 June, for 3 nights.
Glass · on a photograph
Ticket 1 · General admission
components/ui/filter-rail.tsxChips that narrow a list, each with its count. It scrolls sideways on a phone.
| Variant | Rest | Hover | Pressed | Focus | Disabled |
|---|---|---|---|---|---|
| Chip | |||||
| Picked | |||||
| Outline | |||||
| Framed | |||||
| Framed, picked |
Showing all 248 stays
Amenities, any number of them
Bedrooms
2 bedrooms, at least
components/ui/slider.tsxOne value or a range on a rail, with its reading in words above it.
| Variant | Rest | Hover | Pressed | Focus | Disabled |
|---|---|---|---|---|---|
| Single | |||||
| Range |
components/ui/range-filter.tsxA range over where the results sit, with typed ends, quick picks and a count.
Price per night
Before taxes and the cleaning fee.
252 stays
Distance from the centre
As the crow flies, from the old town square.
139 stays
components/ui/quantity-stepper.tsxA number typed or stepped with − and +, held to its range and snapped to its step.
| Variant | Rest | Hover | Pressed | Focus | Disabled |
|---|---|---|---|---|---|
| Compact | |||||
| At the floor |
3 nights · 1 room · $540 before fees
Who is coming?
Ages 13 or above
Ages 2 to 12
Under 2
Service animals are always welcome
Add to your stay
Breakfast for two
$24 a morning
$48
Airport pickup
$45 a ride
$45
Extra bed
$18 a night
$0
components/ui/pagination.tsxSeven slots at most, the page on show on the brand's tint, the ends drawn disabled.
Stays 13–24 of 140
Three pages need no gaps, and the first arrow waits disabled.
| Variant | Rest | Hover | Pressed | Focus | Disabled |
|---|---|---|---|---|---|
| Page | |||||
| Page on show | |||||
| Arrow |
components/ui/story-bars.tsxOne bar a slide, the one on show filling; held by focus, off screen or a pause.
Experience 1 of 4
Paddle out under the bridge before the ferries start, then coffee and pastries on the slipway with the crew.
Belém · 2 hours · $48 per person
Experience 1 of 4: Sunrise kayak on the Tagus
Ink, the default2 of 4
Experience 2 of 4
The brand, on its own tint2 of 4
Experience 2 of 4
Light, on a dark band or a scrim2 of 4
Experience 2 of 4
Autoplay off or reduced motion: a full bar, no pause.
components/ui/accordion.tsxOne answer open at a time, ruled by hairlines or with the open row on a tint.
tone="line" numberedtone="tint"tone="tint" weight="heading"| Variant | Hover | Pressed | Focus |
|---|---|---|---|
| Line | Yes, up to two. | Yes, up to two. | Yes, up to two. |
| Tint | Yes, up to two. | Yes, up to two. | Yes, up to two. |
| Tint, open | Yes, up to two. | Yes, up to two. | Yes, up to two. |
components/ui/dialog.tsxA sheet from the foot of a phone, centred from sm: header, scrolling body, footer.
Open either one. On a phone it rises from the foot of the screen.
components/ui/drawer.tsxA sheet from any edge, swiped away: snap points, a handle, a drawer inside one.
From the foot with a handle and a second drawer inside it, from the end of the line, and with a snap point that holds a peek of the list.
components/ui/avatar.tsxA face at four sizes, initials on the brand's tint until it loads, a status, a group.
Four sizes: 24, 32, 40 and 56
Initials while the photo loads, or for someone with none
A status, named to a screen reader
A group, with the rest counted
components/ui/rating.tsxA score out of five as stars, the last one filled to its fraction, read as one image.
Small, inside a line of text
4.87· 312 reviews
Medium, beside a larger figure
Two tones only: the brand by default, or ink
A fraction fills the next star to its share
Input: a score given with a press or the arrow keys
Input states: unrated, rated, ink, disabled
components/ui/price.tsxMoney in its currency and locale: a muted unit, cents only under ten, Free at zero.
USD · en-USA stay, by the nightGBP · en-GBUnder ten keeps its penceEUR · de-DEThe locale places the signJPY · ja-JPNo minor unit at any sizeUSD · en-USZero prints as Freecomponents/ui/progress.tsxHow far along it is: a label and its value over a bar filling from the start.
components/ui/skeleton.tsxThe resting shape of what is on its way, on the muted rung, with a slow pulse.
components/ui/empty-state.tsxA designed screen for a list with nothing in it; its action brings results back.
Stays in Lisbon, filtered by Pets allowed and Under $80
Drop Pets allowed and 14 stays under $80 come back.
components/ui/link-card.tsxOne card, one page: an inset photo, the title's link over the face, controls above.
| Variant | Rest | Hover | Pressed | Focus |
|---|---|---|---|---|
| Small card | Arched-mirror studioRibeira, Porto | Arched-mirror studioRibeira, Porto | Arched-mirror studioRibeira, Porto | Arched-mirror studioRibeira, Porto |
components/ui/table.tsxEvery list of records: sortable heads, linking rows, a ticked row and a totals line.
1 selected
A press anywhere on a row opens its order; the box ticks it instead. Refunded shows the empty row.
| Variant | Rest | Hover | Pressed | Focus |
|---|---|---|---|---|
| Row that links | ||||
| Selected row | ||||
| Sorting head |
components/ui/description-list.tsxOne record in label and value rows: a heading per group, figures, chips and actions.
maya.ortiz@fastmail.com
Fri, Oct 9 at 8:00 PM, The Foundry
Account ending 6411
components/ui/calendar.tsxA month to pick a night or a stay from; taken and past nights are struck through.
| Variant | Rest | Hover | Pressed | Focus | Disabled |
|---|---|---|---|---|---|
| Day | |||||
| Today | |||||
| Picked |
One night, the past and sold-out ones struck through
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
Month and year lists, for a date far off
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
A stay over two months, a booked night closing the way
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
components/ui/date-picker.tsxA field that opens presets beside a month; either one fills it and closes.
| Variant | Rest | Hover | Pressed |
|---|---|---|---|
| Card | |||
| Field | |||
| Bare |
| Variant | Focus | Disabled | Error |
|---|---|---|---|
| Card | Pick a night first | ||
| Field | Pick a night first | ||
| Bare | Pick a night first |
A hero field, a form field and a stay; each opens on what it holds
components/ui/slot-picker.tsxDays and their open times, booked from a button that says what it books.
| Variant | Rest | Hover | Pressed | Focus | Disabled |
|---|---|---|---|---|---|
| Time | 4:00 PM | 4:00 PM | 4:00 PM | 4:00 PM | 4:00 PM |
| Picked | 4:00 PM | 4:00 PM | 4:00 PM | 4:00 PM | 4:00 PM |
| In a week | 4 PM | 4 PM | 4 PM | 4 PM | 4 PM |
| Week, picked | 4 PM | 4 PM | 4 PM | 4 PM | 4 PM |
A card's day row, the same card once booked, and a page's week
Talk to a host
A 20-minute video call
Times in your time zone
Talk to a host
A 20-minute video call
Times in your time zone
Call booked
Wed, Nov 4, 9:00 AM with the host team. The video link arrives by email an hour before.
Nov 9 – 15
components/ui/map.tsxLive tiles: price pins that gather and open a card, or the world with its cities.
| Variant | Rest | Hover | Pressed | Focus |
|---|---|---|---|---|
| Price | €148 | €148 | €148 | €148 |
| Saved | €98 | €98 | €98 | €98 |
| Lit | €172 | €172 | €172 | €172 |
| Gathered | €98· 3 places | €98· 3 places | €98· 3 places | €98· 3 places |
| Area | Lisbon· 6 | Lisbon· 6 | Lisbon· 6 | Lisbon· 6 |
| City | Lisbon3:03 PM | Lisbon3:03 PM | Lisbon3:03 PM | Lisbon3:03 PM |
| City, picked | Lisbon3:03 PM | Lisbon3:03 PM | Lisbon3:03 PM | Lisbon3:03 PM |
| Narrow | ||||
| Narrow, picked |
Loading the map
As a picture: still, its pin part of the drawing, the page scrolling through it
Loading the map
The world: each city on its own clock, dots where chips would crowd, arcs by id
Loading the map
Lisbon answers from 8 AM to 8 PM, Monday to Saturday, on its own clock.