Features Comparison Table
An us-versus-them table with a lifted highlight column; checks pop and draw their stroke row by row as the table scrolls in.
featurescomparisontablechecksstagger
Installation
Run the shadcn CLI in a project with Tailwind CSS. The component lands in components/pixelpapa/features-comparison-table.tsx.
$pnpm dlx shadcn@latest add "https://pixelpapa.com/r/features-comparison-table.json"Manual install+
1. Install the dependencies.
$pnpm add lucide-react motion2. Copy the code from the Code tab above into your project. It imports the cn helper from @/lib/utils, which every shadcn project already has.
Build it with AI
Prefer to let an agent do the wiring? Copy this prompt, describe where the component should go, and paste.
AI prompt
Paste into Claude, Cursor, v0 or Lovable
Add the "Features Comparison Table" component from PixelPapa UI to this project. What it is: An us-versus-them table with a lifted highlight column; checks pop and draw their stroke row by row as the table scrolls in. Category: Feature Sections. Depends on: lucide-react, motion. 1. Install it with the shadcn CLI: npx shadcn@latest add "https://pixelpapa.com/r/features-comparison-table.json" (If the CLI is unavailable, fetch that URL, write files[0].content to components/pixelpapa/features-comparison-table.tsx and install the listed dependencies.) 2. Import it from "@/components/pixelpapa/features-comparison-table" and place it where I describe below. 3. Keep its animation timings and accessibility attributes. Replace the demo copy and data with content that fits my product, and use my existing theme tokens (bg-background, text-foreground, bg-primary, border-border) rather than hard-coded colours. Where to use it: <describe the page and position here>
More feature sections
- Features Accordion VisualAn accordion on the left steers a product mock on the right: a spring-driven focus frame glides to the matching region while the rest dims.
- Features Alternating RowsThree text-and-illustration rows that swap sides; each drawing animates in on view and its floating layer drifts with scroll.
- Features Animated WorkflowA four-stage pipeline where an order token hops card to card with a shared-layout spring, leaving a completed result behind at every stage.
- Features Big Numbered ListAn editorial list with oversized serif numerals that rise through a mask on view; the hovered or focused row opens its note and a marker bar slides to it.
- Features Code And ResultA code snippet with clickable values beside a live preview: cycle a prop in the code and the toast on the right springs in with the new tone and position.
- Features Icon Grid HoverA hairline grid of six features: grid lines glow under the cursor, a beam laps the hovered cell's border and a detail row slides up.