Feature Comparison Table

A plan comparison table with a sticky header, collapsible groups, a tinted highlighted column, row hover and a one-plan-at-a-time switcher on phones. Real table semantics with screen-reader labels for ticks.

Try it: Collapse a group; on phones pick a plan above the table.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/feature-comparison-table.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/feature-comparison-table. You can also copy the source into components/ui/feature-comparison-table.tsx (view on GitHub).

Usage

import { FeatureComparisonTable } from '@/components/ui/feature-comparison-table'

Props

Component props
PropTypeDefaultNotes
plansstring[]Hobby / Pro / EnterpriseColumn headers.
highlightnumber1Highlighted column.
groupsCompareGroup[]DEFAULT_COMPARE_GROUPS{ title, rows: { feature, hint?, values } }

Dependencies

  • motion
  • lucide-react
  • CTA Glow Banner

    A closing call-to-action on an ink panel: a soft lilac and orange aurora trails the pointer behind a fine dot grid, the block rises in on scroll and the arrow nudges on hover.

  • Testimonial Wall

    A masonry wall of quote cards whose columns drift in opposite directions at different speeds, faded at the edges, with a pause button; reduced motion shows a static scrollable wall.

  • Newsletter Signup

    An inline email capture with inline validation, a button that morphs to a spinner, a shake on error, a polite live region and a success state with undo.

  • FAQ Accordion

    A two-column FAQ: rows expand on a height spring, the plus rotates into a cross, the open row lifts onto a soft surface and answers un-blur in. ↑ ↓ Home End move between questions.

  • Site Footer

    A calm SaaS footer: link columns with sliding hairline underlines, a live status pill, socials, a language picker and a giant outlined wordmark that rises from the bottom edge.

  • Pricing Plans

    Three-tier pricing with a sliding monthly/yearly switch whose numerals roll digit by digit, a highlighted ink plan with a light rim, and a “you save” chip that springs in on yearly.

See all 14 Website Sections components