Pricing, split rows


Install
npx shadcn add https://ui.klarhimmel.com/r/pricing-split-rows.jsonDetailsAbout, usage, props and more
A pitch on the left (label, heading, lead and two actions) beside plans stacked as rows on the right, each with its name, one line, a short checklist, the price and a…
Import
Import
- pricing/split-rows
- About
- A pitch on the left (label, heading, lead and two actions) beside plans stacked as rows on the right, each with its name, one line, a short checklist, the price and a button. One row can be featured with a badge and an accent border.
- 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
A pitch at the left with a label, heading, lead and two actions, beside plans stacked as rows on the right, each with a name, a line, a short checklist, the price and a button. Use pricing-rows when there is no pitch.
Writing for it
- Write two or three short lines for what each plan includes, as plain facts. - Feature one row with a badge and an accent border, and use the badge for a short word such as the most chosen. - Say in the lead what every plan includes and who the choice is for.
Watch out for
On a phone the pitch sits above the rows and each row stacks its price and button under the text. Featuring more than one row removes the point of the badge.
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 how the plans are chosen' | Text, up to 120 characters. |
description | string | 'Say in one or two sentences what ev…' | Text, up to 240 characters. |
primary | Link | {…} | See the type. |
secondary | Link | {…} | Optional; empty is not rendered. |
plans | { name, description, features, price, period, badge, cta, featured }[] | 3 items | List of 2 to 4. Each item: name, description, features, price, period, badge, cta, featured. |
headingLevel | '1' | '2' | - | One of '1', '2'. Optional; empty is not rendered. |