Pricing Tiers

Three plans with a monthly/yearly switch; the featured plan has a travelling border beam.

Built withBorder BeamFill ButtonSegmented Control
Open

Installation

Installs the block and every component it uses.

npx shadcn@latest add https://ombakui.com/r/pricing-tiers.json

Usage

Every prop has a default, so it renders as shown. Pass your own copy and links.

import { PricingTiers } from "@/components/pricing-tiers";

export default function Page() {
  return <PricingTiers />;
}

Props

PropTypeDefaultDescription
eyebrowstring–
titlestring–
plansPlan[]–
currencystring–Currency symbol shown before prices.
onSelect(plan: string) => void–Called with the plan name when a button is pressed.
classNamestring–