TidalUI

Pricing section preview

A responsive SaaS plan comparison section with explicit consumer-owned prices, billing options and native actions.

pro · Marketing · section

When to use

Alternatives

Configure components.json and the @tidal-pro namespace before installing Pro components.

Installation

npx shadcn@latest add @tidal-pro/pricing-section

Import components/ui/tidal.css, components/ui/pricing-section.css. Wrap installed components in tidal-scope.

Preview

Pricing section component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/pricing-section.css";
import{TidalPricingSection}from"./components/ui/pricing-section";
export default(p:Parameters<typeof TidalPricingSection>[0])=><div className="tidal-scope"><TidalPricingSection {...p}/></div>;

API and props

TidalPricingSection.billingOptions (required)
ReadonlyArray<TidalPricingBillingOption>

Required billing options value accepted by this exported component.

TidalPricingSection.plans (required)
ReadonlyArray<TidalPricingPlan>

Required plans value accepted by this exported component.

TidalPricingSection.title (required)
string

Required title value accepted by this exported component.

TidalPricingSection.billing
string | undefined

Optional billing value accepted by this exported component.

TidalPricingSection.defaultBilling
string | undefined

Optional default billing value accepted by this exported component.

TidalPricingSection.defaultSelectedPlanId
string | null | undefined

Optional default selected plan id value accepted by this exported component.

TidalPricingSection.description
string | undefined

Optional description value accepted by this exported component.

TidalPricingSection.eyebrow
string | undefined

Optional eyebrow value accepted by this exported component.

TidalPricingSection.onBillingChange
((billing: TidalPricingBillingOption) => void) | undefined

Callback invoked when the billing change interaction is proposed.

TidalPricingSection.onPlanSelect
((plan: TidalPricingPlan, billing: TidalPricingBillingOption) => void) | undefined

Callback invoked when the plan select interaction is proposed.

TidalPricingSection.onSelectedPlanChange
((plan: TidalPricingPlan) => void) | undefined

Callback invoked when the selected plan change interaction is proposed.

TidalPricingSection.selectedPlanId
string | null | undefined

Optional selected plan id value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas