Design system

B2BHub Design System

A library of tokens, primitives, and domain patterns used across the platform. Each component listed here is production-grade and wired into the live Buyer / Vendor experience — this section is the single source of truth for reuse and extension.

Conventions

  • Naming — UI primitives in components/ui, domain components in components/domain, layout in components/layout.
  • Tokens — every color and font reads from CSS variables defined in app/globals.css under @theme.
  • Composition — domain components are pure compositions of primitives; no styled one-offs.
  • State — client-only primitives marked "use client"; everything else is server-friendly by default.