All registry items
blocks/r/editorial-hero.json
Editorial Finish Hero
Split hero with dynamic finish swatches that tint the surrounding tonal surface.
Editorial Finish Hero
Toggle Tablet or Mobile for real isolated iframe breakpoints, or switch to Code for full source.
New · Lumen 10 Pro
Designed to get out of the way.
Precision-milled glass, all-day adaptive battery, and our quietest camera system yet.
Porcelain
Surface token: --t-surface-warm
Installation
npx shadcn@latest add https://tonal.harlo.dev/r/editorial-hero.jsonDependencies
Tonal Registry Dependencies
npm Packages
clsxtailwind-merge
Usage
import { EditorialHero } from "@/components/tonal/blocks/editorial-hero";
export default function Page() {
return (
<EditorialHero
eyebrow="New · Lumen 10 Pro"
headline="Engineered for calm."
ctaLabel="Buy from $999"
/>
);
}Props & Tokens API
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "New · Lumen 10 Pro" | Muted eyebrow label above the display heading. |
| headline | string | "Designed to get out of the way." | Primary display headline. |
| subtitle | string | — | Supporting editorial copy. |
| ctaLabel | string | "Buy from $999" | Primary button text. |
| secondaryLabel | string | "Compare models" | Inline ChevronLink label. |
| finishes | FinishOption[] | DEFAULT_FINISHES | Interactive swatch options that dynamically tint the hero surface. |