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

DocsMarketing

Pricing table

Pricing tiers with a monthly/yearly switch that works without JavaScript.

Preview

Version
Preview theme color
More themes

Switching the period rolls each price to its new value. With reduced motion turned on, it renders the plain layout.

Simple pricing

Sample prices.

Billing period
2 months free
  • Hobby

    For side projects

    $0per month

    • 1 project
    • Community support
    Start free
  • Pro

    Most popular

    For growing products

    $19per month

    • 10 projects
    • Feature reports
    • Email support
    Start trial
  • Team

    For companies

    $49per month

    • Unlimited projects
    • SSO
    • Priority support
    Contact sales

Simple pricing

Sample prices.

Billing period
2 months free
  • Hobby

    For side projects

    $0per month

    • 1 project
    • Community support
    Start free
  • Pro

    Most popular

    For growing products

    $19per month

    • 10 projects
    • Feature reports
    • Email support
    Start trial
  • Team

    For companies

    $49per month

    • Unlimited projects
    • SSO
    • Priority support
    Contact sales

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 { PricingTable } from "@/components/custom/pricing-table";

<PricingTable
  title="Simple pricing"
  yearlyNote="2 months free"
  plans={[
    { name: "Pro", monthly: 19, yearly: 190, popular: true,
      features: ["10 projects"], cta: { label: "Start trial", href: "/signup" } },
  ]}
/>
import { PricingTableMotion } from "@/components/custom/pricing-table/pricing-table-motion";

<PricingTableMotion title="Simple pricing" plans={plans} />

Props

PropTypeDefaultDescription
plans* (required)PricingPlan[]–{ name, description?, monthly, yearly, features, cta: { label, href, yearlyHref? }, popular? }. yearlyHref is used while Yearly is selected, such as a yearly checkout link.
titlestring"Pricing"Heading (h2).
descriptionstring–Line under the heading.
currencystring"$"Symbol before prices.
monthlyLabel / yearlyLabelstring"Monthly" / "Yearly"Switch labels.
yearlyNotestring–Note beside the switch, such as “2 months free”.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.
PropTypeDefaultDescription
plans* (required)PricingPlan[]–{ name, description?, monthly, yearly, features, cta: { label, href, yearlyHref? }, popular? }. yearlyHref is used while Yearly is selected, such as a yearly checkout link.
titlestring"Pricing"Heading (h2).
descriptionstring–Line under the heading.
currencystring"$"Symbol before prices.
monthlyLabel / yearlyLabelstring"Monthly" / "Yearly"Switch labels.
yearlyNotestring–Note beside the switch, such as “2 months free”.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.

Accessibility

  • The period switch is a labelled radio group and works without JavaScript.
  • Prices read as “$19 per month”.
  • The motion version follows the visitor's reduced-motion setting and never hides content before it animates.