Design KitComponentv0.3.0
NBTable / ComparisonTable
Readable tables for specs and plan comparisons.
When to use
Use when users must compare structured data quickly (features/specs/plans).
Import
import NBTable from "@/components/NBTable";
import ComparisonTable from "@/components/ComparisonTable";Example
import ComparisonTable from "@/components/ComparisonTable";
<ComparisonTable
columns={["Feature", "Core", "Pro"]}
rows={[{ feature: "Docs", values: ["✓", "✓"] }]}
highlight={2}
/>Live preview
| Feature | Core | PlusBest | Pro |
|---|---|---|---|
| Readable tables | ✓ | ✓ | ✓ |
| Captions | ✓ | ✓ | ✓ |
| Highlight column | — | ✓ | ✓ |
| Token | Meaning |
|---|---|
| --mhc-hl-yellow | Emphasis |
| --mhc-shadow | Hard shadow |
Live preview
People also ask
Where do I import NBTable / ComparisonTable from?
Use: import NBTable from "@/components/NBTable";
import ComparisonTable from "@/components/ComparisonTable";
How do I keep it multi-domain safe?
Don’t hardcode domains in metadata/JSON-LD. Use getSiteUrl() + toAbsoluteUrl().
Design kit
Turn this into a sellable export
If you want the “packaged kit” (versioning, license, exportable docs and components), we can scope the release pipeline.