Staaarter

Single Pricing Card

A single centered pricing card for a one-plan display: plan name, large price with an optional billing period, a call-to-action button, and a checklist of included features below a hairline divider. An optional footnote sits under the card.

By Staaarter Team
Feature
Docs
Live preview

Docs

Installation

A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its button dependencies and any missing npm packages, and installs them straight into your project.

npx shadcn add https://staaarter.com/r/single-pricing-card.json

Prefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/feature/feature145.tsx instead.

Usage

The file also exports feature145Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.

import { Feature145, feature145Demo } from "@/components/blocks/feature/feature145";

export default function Page() {
  return <Feature145 {...feature145Demo} />;
}

Props

PropTypeDefaultDescription
eyebrowstringundefinedSmall label above the card.
planNamestringnoneName of the plan shown at the top of the card.
pricestringnoneThe large price figure, e.g. "$29".
periodstringundefinedBilling period shown next to the price, e.g. "/month".
descriptionstringundefinedShort line under the plan name.
featuresstring[]noneChecklist of included features.
cta{ label: string; href: string }noneThe call-to-action button label and destination.
footnotestringundefinedSmall print under the card, e.g. a trial disclaimer.
classNamestringnoneExtra classes for the outer section element.

Behavior notes

  • This is a plain Server Component, the CTA is a real next/link styled as a button via Button's `render` prop, not a form submission.
  • There is only one plan/card, this block is intended for a single-tier pricing page or an add-on upsell, not a plan comparison grid.