Design System Evolution & Component Architecture
Dribbble Luxury Minimalism Benchmarks, 48px Height Parity, Single-Ring Focus Geometry, and Open Layout Hierarchy
Design System Evolution & Component Architecture
Aesthetic Mandate: Enterprise B2B tools often feel like punitive 1990s accounting software—dense, claustrophobic, and cluttered with harsh borders. B2BExpo takes design cues from world-class modern marketplace references (Dribbble luxury minimalism, Linear, Stripe) to deliver a clean, spacious, and beautiful experience that commands trust.
1. Benchmarking & Design Refinement
Following visual audits of market leaders and curated Dribbble reference designs, the B2BExpo design system underwent fundamental refinements:
[ Legacy Claustrophobic Admin ] [ Calibrated Dribbble Luxury Minimal ]
• Heavy multi-nested card borders ───► • Flat, open whitespace surfaces
• Mismatched 36px inputs vs 44px CTA───► • Absolute 48px (h-12) Height Parity
• Harsh double focus rings ───► • Single calibrated 2px brand amber ring
• Crowded 240px squeezed columns ───► • Spacious 1280px-1400px grid layouts2. Key Architectural Directives
A. The 48px (h-12) Height Parity Rule
To create visual harmony and a solid, confident tactile feel:
- The global search input bar is strictly locked to
h-12(48px) withpx-4. - The primary CTA buttons ("Cari Komoditas", "Login / Register", "Minta Penawaran FCL") are strictly locked to
h-12(48px) withpx-5orpx-6. - Mismatched heights (e.g. 40px input paired with 44px button) create visual dissonance and are strictly prohibited across all storefront and portal layouts.
B. Single Focus Ring Geometry
Default browser outlines combined with Tailwind focus:ring-2 often generate jarring double-borders (a black inner outline inside an orange outer ring). B2BExpo locks focus styles centrally in apps/web/app/globals.css:
/* Eliminates unsightly double outlines */
input:focus,
select:focus,
textarea:focus,
button:focus-visible {
outline: 2px solid transparent !important;
outline-offset: 2px !important;
box-shadow: 0 0 0 2px #F58E1E !important;
border-color: #F58E1E !important;
}This guarantees an ultra-crisp, single amber halo (#F58E1E) on all interactive inputs.
C. Spacious, Open Surface Layouts (Anti-Claustrophobia)
- Elimination of Nested Boxes: Cards inside cards inside cards have been dismantled. Operational tables, stat summaries, and lot wizards sit directly on clean
#FFFFFFcanvases with subtle borders (border-stone-200/80). - Comfortable Padding: Section padding defaults to
py-8 lg:py-12and container gutters topx-4 sm:px-6 lg:px-8. - Promotional & Announcement Slotting: Header areas feature unobtrusive, dismissed-by-default announcement slots (e.g. "Ekspor Kopi Arabika G1 ke Hamburg telah dibuka"), ensuring marketing visibility without invading seller workflows.
D. Strict Plus Jakarta Sans Typography
- Headings (H1–H3):
font-bold tracking-tight text-stone-900 - Body & Subtitles:
text-stone-600 leading-relaxed font-normal - Badges & Microcopy:
text-xs font-semibold uppercase tracking-wider text-stone-700 - Zero unvetted fonts, zero harsh text transforms.
3. Core Component Catalog
| Component | File Path | Role & Specifications |
|---|---|---|
SiteHeader | apps/web/components/layout/site-header.tsx | Global navigation, 48px search bar, currency switcher, seller portal link. |
SiteFooter | apps/web/components/layout/site-footer.tsx | Compliance disclosures, Incoterms reference, security badges, sitemap. |
ContainerPackingAdvisor | Embedded in /commodity/[slug] | Interactive 20ft/40ft CBM calculator with MT capacity saturation gauge. |
SampleOrderModal | apps/web/app/commodity/[slug] | $150 sample checkout flow with instant container voucher generation. |
RfqModal | apps/web/app/commodity/[slug] | Multi-step FCL contract builder with 30/70 escrow milestone calculator. |
ExporterLotWizard | apps/web/app/seller | Step-by-step commodity lot registration for Indonesian cooperative managers. |
TwentyCrmTelemetry | apps/web/app/seller | Real-time outbox sync monitor, lead pipeline table, and webhook health status. |