# Products, feature stack

- **[Sections](/blocks/)**
- **[Products](/blocks/products/)**
- **Products, feature stack**

A heading above one large product card (picture, badge, name, line, price and two actions) beside a column of two to four small cards, each a square picture with a…

## Import

- **CLI**

  ```
  npx shadcn add @klarhimmel/products-feature-stack
  ```
- **Import**

  ```
  import Block from '@/components/klarhimmel/blocks/products-feature-stack';
  ```

Also called

- products/feature-stack

- **About**: A heading above one large product card (picture, badge, name, line, price and two actions) beside a column of two to four small cards, each a square picture with a name, a line and a price. On a phone the large card sits above the column.
- **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 put one product first and its smaller siblings beside it, each with a price. For a lead picture with captions only and no prices use `gallery-featured`; for equal product cards use `features-image-cards`.
- **Writing for it**: - The title holds 120 characters, the lead 240 and the badge 24. The large card takes a name of 80, a line of 200, a price of 16 and one or two actions.
- The column holds two to four small cards, each a name of 60, a line of 100 and a price of 16 with an optional period of 30.
- **Watch out for**: The large card is the loudest part, so give it the product you most want chosen. A price is a short figure; put the billing words in the period so the figure never wraps. Four small cards make the column taller than the large card on a wide screen.

## Pairs well with

- **[Pricing, split rows](/blocks/pricing/split-rows)**
- **[Call to action, band](/blocks/cta/banner)**
- **[FAQ, list](/blocks/faq/accordion)**

## Usage

The block in a page, with its default content (long lists shortened). Every prop is in the table below.

section.tsx

```
import { Theme } from '@/components/klarhimmel/theme/style';
import { BlockSurface } from '@/components/klarhimmel/blocks/surface';
import ProductsFeatureStack from '@/components/klarhimmel/blocks/products-feature-stack';

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <ProductsFeatureStack props={{
          "eyebrow": "Section name",
          "title": "Say what the range offers",
          "description": "Say in one line what the visitor can choose from.",
          "main": {
            "media": {
              "src": "/pictures/photo-surf1.avif",
              "alt": "Surfboards lined up against a tree"
            },
            "badge": "Label",
            "name": "Name the lead product",
            "description": "Describe the lead product in a sentence or two.",
            "price": "00",
            "period": "billing period",
            "primary": {
              "label": "Main action",
              "href": "#buy"
            },
            "secondary": {
              "label": "Second action",
              "href": "#details"
            }
          },
          "items": [
            {
              "media": {
                "src": "/pictures/photo-tree1.avif",
                "alt": "An oak canopy seen from below"
              },
              "name": "Name the product",
              "description": "Describe it in one short line.",
              "price": "00",
              "period": "billing period"
            }
          ]
        }} />
      </BlockSurface>
    </Theme>
  );
}
```

## 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.

- **eyebrow**: Text, up to 60 characters.
- **title**: Text, up to 120 characters.
- **description**: Text, up to 240 characters.
- **main**: Fields: media, badge, name, description, price, period, primary, secondary (optional).
- **items**: List of 2 to 4. Each item: media, name, description, price, period.
- **headingLevel**: One of '1', '2'. Optional; empty is not rendered.

[Previous](/blocks/products/cover-link-bar)

[Next](/blocks/products/featured-split)
