Plan comparison
Compare meaningful differences between plans and billing periods.
npx shadcn@latest add @silicon-ui/plan-comparisonInstallation
With the shadcn CLI
npx shadcn@latest add @silicon-ui/plan-comparisonManually
Install the dependencies.
npm install @radix-ui/react-switch lucide-react motionCopy these files into your project. Shared files are skipped if you already have them.
components/silicon-ui/blocks/plan-comparison/plan-comparison.tsxcomponents/silicon-ui/blocks/plan-comparison/plan-comparison.module.csscomponents/silicon-ui/switch/switch.tsxsharedcomponents/silicon-ui/switch/switch.module.csssharedcomponents/silicon-ui/segmented-control/segmented-control.tsxsharedcomponents/silicon-ui/segmented-control/segmented-control.module.csssharedcomponents/silicon-ui/button/button.tsxsharedcomponents/silicon-ui/button/button.module.cssshared
Install the foundation once per app for the design and motion tokens:
npx shadcn@latest add @silicon-ui/silicon-foundation
Usage
Source codetsx