Visual Components
Layout Foundations
Section titled “Layout Foundations”Glass Cards
Section titled “Glass Cards”Elevated surfaces use blur and saturation with translucent borders.
.glass-card { backdrop-filter: blur(16px) saturate(180%); background-color: rgba(17, 25, 40, 0.75); border: 1px solid rgba(255, 255, 255, 0.125);}Admin Page Standards
Section titled “Admin Page Standards”All admin pages follow a compact, data-dense layout:
- Page padding:
p-4(16px) - Section gap:
space-y-4(16px) - Header margin:
mb-1(4px) - Title size:
text-2xl(24px)
Specialized Components
Section titled “Specialized Components”Stat Cards
Section titled “Stat Cards”Standardized for manufacturing metrics (throughput, alerts, etc.).
<StatCard title="Active Jobs" value={42} icon={PlayCircle} color="primary"/>Hero Stack
Section titled “Hero Stack”The “narrative” stack for landing and onboarding pages:
- Icon Container: Branded SVG or Lucide icon.
- Welcome Text: Uppercase, tracked microcopy.
- Title Container: Main heading + Preview pill.
- Title Divider: Linear gradient separator.
Responsive Patterns
Section titled “Responsive Patterns”Tablet-First Operator View
Section titled “Tablet-First Operator View”- Targets: 44px minimum for touch.
- Sidebar: Collapsed icon-only on tablets, hidden on mobile.
- Terminal View: Right panel collapses into a drawer on smaller screens.
PC-First Admin View
Section titled “PC-First Admin View”- Data Tables: Multi-column layouts with sticky headers.
- Scroll Behavior: Internal container scrolling to keep navigation visible.
Getting Started
Section titled “Getting Started”UI Stack
Section titled “UI Stack”- shadcn/ui: Base primitives (Button, Input, Form).
- Tailwind CSS: Utility classes for layout and custom tokens.
- AnimatedBackground: Must be mounted before page content.
Using Design System Classes
Section titled “Using Design System Classes”.cta-button: Primary action styling with arrow nudge..informational-text: Stylized capsules for empty states or tips..workflow-section: Italicized callouts for procedural text..title-divider: The standard brand line separator.