Products, satellite


Install
npx shadcn add @klarhimmel/products-satelliteDetailsAbout, usage, props and more
A centred heading, then one square picture in the middle flanked by a stack of item cards on each side (icon, optional badge, name, line and price), with two actions…
Import
Import
- products/satellite
- About
- A centred heading, then one square picture in the middle flanked by a stack of item cards on each side (icon, optional badge, name, line and price), with two actions centred below.
- 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 to show one hero product picture with its variants or add-ons orbiting it, two or three cards on each side. For a lead picture beside plain captions use gallery-featured; for a row of equal feature cards without a central picture use features-grid.
Writing for it
- The title holds 120 characters and the lead 240; the picture is square and sits in the middle. - Each side takes one to three cards: an icon, an optional badge of 24, a name of 50, a line of 100 and a price of 16 with a period of 30. - Two actions sit centred below; the second is optional.
Watch out for
Keep both sides to the same number of cards or the picture floats off centre against the taller stack. On a phone the left cards come first, then the picture, then the right cards, so order the cards to read well top to bottom.
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 | 'Say what the range offers' | Text, up to 120 characters. |
description | string | 'Say in one line what the visitor ca…' | Text, up to 240 characters. |
media | Media | {…} | See the type. |
left | { icon, badge, name, description, price, period }[] | 2 items | List of 1 to 3. Each item: icon ('zap' | 'shield' | 'layers' | 'globe' | 'sparkles' | 'clock' | 'code' | 'palette' | 'lock' | 'chart' | 'users' | 'mail' | 'heart' | 'rocket' | 'search' | 'settings' | 'check' | 'star' | 'book' | 'box' | 'cloud' | 'compass' | 'leaf' | 'gauge'), badge, name, description, price, period. |
right | { icon, badge, name, description, price, period }[] | 2 items | List of 1 to 3. Each item: icon ('zap' | 'shield' | 'layers' | 'globe' | 'sparkles' | 'clock' | 'code' | 'palette' | 'lock' | 'chart' | 'users' | 'mail' | 'heart' | 'rocket' | 'search' | 'settings' | 'check' | 'star' | 'book' | 'box' | 'cloud' | 'compass' | 'leaf' | 'gauge'), badge, name, description, price, period. |
primary | Link | {…} | See the type. |
secondary | Link | {…} | Optional; empty is not rendered. |
headingLevel | '1' | '2' | - | One of '1', '2'. Optional; empty is not rendered. |