Products, oversized headline


Install
npx shadcn add @klarhimmel/products-oversized-headlineDetailsAbout, usage, props and more
A giant headline that runs across the page with a pill picture and a round picture set inline between its words, a lead line beside a picture, a row of three cards each…
Import
Import
- products/oversized-headline
- About
- A giant headline that runs across the page with a pill picture and a round picture set inline between its words, a lead line beside a picture, a row of three cards each with a picture, a name, a line, check points and a link, and two…
- Category
- Things for sale as cards, rows or one featured item, each with a name, a price and its own action. New project? Set it up once: /get-started/installation.
Notes
When to use it
Pick it as an opening statement for a product range: a giant headline with pictures between its words, then a lead, a picture and three picture cards. For a hero with a single inline pill use hero-centered and its title picture, and for plain cards use features-image-cards.
Writing for it
- The headline is three runs of at most 40 characters each, with two pictures between them; short words only, since the type is very large. - Two to four cards with a name of 60, a line of 200 and up to four points of 80. Lead 240.
Watch out for
Long headline words wrap badly at this size. Use short words and leave a part empty rather than stretching it; empty pictures show the placeholder shape until a picture is set.
Pairs well with
Usage
The block in a page, with its default content (long lists shortened). Every prop is in the table below.
Props
The type, default and text limit of every prop. On a real page, over-limit text is kept and checkSections flags it (Installation, Check a page before you ship); this live preview shows the default until it fits. The panel above edits all props.
| Prop | Type | Default | Description |
|---|---|---|---|
eyebrow | string | 'Section name' | Text, up to 60 characters. |
title | string | 'Open the' | Text, up to 40 characters. |
titleMiddle | string | 'headline with' | Text, up to 40 characters. |
titleEnd | string | 'a few words' | Text, up to 40 characters. |
titlePill | Media | {…} | See the type. |
titleDot | Media | {…} | See the type. |
description | string | 'Say in one line what the visitor wi…' | Text, up to 240 characters. |
media | Media | {…} | See the type. |
cards | { media, name, description, points, link }[] | 3 items | List of 2 to 4. Each item: media, name, description, points, link. |
primary | Link | {…} | See the type. |
secondary | Link | {…} | See the type. |
headingLevel | '1' | '2' | - | One of '1', '2'. Optional; empty is not rendered. |