Sections
ComparisonSection
Feature comparison table for side-by-side plan or product differentiation.
Preview
Choose Your Plan
Starter
Pro
Monthly Price
$9 / mo
$29 / mo
Users
1 user
Unlimited
Storage
5 GB
100 GB
API Access
โ
โ
Priority Support
โ
โ
Custom Domain
โ
โ
Analytics
โ
โ
SSO / SAML
โ
โ
Usage
import { ComparisonSection } from '@/components/sections/ComparisonSection'export default function Page() {return (<ComparisonSectionleftLabel="Free"rightLabel="Pro"rows={[{ feature: 'Projects', left: '3', right: 'Unlimited' },{ feature: 'Collaboration', left: false, right: true },{ feature: 'Export', left: true, right: true },]}/>)}
Prompt Preview
Copy a prompt that recreates this UI
Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.
Copy-ready AI prompt
Starts from the current visual reference and project constraints.
Tweak only product-specific copy or data after the first generation pass.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
leftLabel* | string | - | Left column header |
rightLabel* | string | - | Right column header |
rows* | ComparisonRow[] | - | Array of feature rows |
title | string | - | Section heading |
description | string | - | Section subtext |
leftHighlight | boolean | false | Highlight left column in primary color |
className | string | - | Extra CSS classes |