Deep spruce-green personal finance comparison platform with mint-wash editorial banners, crisp 4px comparison matrices, and live APR/yield calculators.
npx uikits-md@latest add ratewise --platform all --out .Explore the color balance, dual WCAG 2.2 AA & APCA Lc contrast checks, typography scale, and geometry tokens built into uikit-ratewise.
Compare verified savings APYs, CDs, and mortgage offers with live yield math. 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 ratewise --platform all --out .
Browse the design specs, theme variables, and React templates included in uikit-ratewise.
You are building commercial personal finance comparison portals, high-yield savings matrices, mortgage APR calculators, and editorial rate guides with the Ratewise — Finance Compare UI Skill Pack (tokens/ + templates/ + empirical screen & governance specs). Pair with registry/backbone/ (uikit-backbone) when an application requires additional enterprise forms or layout primitives while preserving Ratewise's spruce-and-mint editorial identity.
EDITORIAL RATE COMPARISON EXECUTION MANDATE: Never treat this pack as a puffy SaaS marketing template. Open hero pages on a decisive deep spruce-green editorial band (#074730 → #0c6b48), drop immediately onto a crisp pure-white comparison canvas (#ffffff) punctuated by calm mint-wash section panels (#eef6f2) and pale-lime advisory callouts (#e8f8c2), enforce hairline-ruled separation (#d6e5de / #b8d1c6) instead of heavy drop shadows, set geometric display headings in bold Space Grotesk paired with light-to-regular Inter prose and bold 700 labels, keep filled spruce buttons (#0c6b48 with #ffffff ink at 6.34:1 AA+) crisp at 4px (0.25rem), reserve reference blue (#0b5cad) strictly for inline citation links, format every APY/APR and dollar projection in .rw-mono (tabular-nums), connect all 5 registered motion primitives, and guarantee Spruce-Dark mode (#0b1411 / #13221d / #edf7f2 / #34d399 with #0b1411 dark ink) parity automatically on the very first pass.
Always inspect DESIGN.md and tokens.css first, then load the companion specs and starter templates matching the active user request:
| User Task | Required Spec Files | Machine Tokens & Lint | Drop-In Templates to Copy / Use |
|---|---|---|---|
| Finance Compare Landing & Hero Selector | DESIGN.md, MOTION.md, ASSETS.md, CONTENT.md, tokens.css | tokens/tokens.json, tokens/tailwind.css | templates/ScrollReveal.tsx, templates/YieldEstimatorCard.tsx, templates/StatusBadge.tsx, templates/Sparkline.tsx |
| Editorial Comparison Portal Shell | DESIGN.md, APP_PATTERNS.md (§1–§4), MOTION.md, ACCESSIBILITY.md, tokens.css | tokens/tokens.json, tokens/tailwind.css, lint.json | templates/ComparePortalShell.tsx, templates/CommandPalette.tsx, templates/StatusBadge.tsx |
| Side-by-Side APR / APY Comparison Matrix | DESIGN.md, APP_PATTERNS.md (§2, §4, §10), MOTION.md, CONTENT.md, tokens.css | tokens/tokens.json | templates/AprComparisonMatrix.tsx, templates/StatusBadge.tsx, templates/Sparkline.tsx |
| Interactive Yield & Mortgage Estimator | DESIGN.md, APP_PATTERNS.md (§1–§3, §9), MOTION.md, DATA_VIZ.md, tokens.css | tokens/tokens.json | templates/YieldEstimatorCard.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx |
Global ⌘K Rate & Guide Lookup | DESIGN.md, APP_PATTERNS.md (§2), MOTION.md, ACCESSIBILITY.md, tokens.css | tokens/tokens.json | templates/CommandPalette.tsx, templates/ComparePortalShell.tsx |
| Settings, Preferences, Auth & Forms | DESIGN.md, APP_PATTERNS.md (§5, §7–§9, §11), ACCESSIBILITY.md, tokens.css | tokens/tokens.json, tokens/figma-variables.json | templates/ComparePortalShell.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx |
| Partner Disclosure & Methodology Docs | DESIGN.md, APP_PATTERNS.md (§6–§7, §11), CONTENT.md, tokens.css | tokens/tokens.json, tokens/tailwind.css | templates/YieldEstimatorCard.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx |
| Benchmark Spread & Yield Telemetry | DESIGN.md, DATA_VIZ.md, APP_PATTERNS.md (§3, §10), tokens.css | tokens/tokens.json | templates/Sparkline.tsx, templates/StatusBadge.tsx (RateHighlightCard) |
| Any UI Task (Pre-Flight Gate) | CHECKLIST.md, EVALS.md, ACCESSIBILITY.md | lint.json, meta.json | Run npx uikits-md check ratewise --dir . and verify Light + Dark parity |
npx uikits-md@latest add ratewise --platform all --out .npx shadcn@latest add https://uikits.tech/r/ratewise.jsonget_ui_kit_skill and get_ui_kit_file for ratewise.npm install @phosphor-icons/react (plus react and react-dom).src/app/layout.tsx:Import Space_Grotesk (weight: ["500", "600", "700"], variable --font-space-grotesk), Inter (weight: ["300", "400", "500", "600", "700"], variable --font-inter), and JetBrains_Mono (weight: ["400", "500", "600"], variable --font-jetbrains-mono) via next/font/google. Attach all three variables to <html> and apply .rw-root to <body>.
tokens.css and tokens/tailwind.css:Import tokens.css (or uikit-ratewise.tokens.css) and tokens/tailwind.css directly below your root stylesheet import. This enables Light default (:root, [data-theme="light"], .light) and Spruce-Dark companion ([data-theme="dark"], .dark) bridges, .rw-hero-band, .rw-panel, .rw-mint-band, .rw-lime-callout, .rw-btn-primary, all 6 compositor keyframes, offscreen pauses, and reduced-motion rules.
Copy ComparePortalShell.tsx, AprComparisonMatrix.tsx, YieldEstimatorCard.tsx, CommandPalette.tsx, StatusBadge.tsx, ScrollReveal.tsx, and Sparkline.tsx into src/components/uikit-ratewise/.
Every surface built under uikit-ratewise MUST satisfy all 12 rules on the first pass:
#ffffff (var(--background)), wash editorial section panels in #eef6f2 (var(--surface)), accent advisory callouts in pale lime (#e8f8c2), and set headings in deep spruce #102820 (15.53:1 AAA). Switching to [data-theme="dark"] / .dark shifts cleanly to #0b1411 canvas, #13221d surface, #edf7f2 ink, and #34d399 emerald primary paired strictly with #0b1411 dark ink (10.64:1 AAA).#hex in TSX): Never write #ffffff, #eef6f2, #0c6b48, #102820, bg-black, bg-slate-900, or bg-zinc-950 inside reusable template JSX. Bind every surface, hairline rule, button fill, and callout strictly to semantic CSS variables (var(--background), var(--surface), var(--card), var(--foreground), var(--primary), var(--border), var(--rw-*-wash)).--primary: #0c6b48 light with #ffffff ink 6.34:1 AA+; #34d399 dark with #0b1411 ink 10.64:1 AAA) on decisive actions (Compare rates, Calculate yield, Apply settings) and rating stars. Reserve --rw-link-blue (#0b5cad light / #60a5fa dark) strictly for inline editorial citations and disclosures—never swap the two roles.Space Grotesk Display + Inter Editorial Contrast + JetBrains Mono Numerals: Style hero and section headings in bold Space Grotesk (700, -0.025em tracking), body editorial copy in Inter (400/300) contrasting cleanly against bold 700 UI labels, and EVERY APY (5.15% APY), APR (6.12% APR), monthly payment ($2,428/mo), deposit balance ($50,000), and fee in .rw-mono (JetBrains Mono + tabular-nums) formatted via .toLocaleString("en-US").4px (0.25rem) Rectilinear Controls & Flat Hairline Cards: Keep filled action buttons and form controls sharp and authoritative at 4px (var(--radius)), comparison cards and callout boxes at 8px (var(--radius-md)), and mint editorial banners at 12px (var(--radius-lg)). Replace heavy drop shadows with 1px rules (#d6e5de / #b8d1c6). Never apply rounded-2xl, rounded-3xl, shadow-2xl, or blur-3xl.AprComparisonMatrix.tsx): Render hairline-separated rows with institution name, editorial star score, headline APY/APR, minimum deposit, live compound net return computed from deposit & term sliders, optional effective APR fee breakdown (governed by Settings), sort selector (Highest Net Return, Lowest Minimum, Editor Rating), and compare-pin toggles.YieldEstimatorCard.tsx): Provide live deposit ($5,000–$250,000) and term (6–60 months) sliders, category switching (High-Yield Savings, 12-Mo CD, 30-Yr Mortgage), live .rw-bar-glide benchmark comparison against national averages, and tabular earnings breakdown.StatusBadge.tsx): Surface editorial awards (Top Pick, Verified Rate, Promo Bonus, Variable, Limited, Expired) via <StatusBadge /> and <RateHighlightCard /> honoring high-contrast spruce, mint, lime, and amber washes.⌘K Rate Lookup Palette & Nested Escape (CommandPalette.tsx): Bind Cmd/Ctrl+K and header lookup triggers to <CommandPalette /> with ArrowUp/ArrowDown wrap navigation, Enter activation, and nested Escape (first press clears query via stopPropagation(), second press closes modal and restores trigger focus).rank-row-settle, slider-bar-glide, mint-wash-fade, badge-pick-pop, and filter-tab-snap (plus .rw-skeleton / .rw-live-dot pulses) via compositor-only @keyframes in tokens.css. Pause repeating animations offscreen via [data-offscreen="true"], guarantee No-JS visibility (@media (scripting: none)), and honor prefers-reduced-motion: reduce.@phosphor-icons/react Exclusive Iconography: Use @phosphor-icons/react exclusively across navigation, calculators, ratings, disclosures, and filters (Scales, Percent, Calculator, PiggyBank, House, Bank, Star, CheckCircle, TrendUp, Info, BookOpen, SlidersHorizontal, MagnifyingGlass). Never insert external stock placeholder URLs or bare empty media blocks.<a href="#main-content" className="sr-only focus:not-sr-only ...">Skip to content</a> and <main id="main-content"> on every route, ship styled Loading/Empty/Error/Toast states, default mobile sidebars closed with dialog focus restoration, and verify 0px horizontal overflow at 390×844 and 1440×900.#074730 → #0c6b48) containing a high-craft white layered-hairline Interactive Rate Selector & APY Telemetry Hero Card, transition to a mint-wash #eef6f2 category comparison strip, present a pale-lime #e8f8c2 expert-tip panel containing a dark forest #074730 stat block, and close on a soft mint-tinted disclosure footer.<ComparePortalShell /> over <YieldEstimatorCard /> and <AprComparisonMatrix /> so adjusting deposit/term sliders or Settings (Show effective APR breakdown, Default deposit) immediately recalculates projected yields and re-ranks institutions.Savings, Mortgages, Credit, CDs) with a slide-over brief reader housing a live interactive break-even or yield calculator.#hex Literals in JSX/TSX: Never embed #ffffff, #eef6f2, #0c6b48, #102820, bg-black, bg-slate-900, or bg-zinc-950 directly in reusable component files; use semantic CSS variables for Light ↔ Dark parity.4px (var(--radius)). Never apply rounded-2xl, rounded-3xl, shadow-2xl, or blur-3xl.#34d399 primary buttons MUST use #0b1411 dark ink (10.64:1 AAA); pale-lime #e8f8c2 callouts MUST use #102820 spruce ink (13.5:1 AAA).$50000 unformatted or use from-indigo-500, from-purple-500, via-purple-500, from-fuchsia-500, or to-pink-500.Arbor Direct, Northstar Vault, Kestrel Federal, Veridian Online, Helios Reserve, Crestline Mutual, Bramwell Trust, Vesper Bank) and RFC 2606 domains (example.com).<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).font-variant-numeric: tabular-nums, and opaque rounded label pills (rx="4") so SVG labels NEVER collide with bars, lines, 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.