Pricing Block

A full pricing section where prices ROLL when you switch monthly/yearly.

  • Zero dependencies
  • React + Tailwind
  • Accessible
  • Reduced-motion aware
Open in v0

Preview

Animated · Full motion: idle animation, physics and effects. animated (default)

Digit columns roll to the new price with a stagger, a −20% badge pops in, the featured plan gets a spinning gradient border, and features show included / not included.

Installation

$ npx shadcn@latest add https://pickui.guetix.com/r/pricing-block.json

Uses the shadcn CLI. It creates components/pickui/pricing-block.tsx and installs nothing else.

Usage

example.tsx
import { PricingBlock } from "@/components/pickui/pricing-block";

export default function Example() {
  return <PricingBlock />;
}

Props

PropTypeDefaultDescription
plansPlan[]—Plans with monthly/yearly prices and features.
currencystring"$"Symbol.
title / subtitlestring—Heading.
animatedbooleantruefalse = the calm “Regular” version (no idle or ambient motion).

Accessibility

  • Billing period is a radiogroup; real prices in sr-only text.