9
Component snippets
The first-party component set has nine focused files.
Offline component reference
All nine copy-ready components are shown with repository-verifiable content, the full bundled token system, and no remote dependencies.
Source snippet: assets/components/metric-card.html
9
Component snippets
The first-party component set has nine focused files.
3
Fast-path steps
Start from the template, add snippets, then validate.
0
Remote dependencies
Every artifact remains self-contained and offline.
Source snippet: assets/components/comparison-table.html
| Layer | Decision | Bundled source |
|---|---|---|
| Page | Choose the narrative skeleton. | Template references |
| Section | Match the information shape to a component. | Component snippets |
| Foundation | Apply layout primitives and semantic tokens. | Starter and tokens |
Source snippet: assets/components/data-table.html
| Source | Role | Loading rule |
|---|---|---|
| style-tokens.css | Defines the visual token system. | Inline before component CSS. |
| starter-template.html | Provides the semantic shell and layout primitives. | Copy as the artifact baseline. |
| assets/components | Provides section-level assembly snippets. | Copy only the components in use. |
Source snippet: assets/components/timeline.html
Step 1
Copy the starter template and retain its semantic structure.
Step 2
Add only the snippets needed by each information shape.
Step 3
Fix failures and account for every remaining warning.
Source snippet: assets/components/checklist.html
Source snippet: assets/components/quote-card.html
Every artifact must be self-contained, semantic, accessible, and reviewable.
Source snippet: assets/components/code-block.html
python skills/development-workflows/html-artifact/scripts/check_html_artifact.py skills/development-workflows/html-artifact/assets/demo-all.html
Source snippet: assets/components/details.html
The starter already defines matrix, decision, and evidence table behavior, so the component snippets only assemble semantic examples.
Source snippet: assets/components/badge.html
Ready Needs review Reference Supporting detail