Skip to content
synccn

Comparison Table

New

Feature-by-plan table with grouped rows and a highlighted plan.

FeaturesStarterFreePro$12/moTeam$39/mo
Components
Core components
Blocks5AllAll
Theme builder export
Collaboration
Seats11Up to 20
Shared themes
Priority support

Installation

$ pnpm dlx shadcn@latest add @synccn/comparison-table

First time in this project? Connect synccn with one command.

Usage

import { ComparisonTable } from "@/components/ui/comparison-table";<ComparisonTable plans={plans} groups={groups} />

API reference

Generated from the component's TypeScript types, so it always matches the code.

ComparisonTable

Feature comparison across plans. Values can be true/false or text. plans: [{ name, price?, featured? }]; groups: [{ title, rows: [{ feature, values: [] }] }]

  • plansrequired
    ComparisonPlan[]

    Column headers.

  • groupsrequired
    ComparisonGroup[]

    Row groups. true/false render as icons; strings as text.

  • className
    string

    Extra classes for the root element.

Dependencies

Read from the component's imports when the site builds. The CLI installs all of these for you.

Helpers

npm packages

Accessibility

From the source

Read from this component's code when the site builds, so it can't drift.

  • ARIA attributes: aria-label