Asymmetric three-column pricing layout with an elevated featured plan card, amber badge, and a security footer note.
Installation
Usage
Note: This component is inspired from Efferd.
Customizing the title
How It Works
- The component uses
plans.find()to extract the first non-featured plan (hobby), the featured plan, and the first non-featured plan after index 0 (enterprise) — making plan order flexible. - The featured middle column gets
bg-muted/50background and an inner card withrounded-xl border bg-cardto create an elevated floating effect. - An amber
Badgewith aMoneyBag01Iconlabels the featured plan's tier. - If a plan has a
customPricingstring (instead ofprice), the layout switches to an icon + label presentation. - A
footerNoteon the featured plan renders a small security badge row at the bottom of the middle column.
API Reference
Pricing3
| Prop | Type | Default |
|---|---|---|
plans? | Plan3[] | DEFAULT_PLANS |
title? | string | "Flexible plans that grow with you" |
subtitle? | string | DEFAULT_SUBTITLE |
Plan3
| Prop | Type | Default |
|---|---|---|
id? | string | - |
name? | string | - |
price? | string | - |
priceNote? | string | - |
customPricing? | string | - |
description? | string | - |
features? | string[] | - |
ctaLabel? | string | - |
ctaHref? | string | - |
featured? | boolean | - |
featuredLabel? | string | - |
footerNote? | string | - |