Institutional consumer banking portal anchored in saturated trust blue, separate account-opening forest green, clean Inter hierarchy, and tabular balances.
npx uikits-md@latest add bankline --platform all --out .Explore the color balance, dual WCAG 2.2 AA & APCA Lc contrast checks, typography scale, and geometry tokens built into uikit-bankline.
Manage retail checking, treasury yields, and instant transfers in trust blue. 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 bankline --platform all --out .
Browse the design specs, theme variables, and React templates included in uikit-bankline.
You are building commercial consumer retail banking, checking/savings management, and household financial portals with the Bankline — Consumer Bank UI Skill Pack (tokens/ + templates/ + empirical screen & governance specs). Pair with registry/backbone/ (uikit-backbone) when an application needs additional enterprise form primitives while preserving Bankline's two-color institutional banking grammar.
INSTITUTIONAL CONSUMER BANKING EXECUTION MANDATE: Never style this pack as a generic neon SaaS dashboard. Ground every default Light screen on pure white (#ffffff) and ice-slate tiles (#f3f6fa), separate actions strictly by commercial consequence — Trust Blue (#0b5ed7 with #ffffff ink at 5.84:1 AA) for navigation, sign-in, transfers, persona tabs, and full-bleed institutional bands, and Account-Opening Forest Green (#0f7b4c with #ffffff ink at 5.31:1 AA) exclusively for "Open an account" / deposit-commit CTAs — set every prose and display register in a single Inter family (spanning airy 300 display to 600/700 product headings) paired with JetBrains Mono (tabular-nums) for all currency balances and routing figures, enforce modest 4px–8px corner radii (0.375rem signature cards, 0px full-bleed bands and disclosure rules), wire all 5 registered motion primitives, and guarantee crisp Dark mode (#0b111c / #131c2e / #f1f5f9 / #60a5fa / #34d399) 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 |
|---|---|---|---|
| Retail Banking Landing & Product Grid | DESIGN.md, MOTION.md, ASSETS.md, CONTENT.md, tokens.css | tokens/tokens.json, tokens/tailwind.css | templates/ScrollReveal.tsx, templates/AccountBalancesDeck.tsx, templates/StatusBadge.tsx, templates/Sparkline.tsx |
| Consumer Banking Portal Shell | DESIGN.md, APP_PATTERNS.md (§1–§4), MOTION.md, ACCESSIBILITY.md, tokens.css | tokens/tokens.json, tokens/tailwind.css, lint.json | templates/BankingPortalShell.tsx, templates/CommandPalette.tsx, templates/StatusBadge.tsx |
| Checking, Savings & Card Balance Deck | DESIGN.md, APP_PATTERNS.md (§1–§2, §10), DATA_VIZ.md, tokens.css | tokens/tokens.json | templates/AccountBalancesDeck.tsx, templates/Sparkline.tsx, templates/StatusBadge.tsx |
| Instant Domestic Transfer & Bill Pay | DESIGN.md, APP_PATTERNS.md (§2, §9–§10), MOTION.md, CONTENT.md, tokens.css | tokens/tokens.json | templates/QuickTransferFormCard.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx |
Global ⌘K Banking Action Palette | DESIGN.md, APP_PATTERNS.md (§2), MOTION.md, ACCESSIBILITY.md, tokens.css | tokens/tokens.json | templates/CommandPalette.tsx, templates/BankingPortalShell.tsx |
| Settings, Privacy Masking & Auth | DESIGN.md, APP_PATTERNS.md (§5, §8–§9, §11), ACCESSIBILITY.md, tokens.css | tokens/tokens.json, tokens/figma-variables.json | templates/BankingPortalShell.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx |
| Statement Ledgers & Spend Analytics | DESIGN.md, DATA_VIZ.md, APP_PATTERNS.md (§3–§4), tokens.css | tokens/tokens.json | templates/Sparkline.tsx, templates/StatusBadge.tsx, templates/AccountBalancesDeck.tsx |
| Account Disclosures, Rates & Docs | DESIGN.md, APP_PATTERNS.md (§6–§7, §11), CONTENT.md, tokens.css | tokens/tokens.json, tokens/tailwind.css | templates/ScrollReveal.tsx, templates/StatusBadge.tsx |
| Any UI Task (Pre-Flight Gate) | CHECKLIST.md, EVALS.md, ACCESSIBILITY.md | lint.json, meta.json | Run npx uikits-md check bankline --dir . and verify Light + Dark parity |
npx uikits-md@latest add bankline --platform all --out .npx shadcn@latest add https://uikits.tech/r/bankline.jsonget_ui_kit_skill and get_ui_kit_file for bankline.npm install @phosphor-icons/react (plus react and react-dom).src/app/layout.tsx:Import 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 both variables to <html> and apply .bk-root to <body>.
tokens.css and tokens/tailwind.css:Import tokens.css (or uikit-bankline.tokens.css) and tokens/tailwind.css directly below your root stylesheet import. This enables Light default (:root, [data-theme="light"], .light) and Dark companion ([data-theme="dark"], .dark) bridges, .bk-card, .bk-card-featured, .bk-hero-band, .bk-btn-primary, .bk-btn-open, .bk-input-underline, all 6 compositor keyframes, offscreen pauses, and reduced-motion rules.
Copy BankingPortalShell.tsx, AccountBalancesDeck.tsx, QuickTransferFormCard.tsx, CommandPalette.tsx, StatusBadge.tsx, ScrollReveal.tsx, and Sparkline.tsx into src/components/uikit-bankline/.
Every surface built under uikit-bankline MUST satisfy all 12 rules on the first pass:
#ffffff (var(--background)), set account rails and statement groups on #f3f6fa (var(--surface)), and frame white cards with 1px solid #d0dbe8 hairlines. Switching to [data-theme="dark"] / .dark shifts cleanly to #0b111c canvas, #131c2e surfaces, #f1f5f9 ink, #60a5fa trust blue (with #0b111c ink 7.43:1 AAA), and #34d399 open-account emerald (with #0b111c ink 9.83:1 AAA).#hex in TSX): Never write #ffffff, #0b5ed7, #0f7b4c, bg-black, bg-slate-900, or bg-zinc-950 inside reusable template JSX. Bind every surface, border, ink, status wash, and chart series strictly to semantic CSS variables (var(--background), var(--surface), var(--card), var(--foreground), var(--primary), var(--highlight), var(--bk-*-wash))..bk-btn-primary, var(--primary)) for navigation, sign-in, transfers, and full-bleed hero/callout bands. Reserve Account-Opening Forest Green (.bk-btn-open, var(--highlight)) strictly for legally consequential account-opening or deposit commitment CTAs (Open an account, Apply for savings, Commit deposit). Never mix green onto routine navigation links.Inter Weight Hierarchy + JetBrains Mono Tabular Balances: Carry visual hierarchy through Inter weight (300 airy hero display, 400 prose, 600 buttons/product titles, 700 compact callouts and uppercase eyebrows) rather than decorative serifs. Format EVERY balance ($18,420.50), APY (4.35%), routing code, account mask (•••• 4812), and transfer receipt ID in .bk-mono (JetBrains Mono + tabular-nums) with .toLocaleString("en-US").4px–8px Radius Discipline (0.375rem Signature): Keep account cards at 6px (var(--radius)), open-green and outline buttons at 4px (var(--radius-xs)), primary trust-blue buttons at 5px (var(--radius-sm)), modals at 8px (var(--radius-lg)), and full-bleed hero bands, persona tabs, underline inputs, and disclosure rules at 0px. Never apply rounded-2xl or rounded-3xl..bk-hero-band) rather than mesh blurs or neon gradients. Cards rely on crisp 1px hairlines and a single restrained drop shadow (var(--bk-shadow-card)).AccountBalancesDeck.tsx): Render checking, high-yield savings, and rewards card tiles with live account masking (•••• 4812 vs full suffix), real-time APY interest projection, and 5-series <Sparkline /> cashflow curves.QuickTransferFormCard.tsx): Provide real source account selection, verified recipient list, underline-styled amount input with insufficient-funds and daily-limit validation, instant live balance recalculation, and .bk-transfer-pop confirmation receipt with reference number.⌘K Banking Command Palette & Nested Escape (CommandPalette.tsx): Bind Cmd/Ctrl+K to <CommandPalette /> for rapid jumps to accounts, transfers, statements, card locks, and disclosures, with wrap-around arrow navigation and nested Escape (clears query first via stopPropagation(), closes and restores focus second).balance-count-settle, card-hover-elevate, transfer-confirm-pop, tab-bar-glide, and alert-slide-in (plus .bk-skeleton shimmer) via compositor-only @keyframes. Pause repeating animations offscreen via [data-offscreen="true"], keep content visible without JS (@media (scripting: none)), and honor prefers-reduced-motion: reduce.@phosphor-icons/react Iconography: Treat .bk-disclosure legal blocks, deposit protection badges (Member Deposit Protection · Equal Housing Lender), and fee tables as authentic banking surfaces. Import icons exclusively from @phosphor-icons/react (Bank, CreditCard, PiggyBank, ArrowsLeftRight, ShieldCheck, LockSimple, Receipt, Eye, EyeSlash, CheckCircle, WarningCircle).<a href="#main-content" className="sr-only focus:not-sr-only ...">Skip to content</a> and <main id="main-content"> on every route, ship complete Loading/Empty/Error/Toast states, default mobile sidebars closed with focus restoration, and guarantee 0px horizontal overflow at 390×844 and 1440×900.<BankingPortalShell /> with persona tabs (Personal | Business | Wealth), 3-card <AccountBalancesDeck /> (Total Checking •••• 4812, Premier Savings •••• 9104, Sapphire Reserve Card •••• 3319 -> wait, use neutral Platinum Rewards Card •••• 3319), interactive <QuickTransferFormCard />, recent statement ledger, and <CommandPalette />..bk-hero-band carrying airy Inter 300 display copy, an account-opening green CTA (.bk-btn-open), and an interactive Balance & APY Estimator Hero Card framed with specular hairlines, followed by 3-column checking/savings product cards and a ruled .bk-disclosure footer.Housing, Groceries, Utilities, Transit, Savings), <Sparkline /> 12-month net flow, and a slide-over receipt inspector drawer.#hex Literals in JSX/TSX: Never embed #0b5ed7, #0f7b4c, #ffffff, bg-black, bg-slate-900, or bg-zinc-950 inside reusable component files; bind strictly to CSS variables..bk-btn-open green for routine navigation or "Learn more" links, and never turn account-opening CTAs into neon gradients.rounded-2xl, rounded-3xl, shadow-2xl, or blur-3xl. Bankline's restraint lives in 4px–8px corners and flat single-layer drop shadows.from-indigo-500, from-purple-500, via-purple-500, from-fuchsia-500, or to-pink-500 — enforced by lint.json.$18420.5 or proportional numerals in ledgers; always format via .toLocaleString("en-US", { minimumFractionDigits: 2 }) inside .bk-mono.Bankline, Northstar, Kestrel, Vesper, Arbor, Helios, Clearwater, Alder) and RFC 2606 domains (example.com).<svg> polygons or outline clipart. Real-world photography MUST use verified local .webp studio assets (fetchPriority="high", locked aspect-ratio for CLS === 0, contrast-safe scrims).inset 0 1px 0 rgba(255,255,255,0.12) on dark cards or crisp 1px layered hairline borders on light cards), labeled coordinate grids/axes, font-variant-numeric: tabular-nums, and opaque rounded label pills (rx="4") so SVG labels NEVER collide with curve lines or neighboring text. Never leave the right half of a Hero 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.