What problem does it solve?
Templates are page-level wireframe structures that define layout without real content—blueprints showing "hero goes here, nav goes here, grid goes here." They're reusable across many pages with different data.
Core Features & Use Cases
- Structure Over Content: Templates define WHERE things go, not WHAT they contain. Use placeholder props or slots—actual data comes from pages.
- Layout Orchestration: Templates handle page-level layout, responsive grid systems, and spatial relationships between organisms.
- Content Agnostic: A ProductTemplate works for any product by accepting different data. Same structure, different content.
- Use Case: Design large-scale pages that share skeletons across routes by varying only the data.
Quick Start
Instantiate a ProductTemplate with slot components (hero, productInfo, specifications, reviews, relatedProducts) and supply product data via props.