Tapas UI
Esc
  • IntroductionGetting startedWhat Tapas UI is and where to start.
  • InstallationGetting startedSet up shadcn/ui and add your first section.
  • CLI & AI agentsGetting startedThe shadcn CLI, the @tapas namespace, the MCP server and AI prompts.
  • TemplatesGetting startedWhole pages built from sections, installed with one command.
  • Demo sitesGetting startedThree fictional sites built only from Tapas sections.
  • ThemingCustomizationHow sections pick up your colors and radius.
  • ColorsCustomizationEvery CSS variable sections read, what it is for and where it is used.
  • Dark modeCustomizationSections follow your .dark variables.
  • MotionCustomizationPlain and motion versions, reduced motion and pause controls.
  • AccessibilityCustomizationWhat every section guarantees.
  • Waitlist formsGuidesPost signups to your own API route and store them.
  • Checkout linksGuidesPoint pricing buttons at Stripe payment links or any URL.
Menu
Browse the docs

DocsCards

Pricing card

Plan name, price, included and excluded features, and a call to action.

Preview

Version
Preview theme color
More themes

Lifts on hover with a spring. With reduced motion turned on, it renders the plain layout.

Most Popular
Pro
For growing teams
$19per month
  • Included: 10 projects
  • Included: Priority support
  • Not included: Custom domain
Most Popular
Pro
For growing teams
$19per month
  • Included: 10 projects
  • Included: Priority support
  • Not included: Custom domain

Installation

Run this in a project that already uses shadcn/ui. It adds the component and anything it needs; the motion version also adds the plain one and the motion package.

Usage

import { PricingCard } from "@/components/custom/pricing-card";

<PricingCard
  name="Pro"
  price={19}
  period="month"
  popular
  features={[
    { text: "10 projects", included: true },
    { text: "Custom domain", included: false },
  ]}
  ctaText="Start trial"
  onSelect={() => router.push("/checkout?plan=pro")}
/>
import { PricingCardMotion } from "@/components/custom/pricing-card/pricing-card-motion";

<PricingCardMotion {...props} />

Props

PropTypeDefaultDescription
name* (required)string–Plan name.
price* (required)number–Price amount.
features* (required){ text: string; included: boolean }[]–Feature list; excluded items are marked for screen readers.
descriptionstring–Line under the plan name.
currencystring"$"Symbol before the price.
periodstring"month"Billing period after the price.
ctaTextstring"Get Started"Button text.
popularbooleanfalseHighlights the card with a “Most Popular” badge.
onSelect() => void–Called when the button is clicked. Needs a client component parent.
...propsReact.ComponentProps<"div">–Any other div attribute (id, aria-*, data-*, ref) goes to the root element.
PropTypeDefaultDescription
name* (required)string–Plan name.
price* (required)number–Price amount.
features* (required){ text: string; included: boolean }[]–Feature list; excluded items are marked for screen readers.
descriptionstring–Line under the plan name.
currencystring"$"Symbol before the price.
periodstring"month"Billing period after the price.
ctaTextstring"Get Started"Button text.
popularbooleanfalseHighlights the card with a “Most Popular” badge.
onSelect() => void–Called when the button is clicked. Needs a client component parent.
...propsReact.ComponentProps<"div">–Any other div attribute (id, aria-*, data-*, ref) goes to the root element.

Accessibility

  • The price is read as “$19 per month”.
  • Each feature says whether it is included or not, not only with an icon.
  • The motion version follows the visitor's reduced-motion setting and never hides content before it animates.