Templates
Page layouts that compose organisms into reusable structures. Templates define where things go, not what data they display.
DashboardLayout
Authenticated user area with collapsible sidebar and fixed header
Features
- •Collapsible sidebar with Rainbow metric nav
- •Fixed header with search (⌘K), notifications, user menu
- •Theme toggle integration
- •Responsive main content area
Composed Organisms
DashboardSidebarDashboardHeader
app/(dashboard)/layout.tsxMarketingLayout
Public-facing pages with minimal chrome for landing, pricing, etc.
Features
- •Minimal shell for marketing pages
- •Future: Marketing header/nav
- •Future: Marketing footer
- •No authentication required
Composed Organisms
Minimal template - no organisms
app/(marketing)/layout.tsxShowcaseLayout
Component documentation with sidebar navigation
Features
- •Fixed sidebar with section navigation
- •Theme toggle
- •Rainbow hearts branding
- •Active state highlighting
Composed Organisms
Minimal template - no organisms
app/showcase/layout.tsx📐 Templates in Atomic Design
Templates are the fourth level of Atomic Design. They provide context for organisms by placing them in a page structure. Templates use placeholder content to define layout - when real data is added, they become Pages.
Atoms→Molecules→Organisms→Templates→Pages