Veil UI
Components

Pricing Page

A pricing page with plans, comparison table and FAQ.

Installation

$ npx veil-ui@latest add pricing-page

Usage

import { PricingPage } from "@/components/ui/pricing-page";

<PricingPage />;

Examples

Basic

Pricing that scales with you

Start free, upgrade when your team grows.

Starter

For side projects.

$0/month

  • 3 projects
  • Community support
Team
Most popular

For growing teams.

$24/month

  • Unlimited projects
  • 10 seats
  • Priority support
Enterprise

For organizations.

Custom

  • SSO and SCIM
  • Audit logs
FeatureStarter$0Team$24EnterpriseCustom
Projects3UnlimitedUnlimited
Team seats110Unlimited
SSONot includedNot includedIncluded
Audit logsNot includedIncludedIncluded

Billing questions

API reference

The package exports pricing-page along with its composable parts. It forwards standard attributes to its root element; see the examples above for the component-specific props.

Accessibility

  • Page templates use semantic landmarks and a single page-level heading.
  • Navigation links and actions have discernible names and visible focus styles.
  • Decorative imagery uses empty alt text; content images carry descriptions.

Vue and plain HTML

This component also ships for Vue (Reka UI) and plain HTML. Install it with npx veil-ui add pricing-page --framework vue or switch the framework in components.json.

<template>
<div data-slot="pricing-page" class="min-h-[600px]"><div class="px-6 py-14"><div data-slot="pricing-section" class="grid gap-6"><div class="mx-auto max-w-2xl text-center"><h2 class="text-2xl font-semibold tracking-tight">Pricing that scales with you</h2><p class="mt-2 text-sm text-muted-foreground">Start free, upgrade when your team grows.</p></div><div class="grid items-start gap-4 md:grid-cols-3"><div data-slot="pricing-card" class="flex flex-col gap-4 rounded-lg border bg-card py-5 text-card-foreground shadow-xs max-w-none"><div data-slot="card-header" class="grid auto-rows-min items-start gap-1 px-5 has-[[data-slot=card-action]]:grid-cols-[1fr_auto]"><div class="flex items-center justify-between gap-2"><div data-slot="card-title" class="text-base font-medium leading-none">Starter</div></div><p class="text-sm text-muted-foreground">For side projects.</p><p class="flex items-baseline gap-1 pt-2"><span class="text-3xl font-semibold tracking-tight">$0</span><span class="text-sm text-muted-foreground">/month</span></p></div><div data-slot="card-content" class="px-5 grid gap-4"><ul class="grid gap-2 text-sm"><li class="flex items-start gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check mt-0.5 size-4 shrink-0 text-primary" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg><span>3 projects</span></li><li class="flex items-start gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check mt-0.5 size-4 shrink-0 text-primary" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg><span>Community support</span></li></ul><button data-slot="button" data-variant="outline" data-size="default" class="inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium outline-none transition-[color,background-color,border-color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 border border-input bg-background hover:bg-accent hover:text-accent-foreground h-9 px-4 py-2 w-full" type="button">Choose plan</button></div></div><div data-slot="pricing-card" class="flex flex-col gap-4 rounded-lg border bg-card py-5 text-card-foreground border-primary shadow-md ring-1 ring-primary max-w-none" data-highlighted="true"><div data-slot="card-header" class="grid auto-rows-min items-start gap-1 px-5 has-[[data-slot=card-action]]:grid-cols-[1fr_auto]"><div class="flex items-center justify-between gap-2"><div data-slot="card-title" class="text-base font-medium leading-none">Team</div><span class="rounded-full bg-primary/10 px-2 py-0.5 text-xs font-medium text-primary">Most popular</span></div><p class="text-sm text-muted-foreground">For growing teams.</p><p class="flex items-baseline gap-1 pt-2"><span class="text-3xl font-semibold tracking-tight">$24</span><span class="text-sm text-muted-foreground">/month</span></p></div><div data-slot="card-content" class="px-5 grid gap-4"><ul class="grid gap-2 text-sm"><li class="flex items-start gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check mt-0.5 size-4 shrink-0 text-primary" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg><span>Unlimited projects</span></li><li class="flex items-start gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check mt-0.5 size-4 shrink-0 text-primary" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg><span>10 seats</span></li><li class="flex items-start gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check mt-0.5 size-4 shrink-0 text-primary" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg><span>Priority support</span></li></ul><button data-slot="button" data-variant="default" data-size="default" class="inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium outline-none transition-[color,background-color,border-color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 bg-primary text-primary-foreground hover:bg-primary/90 h-9 px-4 py-2 w-full" type="button">Choose plan</button></div></div><div data-slot="pricing-card" class="flex flex-col gap-4 rounded-lg border bg-card py-5 text-card-foreground shadow-xs max-w-none"><div data-slot="card-header" class="grid auto-rows-min items-start gap-1 px-5 has-[[data-slot=card-action]]:grid-cols-[1fr_auto]"><div class="flex items-center justify-between gap-2"><div data-slot="card-title" class="text-base font-medium leading-none">Enterprise</div></div><p class="text-sm text-muted-foreground">For organizations.</p><p class="flex items-baseline gap-1 pt-2"><span class="text-3xl font-semibold tracking-tight">Custom</span><span class="text-sm text-muted-foreground"></span></p></div><div data-slot="card-content" class="px-5 grid gap-4"><ul class="grid gap-2 text-sm"><li class="flex items-start gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check mt-0.5 size-4 shrink-0 text-primary" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg><span>SSO and SCIM</span></li><li class="flex items-start gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check mt-0.5 size-4 shrink-0 text-primary" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg><span>Audit logs</span></li></ul><button data-slot="button" data-variant="outline" data-size="default" class="inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium outline-none transition-[color,background-color,border-color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 border border-input bg-background hover:bg-accent hover:text-accent-foreground h-9 px-4 py-2 w-full" type="button">Choose plan</button></div></div></div></div></div><div class="px-6 pb-14"><div data-slot="table-container" class="relative w-full overflow-x-auto"><table data-slot="comparison-table" class="w-full caption-bottom text-sm mx-auto max-w-4xl"><thead data-slot="table-header" class="[&amp;_tr]:border-b"><tr data-slot="table-row" class="border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted"><th data-slot="table-head" scope="col" class="h-10 whitespace-nowrap px-3 text-left align-middle font-medium text-muted-foreground">Feature</th><th data-slot="table-head" scope="col" class="h-10 whitespace-nowrap px-3 align-middle font-medium text-muted-foreground text-center"><span class="block font-medium text-foreground">Starter</span><span class="block text-xs font-normal text-muted-foreground">$0</span></th><th data-slot="table-head" scope="col" class="h-10 whitespace-nowrap px-3 align-middle font-medium text-muted-foreground text-center"><span class="block font-medium text-foreground">Team</span><span class="block text-xs font-normal text-muted-foreground">$24</span></th><th data-slot="table-head" scope="col" class="h-10 whitespace-nowrap px-3 align-middle font-medium text-muted-foreground text-center"><span class="block font-medium text-foreground">Enterprise</span><span class="block text-xs font-normal text-muted-foreground">Custom</span></th></tr></thead><tbody data-slot="table-body" class="[&amp;_tr:last-child]:border-0"><tr data-slot="table-row" class="border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted"><td data-slot="table-cell" class="whitespace-nowrap p-3 align-middle font-medium">Projects</td><td data-slot="table-cell" class="whitespace-nowrap p-3 align-middle text-center">3</td><td data-slot="table-cell" class="whitespace-nowrap p-3 align-middle text-center">Unlimited</td><td data-slot="table-cell" class="whitespace-nowrap p-3 align-middle text-center">Unlimited</td></tr><tr data-slot="table-row" class="border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted"><td data-slot="table-cell" class="whitespace-nowrap p-3 align-middle font-medium">Team seats</td><td data-slot="table-cell" class="whitespace-nowrap p-3 align-middle text-center">1</td><td data-slot="table-cell" class="whitespace-nowrap p-3 align-middle text-center">10</td><td data-slot="table-cell" class="whitespace-nowrap p-3 align-middle text-center">Unlimited</td></tr><tr data-slot="table-row" class="border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted"><td data-slot="table-cell" class="whitespace-nowrap p-3 align-middle font-medium">SSO</td><td data-slot="table-cell" class="whitespace-nowrap p-3 align-middle text-center"><span class="inline-flex items-center gap-1 text-muted-foreground"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-minus size-4" aria-hidden="true"><path d="M5 12h14"></path></svg><span class="sr-only">Not included</span></span></td><td data-slot="table-cell" class="whitespace-nowrap p-3 align-middle text-center"><span class="inline-flex items-center gap-1 text-muted-foreground"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-minus size-4" aria-hidden="true"><path d="M5 12h14"></path></svg><span class="sr-only">Not included</span></span></td><td data-slot="table-cell" class="whitespace-nowrap p-3 align-middle text-center"><span class="inline-flex items-center gap-1 text-emerald-600 dark:text-emerald-400"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check size-4" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg><span class="sr-only">Included</span></span></td></tr><tr data-slot="table-row" class="border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted"><td data-slot="table-cell" class="whitespace-nowrap p-3 align-middle font-medium">Audit logs</td><td data-slot="table-cell" class="whitespace-nowrap p-3 align-middle text-center"><span class="inline-flex items-center gap-1 text-muted-foreground"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-minus size-4" aria-hidden="true"><path d="M5 12h14"></path></svg><span class="sr-only">Not included</span></span></td><td data-slot="table-cell" class="whitespace-nowrap p-3 align-middle text-center"><span class="inline-flex items-center gap-1 text-emerald-600 dark:text-emerald-400"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check size-4" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg><span class="sr-only">Included</span></span></td><td data-slot="table-cell" class="whitespace-nowrap p-3 align-middle text-center"><span class="inline-flex items-center gap-1 text-emerald-600 dark:text-emerald-400"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check size-4" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg><span class="sr-only">Included</span></span></td></tr></tbody></table></div></div><div class="px-6 pb-16"><div data-slot="faq-section" class="grid gap-6 mx-auto max-w-4xl"><div class="mx-auto max-w-2xl text-center"><h2 class="text-2xl font-semibold tracking-tight">Billing questions</h2></div><div class="mx-auto w-full max-w-3xl rounded-lg border px-5" data-orientation="vertical"><div data-state="closed" data-orientation="vertical" data-slot="accordion-item" class="border-b last:border-b-0"><h3 data-orientation="vertical" data-state="closed" class="flex"><button type="button" aria-expanded="false" data-state="closed" data-orientation="vertical" id="radix-_R_r_" data-slot="accordion-trigger" class="group flex flex-1 items-center justify-between gap-4 py-4 text-left text-sm font-medium outline-none transition-colors hover:text-foreground/80 focus-visible:ring-2 focus-visible:ring-ring" data-radix-collection-item="">Can I cancel anytime?<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down size-4 shrink-0 text-muted-foreground transition-transform duration-200 group-data-[state=open]:rotate-180" aria-hidden="true"><path d="m6 9 6 6 6-6"></path></svg></button></h3><div data-state="closed" id="radix-_R_2r_" hidden="" role="region" aria-labelledby="radix-_R_r_" data-orientation="vertical" data-slot="accordion-content" class="overflow-hidden data-[state=open]:animate-accordion-down data-[state=closed]:animate-accordion-up" style="--radix-accordion-content-height:var(--radix-collapsible-content-height);--radix-accordion-content-width:var(--radix-collapsible-content-width)"></div></div><div data-state="closed" data-orientation="vertical" data-slot="accordion-item" class="border-b last:border-b-0"><h3 data-orientation="vertical" data-state="closed" class="flex"><button type="button" aria-expanded="false" data-state="closed" data-orientation="vertical" id="radix-_R_1b_" data-slot="accordion-trigger" class="group flex flex-1 items-center justify-between gap-4 py-4 text-left text-sm font-medium outline-none transition-colors hover:text-foreground/80 focus-visible:ring-2 focus-visible:ring-ring" data-radix-collection-item="">Do you offer refunds?<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down size-4 shrink-0 text-muted-foreground transition-transform duration-200 group-data-[state=open]:rotate-180" aria-hidden="true"><path d="m6 9 6 6 6-6"></path></svg></button></h3><div data-state="closed" id="radix-_R_3b_" hidden="" role="region" aria-labelledby="radix-_R_1b_" data-orientation="vertical" data-slot="accordion-content" class="overflow-hidden data-[state=open]:animate-accordion-down data-[state=closed]:animate-accordion-up" style="--radix-accordion-content-height:var(--radix-collapsible-content-height);--radix-accordion-content-width:var(--radix-collapsible-content-width)"></div></div></div></div></div></div>
</template>

On this page