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

Comparison table

Feature-by-plan table with row headers that scrolls inside its own box on phones.

Preview

Version
Preview theme color
More themes

Rows fade in top to bottom as the table scrolls into view, so it reads feature by feature. With reduced motion turned on, it renders the plain layout.

Compare plans

Plans compared feature by feature
FeatureHobbyProTeam
Projects110Unlimited
Feature reportsNot includedIncludedIncluded
Single sign-onNot includedNot includedIncluded
SupportCommunityEmailPriority

Compare plans

Plans compared feature by feature
FeatureHobbyProTeam
Projects110Unlimited
Feature reportsNot includedIncludedIncluded
Single sign-onNot includedNot includedIncluded
SupportCommunityEmailPriority

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

<ComparisonTable
  caption="Plans compared feature by feature"
  plans={["Free", "Pro"]}
  rows={[
    { feature: "Projects", values: ["1", "Unlimited"] },
    { feature: "Reports", values: [false, true] },
  ]}
/>
import { ComparisonTableMotion } from "@/components/custom/comparison-table/comparison-table-motion";

<ComparisonTableMotion caption="Plans compared" plans={plans} rows={rows} />

Props

PropTypeDefaultDescription
caption* (required)string–Names the table for screen readers.
plans* (required)string[]–Column headers.
rows* (required){ feature: string; values: (boolean | string)[] }[]–One value per plan.
titlestring–Optional heading (h2).
featureLabelstring"Feature"Header over the feature column.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.
PropTypeDefaultDescription
caption* (required)string–Names the table for screen readers.
plans* (required)string[]–Column headers.
rows* (required){ feature: string; values: (boolean | string)[] }[]–One value per plan.
titlestring–Optional heading (h2).
featureLabelstring"Feature"Header over the feature column.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.

Accessibility

  • Real table markup with a caption, column headers and row headers.
  • Checks and dashes read as “Included” and “Not included”.
  • On narrow screens the table scrolls inside a focusable region.
  • The motion version follows the visitor's reduced-motion setting and never hides content before it animates.