Alexandria Design System
Component Showcase — Nam Leong Quotation Generator
Design Tokens — Complete Color Palette
Primary & Status Colors
Primary
#3366CC
--color-primary
Brand, actions, links, active states
Primary Soft
rgba(51,102,204,0.1)
--color-primary-soft
Active nav bg, hover tints, focus rings
Info
#3366CC
--color-info
Informational status (= primary)
On Primary
#FFFFFF
--color-on-primary
Text/icons on primary backgrounds
Success
#10B981
--color-success
Positive: Active, Approved, Indexed
Warning
#F59E0B
--color-warning
Pending, draft, Emerging states
Error
#EF4444
--color-error
Destructive, error, validation
Status Tints — Soft Backgrounds for Banners & Badges
INFORMATION
New catalog version available
bg: var(--color-primary-soft)
SUCCESS
247 products matched
bg: var(--color-success-soft)
WARNING
5 items need review
bg: var(--color-warning-soft)
ERROR
Import failed
bg: var(--color-error-soft)
Primary Color — Usage Spectrum
Solid for buttons & active states. 10% (primary-soft) for hover tints & active nav backgrounds. Intermediate opacities for overlays & progress indicators.
Text Colors — Slate Palette
Text — The quick brown fox jumps over the lazy dog
Primary body text, headings
#0F172A
Slate 900
Text Secondary — The quick brown fox jumps over the lazy dog
Metadata, inactive labels
#64748B
Slate 500
Text Tertiary — The quick brown fox jumps over the lazy dog
Placeholders, disabled, timestamps
#94A3B8
Slate 400
Background Colors
BG Layout
Main app background
--color-bg-layout → #F8FAFC
BG Container
Cards, panels, content areas
--color-bg-container → #FFFFFF
BG Elevated
Modals, dropdowns, floating
--color-bg-elevated → #FFFFFF
Border Colors
Border
--color-border → #E2E8F0
Standard borders (Slate 200)
Border Secondary
--color-border-secondary → #F1F5F9
Subtle borders (Slate 100)
Contrast Pairs — Foreground on Background
On-Primary / Primary
White on Blue
Primary / Primary-Soft
Blue on Blue 10%
Text / Container
Slate 900 on White
Text / Layout
Slate 900 on Slate 50
Text-Secondary / Container
Slate 500 on White
Text-Tertiary / Container
Slate 400 on White
Success / White
Green on White
Error / White
Red on White
Warning / White
Amber on White
White / Dark
White on Slate 900
Complete Token Reference
| Swatch | Token | Hex | Usage |
|---|---|---|---|
--color-primary | #3366CC | Brand, actions, links, active states | |
--color-primary-soft | rgba(51,102,204,0.1) | Active nav bg, hover tints, focus rings | |
--color-info | #3366CC | Informational status (= primary) | |
--color-on-primary | #FFFFFF | Text/icons on primary backgrounds | |
--color-success | #10B981 | Positive: Active, Approved, Indexed | |
--color-warning | #F59E0B | Pending, draft, Emerging states | |
--color-error | #EF4444 | Destructive, error, validation | |
--color-text | #0F172A | Primary body text, headings | |
--color-text-secondary | #64748B | Metadata, inactive labels | |
--color-text-tertiary | #94A3B8 | Placeholders, disabled, timestamps | |
--color-bg-layout | #F8FAFC | Main app background | |
--color-bg-container | #FFFFFF | Cards, panels, content areas | |
--color-bg-elevated | #FFFFFF | Modals, dropdowns, floating | |
--color-border | #E2E8F0 | Standard borders (Slate 200) | |
--color-border-secondary | #F1F5F9 | Subtle borders (Slate 100) | |
--surface-white | #FFFFFF | Surface tier | |
--surface-50 | #F8FAFC | Surface tier | |
--surface-100 | #F1F5F9 | Surface tier | |
--surface-200 | #E2E8F0 | Surface tier | |
--surface-300 | #CBD5E1 | Surface tier | |
--surface-400 | #94A3B8 | Surface tier |
Typography — 4-Font System
Noto Serif — Display Headings
48px / 700 / -0.02em
Industry Curator
36px / 700 / -0.01em
Global Registry
24px / 600
Archive Standards
Inter — Data UI (Tables, Forms, Nav, Descriptions)
Manage the taxonomic structure of market sectors and industrial domains. These definitions serve as the primary matching anchors for procurement and supply chain intelligence.
Precision Aerospace — High-tolerance component manufacturing
Showing 1 to 5 of 42 entries — Last updated 30 Mar 2026
Public Sans — Labels, Metadata, Tags
JetBrains Mono — IDs & Codes
Surface Tiers — Slate Scale
--surface-white--surface-50--surface-100--surface-200--surface-300--surface-400Elevation & Shape
Flat (No Shadow)
Borders only. Used for layout surfaces, table rows.
border: 1px solid var(--color-border)
Standard (shadow-sm)
Cards, stat cards, content panels.
.card-surface
Elevated (shadow-md)
Modals, dropdowns, floating panels.
.card-elevated
Border Radius Scale
--radius-none
Dividers, table cells
--radius-sm
Tags, small badges
--radius-default
Buttons, inputs, tables
--radius-md
Elevated cards, dropdowns
--radius-lg
Cards, modals, panels
--radius-xl
Large panels, hero sections
--radius-2xl
Feature cards, onboarding
--radius-full
Avatars, pills, toggles
Default (4px) remains the workhorse for most controls. Use larger radii for containers and floating elements, smaller for compact/dense UI.
Spacing System — 4px Base Unit
Container Padding
X-axis: 32px (space-8) — Y-axis: 48px (space-12)
Ant Design — Theme Verification
Buttons — All Variants (padding: 10px 24px)
Buttons — Sizes
Buttons — Danger / Destructive Actions
Buttons — Icon Only (Toolbar Actions)
Buttons — Icon + Label Combinations
Buttons — Loading States
Buttons — Active:scale Press Feedback
Click and hold any button to see the scale(0.98) press feedback.
Inputs (hover: solid primary border)
Tags — Status Presets (Public Sans, caps, tracked)
Table (headerBg: Slate 50, headerColor: Slate 500)
| PRODUCT NAME | SKU | SEGMENT | PRICE |
|---|---|---|---|
| Industrial Valve A200 | IVA-200 | Oil & Gas | $1,250.00 |
| Copper Pipe 25mm | CPP-025 | Marine & Offshore | $45.50 |
| Steel Flange DN100 | SFL-100 | Petrochemical | $320.00 |
Text & Color Combinations
Text Hierarchy — All 3 Text Tiers on White
Primary Text (Slate 900) — Product names, headings, key data
Secondary Text (Slate 500) — Descriptions, metadata, inactive labels
Tertiary Text (Slate 400) — Timestamps, placeholders, disabled text
Status Text — Semantic Color Usage
Text on Colored Backgrounds
White on Primary Blue
Used for primary action buttons and active nav states
Primary on Primary Soft
Active sidebar items, selected states, focus rings
Primary Text on Slate 100
Hover states, secondary backgrounds, table headers
Primary Text on Slate 50
Layout background, subtle content areas
Status Banners — Colored Backgrounds
Information
A new catalog version is available for import.
Success
All 247 products have been indexed and matched.
Warning
5 products have incomplete data and may not match correctly.
Error
Import failed. The uploaded file could not be parsed.
Mixed Typography — Real-World Composition
PRODUCT DETAIL
Industrial Valve A200
High-pressure butterfly valve designed for marine and offshore applications. Rated for continuous operation at 250 PSI with corrosion-resistant coating.
CUSTOMER PROFILE
Precision Aerospace Pte Ltd
Tier 1 supplier for high-tolerance aerospace components. Primary contact: Michael Lim, Senior Procurement.
Card Patterns — Surface Variations
card-surface — Standard
Product Catalog
247 products across 12 categories. Last sync 2 hours ago.
card-elevated — Floating
Quick Actions
Elevated cards for modals, dropdowns, and floating panels.
Stat Cards — Colored Top Accent
TOTAL PRODUCTS
247
+12 this month
MATCHED
198
80.2% match rate
PENDING REVIEW
37
Needs attention
ERRORS
12
Import failures
Feature Card — Gradient Primary
AI MATCHING ENGINE
Smart Quotation Matching
Our AI engine analyzes product specifications, industry requirements, and historical data to generate accurate quotation matches in seconds.
Content Cards — Mixed Layouts
Products
Master data management
Manage your product catalog, specifications, and pricing data for quotation generation.
Matching
AI-powered results
View and approve AI-generated matches between customer requirements and your product catalog.
Reviews
Pending approval
Items flagged for manual review due to low confidence scores or missing specifications.
List Card — Bordered Rows
Dark Card — Inverted Surface
SYSTEM STATUS
All Systems Operational
The matching engine, catalog indexer, and quotation generator are all running normally.
99.9%
Uptime
142ms
Avg Response
3
Queued Jobs
Atoms — Base Components
Button — AntD Wrapper
Tag — Native `color` + `.text-tag` (theme-driven presets)
StatValue — Numeric Display with Trend
Avatar — Ant Design (re-exported atom)
DataCell — Icon + Primary / Secondary Text
Molecules — Composite Components
StatCard — Label + StatValue + optional `renderExtra` slot
NavItem — Sidebar Navigation Link
Active item has a 3 px left blue border, blue text, and light blue background. Inactive items highlight on hover.
FormField — Label + Input + Error
FormDrawer + ProductForm — Sticky chrome, body spin while saving
Sample drawer shows scrollable body; loading drawer shows disabled actions + Spin; product drawer runs real validation (no API call).
BreadcrumbNav — Uppercase Breadcrumb
FileListItem — Upload States
DataTable — Ant Design Table + Alexandria header/cell typography
| PRODUCT NAME | SKU | SEGMENT | SIZE | SOURCE | PRICE |
|---|---|---|---|---|---|
| Industrial Valve A200High-pressure industrial valve | IVA-200 | Oil & Gas | 200 | Price Table - 29 Oct 2025 Data .xlsx | $1,250.00 |
| Copper Pipe 25mmStandard copper piping | CPP-025 | Marine & Offshore | 25 | — | SGD 45.50 |
| Steel Flange DN100Stainless steel flange | SFL-100 | Petrochemical | 100 | — | $320.00 |
| Gasket Set PremiumPremium gasket set | GSP-001 | — | — | — | MYR 85.00 |
Use Ant Design columns and native table features; this wrapper only applies semantic typography classes.
SectionHeader — Title + Subtitle + Action Slot
Products
Industry Registry
Manage the taxonomic structure of market sectors and industrial domains.
Master Data — Products
Browse and manage the product catalog for quotation matching.
EmptyState — No Data / No Results
No Products Found
There are no products in the catalog yet. Add your first product to get started.
Search Returned No Results
No items matched your search criteria. Try adjusting your filters or search terms.
SearchInputGroup — Search + Optional Category Filter
Organisms
SideBar — 256 px Fixed Navigation
TopBar — Sticky Header with Tab Navigation
Templates
DashboardLayout
Full application shell: fixed SideBar (256 px) + sticky TopBar (64 px) + scrollable Content area. Composes SideBar and TopBar organisms inside AntD Layout / Sider / Header / Content.
Open Dashboard Layout →AuthLayout
Split-panel authentication layout: left editorial branding panel (warm gradient, serif headline, security badge) + right form slot. Bottom status bar with active curators count and system status.
Route: /login (Phase 6)