Smart Comparison

An interactive feature matrix and SaaS tier comparison component featuring live difference filtering, collapsible specification categories, search indexing, and mobile card toggle.

Popular

Pro Team

High concurrency & edge bandwidth

$29/mo
Serverless Concurrency
Pro Team:
250 nodes
Global Edge Routing
Pro Team:
0ms Cold Start Standby
Pro Team:
SAML / Okta SSO
Pro Team:
Immutable Audit Logs
Pro Team:
90 days

Installation

Add the component directly to your repository using shadcn CLI:

npx shadcn@latest add Surajmaurya1/easyui/smart-comparison

API Reference

PropTypeDefaultDescription
plansComparisonPlan[][]Array of plans/tiers containing pricing and metadata
categoriesComparisonCategory[][]Grouped feature categories with plan-specific values
defaultPlanIdstringfeatured plan or plans[0].idInitial plan selected on mobile viewports
enableSearchbooleantrueWhether to show the instant feature search input
enableDiffFilterbooleantrueWhether to render the "Differences Only" toggle button
classNamestringundefinedOptional CSS class name for container