Skip to content
nexubDesign System
v11.9.0

Patterns · Marketing

PricingTable

Since v3.1.0

Plans side by side with a monthly / yearly switch, built on PlanCard and SegmentedControl. Client component.

import { PricingTable } from '@nexub/marketing';
View as Markdown

Examples

Default

Simple pricing

Save two months with yearly billing.

  • Starter

    $29/month
    • Up to 10 people
    • Payroll
    • Email support
    Start free
  • Most popular

    Growth

    $79/month
    • Up to 100 people
    • Payroll and HR
    • Bookkeeping
    Start free
  • Scale

    $199/month
    • Unlimited people
    • All products
    • Dedicated manager
    Talk to sales

Props

Props
PropTypeDefaultDescription
plansrequiredPricingPlan[]—Each plan: name, price: { monthly, yearly } per month, features, cta, and href or onSelect; highlighted and badge optional.
currencyrequiredstring—ISO 4217 code.
localestring—BCP 47 locale for the prices.
defaultPeriod'monthly' | 'yearly''monthly'Billing period shown first.
periodLabelsRecord<BillingPeriod, string>{ monthly: 'Monthly', yearly: 'Yearly' }Labels of the switch.
perMonthLabelstring'/month'Shown after each price.
headerReact.ReactNode—A SectionHeader, usually.
billingLabelstring'Billing period'Accessible name of the billing switch.

On iOS & Android