Morph Price

Motion

A price display with a monthly or yearly toggle where the old amount springs out and the new price springs in. A compact pricing interaction for plan cards.

src/registry/premium/morph-price.tsx/r/morph-price.json

Save 20% with yearly

$39/ seat

Billed yearly · save 20%

Price

Installation#

bash
npx shadcn@latest add @minidev/morph-price

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/morph-price.json

Usage#

tsx
import { MorphPrice } from "@/components/ui/morph-price"

export function Example() {
  return (
    <MorphPrice />
  )
}

API reference#

MorphPrice props
PropTypeDefault
classNamestring-

Dependencies#

npm

motion

Built from

Examples#

All pricing and billing components