Skip to contentFacade Pro is $149 once during launch, then $199. Lifetime updates.
Facade
Browse the library

Components / Forms

Price toggle

Free

Monthly or yearly segmented switch with a sliding thumb, plus an animated price that rolls its digits.

Installation

$npx shadcn@latest add https://facadeui.com/r/price-toggle.json

Usage

import { PriceToggle } from "@/components/facade/price-toggle";

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

Props

PriceToggleProps is exported, so you can extend or wrap it. Every prop has a default; <PriceToggle /> renders the example above.

Props of PriceToggle
PropTypeDescription
valueBillingPeriod
defaultValueBillingPeriod
onChange(value: BillingPeriod) => void
badgestring | nullBadge next to the yearly option. Set to null to hide.
labels{ monthly: string; yearly: string }
classNamestring

Ask your agent

With the Facade MCP server connected, this prompt is enough:

Add the Facade price toggle to this page and adapt the copy to our business.