# Pricing, single plan

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

One plan with a large price, a button and a checklist of what is included.

## Import

- **CLI**

  ```
  npx shadcn add @klarhimmel/pricing-single
  ```
- **Import**

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

Also called

- pricing/single

- **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 plan with a large price, a button and a checklist of what is included. If you have more than one option choose `pricing-tiers`, and for work priced by use `pricing-usage`.
- **Writing for it**: - Price is limited to 16 characters, so '299 kr' fits, and the period (40 characters) after it says 'per month, billed yearly' or similar.
- The checklist takes one to ten items of 80 characters. Lead with what the buyer gets and not the plan's internal name for it.
- The note under the button (120 characters) is for the objection that stops a click, like a cancellation term or a trial.
- **Watch out for**: There is no featured or badge field because the single card is always the emphasised box. The includes title (60 characters) is a real h3, so empty it only if you accept a checklist with no heading.

## Pairs well with

- **[Features, list](/blocks/features/list)**
- **[FAQ, list](/blocks/faq/accordion)**
- **[Testimonial, quote](/blocks/testimonials/quote)**

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

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <PricingSingle props={{
          "eyebrow": "Section name",
          "title": "Say what the one plan includes",
          "description": "Say in one or two sentences what the plan includes and who pays for what.",
          "name": "Name the plan",
          "price": "$00",
          "period": "per unit, per period",
          "includesTitle": "Say what the list holds",
          "features": [
            "First included feature",
            "Second included feature",
            "Third included feature",
            "Fourth included feature",
            "Fifth included feature",
            "Sixth included feature",
            "Seventh included feature",
            "Eighth included feature"
          ],
          "cta": {
            "label": "Main action",
            "href": "#trial"
          },
          "note": "Say what the trial or start involves"
        }} />
      </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 300 characters.
- **name**: Text, up to 40 characters.
- **price**: Text, up to 16 characters.
- **period**: Text, up to 40 characters.
- **includesTitle**: Text, up to 60 characters.
- **features**: List of 1 to 10.
- **cta**: See the type.
- **note**: Text, up to 120 characters.
- **layout**: One of 'wide', 'narrow', 'column'. Optional; empty is not rendered.
- **titleSize**: One of 'title', 'heading'. Optional; empty is not rendered.
- **badge**: Text, up to 24 characters. Optional; empty is not rendered.
- **largePrice**: Optional; empty is not rendered.
- **headingLevel**: One of '1', '2'. Optional; empty is not rendered.

[Previous](/blocks/pricing/rows)

[Next](/blocks/pricing/split-rows)
