Warm photography-led hospitality marketplace with pill search bars, #e63956 coral-rose primary CTAs, 14px stay cards, and transparent nightly pricing.
npx uikits-md@latest add haven --platform all --out .Explore the color balance, dual WCAG 2.2 AA & APCA Lc contrast checks, typography scale, and geometry tokens built into uikit-haven.
Book curated architectural stays with transparent nightly totals. Crisp hierarchy with intentional whitespace and zero decorative noise.
Install with the CLI, shadcn, an AI agent prompt, MCP, or download the ZIP directly.
One command adds the full design system, motion rules, and React templates to your project and coding agents.
npx uikits-md@latest add haven --platform all --out .
Browse the design specs, theme variables, and React templates included in uikit-haven.
You are building production hospitality marketplaces, vacation stay discovery grids, retreat booking portals, local guide directories, and host pricing consoles with the Haven — Hospitality & Stays UI Skill Pack (tokens/ + templates/ + lint.json + empirical subpage & governance specs). Pair with registry/backbone/ (uikit-backbone) whenever an application requires extended form controls or multi-route layout scaffolding beyond the 7 Haven starter templates.
ANTI-VIBECODE MANDATE: Never treat this pack as a loose inspiration board. Apply Haven's pure white #ffffff canvas and #f7f7f7 warm grey surfaces (#0f1115 / #181b22 in .dark), #222222 charcoal ink (#3f3f3f body, #6a6a6a secondary metadata, #ebebeb / #dddddd crisp hairlines), single coral-rose #e63956 primary accent (hover #cc2945 with white ink; #ff5470 with #0f1115 ink in dark mode), deep dusk #1f2937 highlight bands and selected-date circles, generous rounded-full pill search bars, 14px (0.875rem) stay cards with ink-only star ratings, transparent total-with-taxes pricing toggles, GPU-composited motion, and full Light/Dark parity automatically on the very first pass. The user must NEVER have to follow up with *"add animations"*, *"add the tax toggle"*, *"fix dark mode"*, or *"replace gray placeholder boxes"*.
Always read DESIGN.md, tokens.css, and lint.json first, then load the exact companion specifications and drop-in templates for the surface you are building:
| User Task / Surface | Required Specification Files | Drop-In Templates (templates/*.tsx) |
|---|---|---|
| Marketplace Landing, Pill Search & Category Ribbon | DESIGN.md, MOTION.md, APP_PATTERNS.md (§1, §2, §11), ASSETS.md, CONTENT.md, tokens.css | templates/StayMarketplaceShell.tsx, templates/PillSearchBar.tsx, templates/StayListingCard.tsx, templates/ScrollReveal.tsx |
| Stay Discovery Grid & Wishlist Filtering | DESIGN.md, APP_PATTERNS.md (§3, §10), MOTION.md, ASSETS.md, tokens.css | templates/StayListingCard.tsx, templates/PillSearchBar.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx |
| Stay Detail, 64px Trust Rating & Reservation Rail | DESIGN.md, APP_PATTERNS.md (§4, §9), CONTENT.md, ACCESSIBILITY.md, tokens.css | templates/StayListingCard.tsx, templates/StatusBadge.tsx, templates/Sparkline.tsx |
Destination & Host Command Palette (⌘K) | DESIGN.md, APP_PATTERNS.md (§3), ACCESSIBILITY.md, MOTION.md, tokens.css | templates/CommandPalette.tsx, templates/StayMarketplaceShell.tsx |
| Host Console, Seasonal Rates & Pricing Tiers | DESIGN.md, APP_PATTERNS.md (§2, §7, §9), DATA_VIZ.md, CONTENT.md, tokens.css | templates/StayMarketplaceShell.tsx, templates/Sparkline.tsx, templates/StatusBadge.tsx |
| Guest / Host Auth, Settings & Partner Docs | DESIGN.md, APP_PATTERNS.md (§5, §6, §8), ACCESSIBILITY.md, CONTENT.md, tokens.css | templates/StayMarketplaceShell.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx |
| Token Export & Design Variable Handoff | DESIGN.md, tokens.css, tokens/tokens.json, tokens/tailwind.css, tokens/figma-variables.json, lint.json | All 7 templates verified against semantic CSS variables |
| Any UI Task (Mandatory Final Gate) | CHECKLIST.md, EVALS.md, NOTICE.md, lint.json | Run npx uikits-md check haven --dir . + tsc --noEmit |
Complete all four setup steps before authoring application routes:
src/app/layout.tsx:Load Plus_Jakarta_Sans (weight: ["400", "500", "600", "700"], --font-plus-jakarta-sans) and JetBrains_Mono (weight: ["400", "500", "600", "700"], --font-jetbrains-mono) via next/font/google, attach both font variable classes to <html>, and apply .hv-root bg-[var(--background)] text-[var(--foreground)] antialiased to <body>.
tokens.css & tokens/tailwind.css:Place tokens.css and tokens/tailwind.css immediately after @import "tailwindcss"; in src/app/globals.css. Verify both Light (:root, [data-theme="light"], .light) and Dark ([data-theme="dark"], .dark) token scopes, all 5 @keyframes, .hv-stay-card, .hv-search-pill, .hv-reveal, and [data-offscreen="true"] pause rules are active.
Copy templates/StayMarketplaceShell.tsx, templates/PillSearchBar.tsx, templates/StayListingCard.tsx, templates/CommandPalette.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx, and templates/Sparkline.tsx into src/components/uikit-haven/ (npx uikits-md@latest add haven --platform all --out . installs them automatically).
react, react-dom, @phosphor-icons/react (npm install @phosphor-icons/react, enforced by lint.json).@phosphor-icons/react exclusively (weight="regular" for structural actions, weight="fill" for active coral wishlist hearts, ink star ratings, and semantic status pills).Every interface built under uikit-haven MUST satisfy all 12 rules on the very first pass:
Anchor marketplaces on var(--background) (#ffffff light / #0f1115 dark), recessed filter strips and date ranges on var(--surface) (#f7f7f7 / #181b22), circular utility buttons on var(--secondary) (#f2f2f2 / #222631), structural hairlines on var(--border) (#dddddd) and var(--hv-hairline-soft) (#ebebeb), and high-contrast host callouts or active date cells on var(--highlight) (#1f2937 deep dusk).
Reserve var(--primary) (#e63956, hover #cc2945 with #ffffff ink; #ff5470 with #0f1115 ink in dark mode) strictly for primary booking CTAs, the global pill search orb, and filled wishlist hearts—never flood pages with competing brand accents. Render star icons and rating scores (★ 4.94) in crisp var(--foreground) charcoal ink rather than yellow stars.
14px Cards & 9999px Pills):Apply 0.875rem (14px, --radius) to stay cards, photo plates, reservation summary rails, and popovers; 0.5rem (8px, --radius-btn) to rectangular buttons and form inputs; 1.25rem (20px, --radius-lg) to retreat showcase banners; and 9999px (rounded-full) to the global search pill, search orb, heart circles, category chips, and status badges.
Trust photography for visual weight: keep homepage H1 headlines modest (24px–28px, weight 600–700, -0.02em tracking) and listing H1 titles at 22px–24px, reserving the single oversized typographic moment (56px–64px, font-bold, tabular-nums) for the aggregate rating display (4.94) on stay detail views.
PillSearchBar.tsx):Include hairline-divided Where, When, and Who segments with destination suggestions, stay-length presets, an accessible guest stepper (-/+), Escape popover dismissal, and an expanding coral-rose search orb that executes real filter updates.
StayListingCard.tsx):Provide a live "Display total with taxes" switch (role="switch", aria-checked) in the marketplace shell or filter bar that dynamically toggles every stay card between nightly pricing ($248 night · $809 before taxes) and all-in stay totals ($906 total (3 nights incl. taxes)) rendered in font-mono tabular-nums.
Give every stay card a 14px clipped photo plate (aspect-[4/3] or aspect-square), multi-slide gallery dots with .hv-gallery-fade, floating top-left "Guest favorite" pill, top-right coral heart toggle (aria-pressed + .hv-heart-pop), clipboard link copy (Copy → Check with safe fallback status), and 4 concise lines of metadata.
Never hardcode #ffffff, #222222, #e63956, #1f2937, or generic dark canvas classes (bg-zinc-950, bg-neutral-950) inside reusable TSX templates—bind exclusively to semantic CSS custom properties so [data-theme="light"] and [data-theme="dark"] switch seamlessly.
⌘K) & Nested Escape Hygiene:Connect Cmd+K / Ctrl+K to <CommandPalette /> supporting ↑/↓/Enter/Esc. Mark every modal, command palette, search popover, and mobile navigation drawer with role="dialog", aria-modal="true", focus restoration on close, and e.stopPropagation() on Escape so only the topmost layer closes.
Animate exclusively transform and opacity with --ease-glide, --ease-spring, and --ease-expand. Wrap below-the-fold stay sections in <ScrollReveal> (using outer-track wrapping on horizontal carousels), pause shimmer loops under [data-offscreen="true"], and keep all content visible under @media (prefers-reduced-motion: reduce) and @media (scripting: none).
Ship Loading Skeletons (.hv-shimmer-track), Empty States (dashed surface + "Reset filters" CTA), Error Banners (var(--destructive) frame + "Retry"), and Toast Notifications (role="status"). Ensure saved Settings (currency, default tax-inclusive display, guest count) visibly update the marketplace grid and reservation calculator.
Render <a href="#main-content" className="sr-only focus:not-sr-only ...">Skip to content</a> as the first focusable element on every page, use only original neutral names (Haven, Northstar Coast, Arbor Ridge, Vesper Cliffs, Kestrel Valley, Helios Cove, example.com), verify 0px horizontal overflow at 390×844 and 1440×900, and pass npx uikits-md check haven --dir . + tsc --noEmit.
var(--foreground) charcoal ink for high-craft hospitality restraint).bg-white, bg-[#ffffff], text-[#222222], border-[#dddddd]) or generic dark canvas classes (bg-zinc-950, bg-neutral-950) inside reusable templates that break dark mode.rounded-3xl on cards/panels, heavy shadow-2xl drop shadows, or generic neon purple/indigo/fuchsia gradients (bg-gradient-to-r from-indigo-500, from-purple-500, from-fuchsia-500 — blocked by lint.json)."Display total with taxes" toggle, or unaligned pricing figures lacking font-mono tabular-nums.filter: blur() scroll reveals, individual <ScrollReveal> wrappers on off-screen cards inside horizontal overflow-x-auto carousels, or animations missing prefers-reduced-motion guards.placeholder.com, picsum.photos); bare "Image here" blocks; or unstyled browser alert() / confirm() dialogs.<svg> polygons or outline clipart. Physical subjects MUST use verified local .webp studio photography or 3D renders (fetchPriority="high" on Hero LCP, locked aspect-ratio for CLS === 0, calibrated gradient scrims for WCAG AA/AAA text legibility, zero baked-in text or logos).inset 0 1px 0 rgba(255,255,255,0.14) on dark cards), labeled coordinate grids, font-variant-numeric: tabular-nums, and opaque rounded label pills (rx="4") so SVG labels NEVER collide with edges or neighboring text. Never leave the visual half of a Hero Card empty with faint rings or mock loading spinners.01 → 02 → 03 <circle> SVGs, wavy dashed connectors, and repeated step boxes underneath. Render real miniaturized software UI in HTML/DOM: a crisp object/endpoint header, a focal tabular-nums figure with split metadata, a clickable proportional execution waterfall or timeline bar, and a flush hairline telemetry/signal matrix below with zero nested card-in-card clutter.tabular-nums value, an inline semantic delta (no redundant pill chrome), and a compact composition bar or sparkline grounded in real row data.compact/comfortable density toggle), sortable headers (aria-sort), multi-row selection with a custom color-scheme-safe checkbox and contextual bulk-action bar, multi-layer cells (primary label + mono ID + sub-meta), inline micro-meters for numeric scores, right-aligned tabular-nums values, hover-revealed quick actions, and @container-responsive column collapse with zero duplicate mobile status badges on desktop.<svg><rect><text> boxes with tiny unreadable SVG text or diagonal dashed lines slicing through labels. Structure graphs as tiered HTML/DOM interactive node cards (>=12.5px titles, >=11px mono IDs, semantic status LED, inline latency/throughput/weight micro-bar, upstream/downstream highlighting) with any connector lines confined strictly to dedicated column gutters.1440px), split-pane (700px), and mobile (390px) to verify zero clipped text, zero duplicate badges, zero dark-mode native checkbox bleed on light surfaces, and 0px horizontal overflow.