TidalUI

Pricing card preview

Plan pricing, features and billing options.

pro · Marketing · composite

When to use

Alternatives

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

Installation

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

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

Preview

Pricing card component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/pricing-card.css";
import{TidalPricingCard}from"./components/ui/pricing-card";
export default()=><div className="tidal-scope"><TidalPricingCard cta={"value"} description={"Demo"} features={["value"]} name={"Demo"} onChoose={() => {}} price={"value"}/></div>;

API and props

TidalPricingCard.cta (required)
string

Required cta value accepted by this exported component.

TidalPricingCard.description (required)
string

Required description value accepted by this exported component.

TidalPricingCard.features (required)
Array<string>

Required features value accepted by this exported component.

TidalPricingCard.name (required)
string

Required name value accepted by this exported component.

TidalPricingCard.onChoose (required)
() => void

Callback invoked when the choose interaction is proposed.

TidalPricingCard.price (required)
string

Required price value accepted by this exported component.

TidalPricingCard.badge
string | undefined

Optional badge value accepted by this exported component.

TidalPricingCard.className
string | undefined

Optional class name value accepted by this exported component.

TidalPricingCard.disabled
boolean | undefined

Optional disabled value accepted by this exported component.

TidalPricingCard.featured
boolean | undefined

Optional featured value accepted by this exported component.

TidalPricingCard.href
string | undefined

Use a link when the action navigates, including without JavaScript.

TidalPricingCard.loading
boolean | undefined

Optional loading value accepted by this exported component.

TidalPricingCard.note
string | undefined

Optional note value accepted by this exported component.

TidalPricingCard.period
string | undefined

Optional period value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas