# Pricing, featured

- **[Sections](/blocks/)**
- **[Pricing](/blocks/pricing/)**
- **Pricing, featured**

One tall featured plan card beside shorter plan cards stacked on its right, under a heading; on a phone the cards stack, the featured one first.

## Import

- **CLI**

  ```
  npx shadcn add https://ui.klarhimmel.com/r/pricing-featured.json
  ```
- **Import**

  ```
  import Block from '@/components/klarhimmel/blocks/pricing-featured';
  ```

Also called

- pricing/featured

- **Category**: Plans and prices: tiers, a single plan, a toggle or a comparison table. New project? Set it up once: /get-started/installation.

## Notes

- **When to use it**: One tall featured plan card beside shorter plan cards stacked on its right, under a heading. Use `pricing-tiers` for equal plans in a row.
- **Writing for it**: - Make the featured card the plan most visitors should choose, and name it that way in the plan name.
- Keep the shorter plans to a name, a price and a few lines, since they sit stacked.
- Write the heading as the choice the visitor makes, not as a slogan.
- **Watch out for**: On a phone the cards stack with the featured one first. Adding a plan changes the height of the right column, so keep the count of shorter cards small.

## Pairs well with

- **[Features, grid](/blocks/features/grid)**
- **[FAQ, list](/blocks/faq/accordion)**
- **[Call to action, minimal](/blocks/cta/minimal)**

## 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 PricingFeatured from '@/components/klarhimmel/blocks/pricing-featured';

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <PricingFeatured props={{
          "eyebrow": "Name the kind of plans",
          "title": "Say in one line what the visitor is choosing between",
          "featured": {
            "name": "Name the plan most visitors should pick",
            "badge": "Say why",
            "price": "Price",
            "per": "Say what the price covers",
            "lead": "Say in one sentence who this plan is for and the main gain.",
            "text": "Say in two sentences what comes with it and why it is worth more than the other…",
            "points": [
              "Name one thing this plan includes"
            ],
            "action": {
              "label": "Choose this plan",
              "href": "#featured"
            }
          },
          "plans": [
            {
              "name": "Name the second plan",
              "price": "Price",
              "per": "Say what the price covers",
              "description": "Say in one or two sentences which things this plan covers and who it suits.",
              "action": {
                "label": "Choose this plan",
                "href": "#second"
              }
            }
          ]
        }} />
      </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 40 characters. Optional; empty is not rendered.
- **title**: Text, up to 80 characters.
- **featured**: Fields: name, badge, price, per, lead, text, points, action.
- **plans**: List of 1 to 3. Each item: name, price, per, description, action.
- **headingLevel**: One of '1', '2'. Optional; empty is not rendered.

[Previous](/blocks/pricing/comparison)

[Next](/blocks/pricing/figure)
