Block Parts
Price
A price with an optional billing period, a crossed-out old price and a savings badge.
Usage
$39/ seat / month
$489$599
$24.00
Installation
npm install @wunderui/reactThen import what you need:
import { Price, PriceProps } from "@wunderui/react"API Reference
| Prop | Type | Default |
|---|---|---|
| amount | ReactNode | — |
| period | ReactNode | — |
| compareAt | ReactNode | — |
| badge | ReactNode | — |
| size | "sm" | "md" | "lg" | "lg" with a period, else "sm" |
| className | string | — |