plan cards
Baseline of the family: independent, equal weight cards in a grid, each with its own full feature list and no shared controls between cards.
shadcn add @hazine/pricing-table
Depends on badge, button, card, @hazine/heading, lucide-react
Pricing section where the most chosen plan fills two thirds of one frame with its price and grouped features, and the other plans stack beside it as compact price deltas. Use when one plan carries most sign-ups.
How it differs. Unequal density by design: one plan is shown in full, the others share a rail in the same frame and are reduced to a signed price delta and one line of difference against it.
pnpm dlx shadcn@latest add @hazine/plan-cards-featured-with-compact-alternativesAdds 1 file, 2 shadcn primitives (badge, button), 1 Hazine item (@hazine/heading), and 1 package (lucide-react).
{
"registries": {
"@hazine": {
"url": "https://api.hazine.dev/r/{name}.json",
"headers": { "Authorization": "Bearer ${HAZINE_TOKEN}" }
}
}
}Set HAZINE_TOKEN in your environment. The token comes with a Pro licence.
The source of a Pro item is not published on this site. It installs into your codebase with the same command once your registry entry carries a Pro token.
pnpm dlx shadcn@latest add @hazine/plan-cards-featured-with-compact-alternativesAdds 1 file, 2 shadcn primitives (badge, button), 1 Hazine item (@hazine/heading), and 1 package (lucide-react).
Also accepts every prop of Omit<React.ComponentProps<"section">, "title">.
A section labelled by its heading. The featured plan comes first in the DOM, each plan is an article labelled by its own heading, the recommended state is badge text, features are prefixed with hidden text that says they are included, and each price delta is read as an amount more or less.
Filled chips are registry items the CLI adds for you. Outlined chips are npm packages.
None. The item is styled by the tokens your theme already has.
The same question answered with a different structure.
plan cards
Baseline of the family: independent, equal weight cards in a grid, each with its own full feature list and no shared controls between cards.
shadcn add @hazine/pricing-table
Depends on badge, button, card, @hazine/heading, lucide-react