All registry items
blocks/r/specs-table.json
Specs Comparison Table
Flagship storefront hairline side-by-side model specifications comparison table.
Specs Comparison Table
Toggle Tablet or Mobile for real isolated iframe breakpoints, or switch to Code for full source.
Compare Lumen 10 models
| Feature | Lumen 10 Pro | Lumen 10 |
|---|---|---|
| Display | 6.7" Pro LTPO OLED · 1–120Hz | 6.3" LTPO OLED · 60–120Hz |
| Camera | Triple Pro · 50MP + 48MP + 5x Tele | Dual Advanced · 50MP + 48MP |
| Chip | Lumen Silicon G5 · 16 GB RAM | Lumen Silicon G5 · 12 GB RAM |
| Battery | Up to 32 hours · 45W fast charge | Up to 28 hours · 35W fast charge |
| Build | Matte satin glass · Recycled aluminum | Polished glass · Recycled aluminum |
Installation
npx shadcn@latest add https://tonal.harlo.dev/r/specs-table.jsonDependencies
Tonal Registry Dependencies
npm Packages
clsxtailwind-merge
Usage
import { SpecsTable } from "@/components/tonal/blocks/specs-table";
<SpecsTable title="Compare Lumen 10 models" models={models} rows={rows} />Props & Tokens API
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | "Compare Lumen 10 models" | Table heading. |
| models | string[] | DEFAULT_SPEC_MODELS | Column model headers. |
| rows | SpecRow[] | DEFAULT_SPEC_ROWS | Feature label and per-model values. |
| highlightFirstModel | boolean | true | Emphasizes the flagship first model column. |