Three-column pricing section with a gradient-bordered featured card and an illustrated cursor SVG decoration.
Installation
Usage
How It Works
- Featured plan is wrapped in a
bg-linear-to-brgradient border (p-0.5trick) with arounded-2xlouter shell and abg-cardinner content area. - A "Most Popular" pill is absolutely positioned at the top of the featured card using negative
topoffset. - A decorative SVG cursor illustration is pinned to the bottom-right corner of the featured card via
absolutepositioning. - Non-featured plans use a subtle
ring-1 ring-foreground/10border for visual separation. - All CTAs use
Button asChildwith<Link>for Next.js client-side navigation.
API Reference
Pricing2
| Prop | Type | Default |
|---|---|---|
plans? | Plan2[] | DEFAULT_PLANS |
Plan2
| Prop | Type | Default |
|---|---|---|
name? | string | - |
price? | string | - |
priceNote? | string | - |
description? | string | - |
features? | string[] | - |
ctaLabel? | string | - |
ctaHref? | string | - |
footnote? | string | - |
featured? | boolean | - |