Seat Scale Pricing
One pricing card that morphs through every plan as you drag the team size: avatars pop in seat by seat, the price rolls on odometer reels, the tier badge and accent cross-fade, unlocked features slide in with a glow, and yearly billing bursts a savings chip.
Try it: Drag the team-size slider or pick a plan name; toggle billing.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/seat-scale-pricing.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/seat-scale-pricing. You can also copy the source into components/ui/seat-scale-pricing.tsx (view on GitHub).
Usage
import { SeatScalePricing } from '@/components/ui/seat-scale-pricing'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
tiers | { id, name, minSeats, perSeat, hue, features }[] | DEFAULT_PRICING_TIERS | Plans ordered by minimum seats. |
seats / defaultSeats / onSeatsChange | number | 8 | Controlled or uncontrolled team size. |
billing / defaultBilling / onBillingChange | 'monthly' | 'yearly' | 'yearly' | Billing period. |
maxSeats | number | 150 | Slider maximum. |
yearlyDiscount | number | 0.2 | Discount applied to yearly billing. |
currency | string | '
|