Avara UI

Pricing Components

A collection of highly-converting, responsive pricing sections. Whether you need traditional tiered subscription cards, a detailed comparison table, or an interactive quote builder, these components are designed to maximize conversions.
Pricing.tsx exports eight independent layouts — PricingCards, PricingScale, PricingDotPattern, PricingBuilder, PricingTable, PricingSlider, PricingTypographic and PricingPlans — that share one color engine. Pick the layout that matches your funnel, then use the theme control above the gallery to see the accent cascade through badges, gradients, glows and buttons.

Tiered cards

One card per plan, with a billing-cycle tab strip above them.

Passdata
as { tabs: [{ plans: [...] }] } — the tabs become the billing-cycle strip.
popular{true}
on a plan scales that card up and accents it.

Dot matrix cards

Minimalist cards with top dot-matrix pattern, corner frame accents, and featured glow state.

RenderPricingDotPattern
with plans — each a badgeTag, price, period, description and features under a featuresTitle. featured gives that card the glow.

Scale cards

Modern dual-card layout with launch & scale plans, monthly/annual toggle, and bottom strategy call CTA.

RenderPricingScale
with plans as { monthly, annually } — two plans each. A plan's popularBadgeText and featuresTitle label the highlighted card and its list; footerTitle, footerSubtitle and footerCtaText / footerCtaHref write the strategy-call strip.

Installation

New project? Follow the installation guide to set up Tailwind CSS, shadcn, the cn helper and lucide-react, register the @algorize-ui registry once, then copy your styles from the Themes page.

Install Pricing

npx shadcn@latest add @algorize-ui/pricing

components/custom/blocks/Pricing.tsx is written into your project. Copy any snippet from a Usage tab above and it runs.

Install dependencies

Step 1 installs this for you. Run it yourself only if you are adding Pricing to an existing project by hand. The cn helper and lucide-react are not listed — the installation guide covers them once for every component.

toggle-group is a component, not a package — the shadcn CLI installs it as source files.

npx shadcn@latest add @algorize-ui/toggle-group

Examples

Elegant cards

Setvariant"elegant"
for a lighter type scale and a top-border accent that lifts on hover.
counting{false}
disables animated price counting for a static numeric display.

Minimal cards

Setvariant"minimal"
to drop the card borders — the popular plan is marked by a single ring instead.

Bordered cards

Setvariant"bordered"
for the neo-brutalist take: square corners, thick borders, offset shadows.

Quote builder

color
is PricingBuilder's primary theme prop — it carries its own module data and recalculates the animated total itself.

Comparison table

data
on PricingTable lays plans out as columns and features as grouped rows. A values entry may be true, false or a string.

Usage slider

data
on PricingSlider defines the volume tiers — dragging updates the tier, price and included limits together.

Typographic menu

data
on PricingTypographic takes every plan in one array; tag each with billingCycle to drive the monthly/yearly switch — a ToggleGroup in the block's color.

Interactive service checklist

PricingPlans
calculates estimated cost based on selected services (Design, Development, Fast Track).

Props Reference: PricingCards

PropTypeDefaultDescription
dataPricingDataRequired
The core data object containing an array of tabs (e.g. Monthly vs Annually), which in turn contain an array of plans.
variant
"default" | "dot-pattern" | "scale" | "elegant" | "minimal" | "bordered"
"default"
Applies structural card layouts. dot-pattern renders dot-matrix header cards, scale renders dual-panel scaling cards, bordered uses neo-brutalist edges, and elegant uses soft border-top accents.
titlestringundefined
Optional section header title text displayed above the pricing cards.
subtitlestringundefined
Optional subheader text displayed underneath the main title.
badgeTextstringundefined
Optional top badge tag text rendered above the section title.
color"indigo" | "rose" | "emerald" | "zinc" | string"indigo"
Applies global color themes to the "Most Popular" badges, checkmark icons, primary buttons, and gradients. Any custom hex string is resolved through CSS variables.
countingbooleantrue
Toggles animated number count-up for price values across all plans. When set to true, prices count up smoothly on mount or tab change; when false, prices display statically without animation.

Props Reference: Other Layouts

ComponentPropTypeDefaultDescription
PricingBuildercountingbooleantrue
Controls animated count-up for the calculated total price.
PricingBuildercolorPricingColor"indigo"
Accent for the module toggles, animated total and call to action.
PricingTabledataPricingTableDataRequired
plans become the columns (one may set featured) and sections group the feature rows.
PricingTablecountingbooleantrue
Toggles animated count-up for plan prices in column headers.
PricingTablecolorPricingColor"indigo"
Accent for the featured column, checkmarks and buttons.
PricingSlidercountingbooleantrue
Controls animated count-up when dragging the usage volume slider.
PricingSlidercolorPricingColor"indigo"
Accent for the range track, thumb and computed price.
PricingTypographicpackagesPricingTypographicPlan[]Required
A flat list of plans split by billingCycle.
PricingTypographiccountingbooleantrue
Toggles animated count-up for active plan prices.
PricingTypographiccolorPricingColor"indigo"
Accent for the active row, price and underline treatment.
PricingPlansservicesPricingServiceOption[]
List of selectable service items with pricing, icons and feature bullet points.
PricingPlanscolorPricingColor
Accent theme color for selected checkboxes, total calculation and CTA button.
PricingScaleplans{ monthly: ScalePlanItem[]; annually: ScalePlanItem[] }
Object containing monthly and annually arrays of pricing plan cards with titles, prices, icons and features.
PricingScalebadgeText / title / subtitlestring
Custom text props for top pill badge, section heading, and description paragraph.
PricingScalefooterTitle / footerSubtitle / footerCtaText / footerCtaHrefstring
Configuration props for the bottom strategy call CTA banner.
PricingScalecolorPricingColor
Applies accent color to popular plan ring/badge, checkmarks, active toggle, and CTA buttons.