Downgrade Warning

Tailwind plan downgrade warning card with an amber border, a summary of what gets locked on the free plan, and Keep plan or Downgrade buttons.

src/registry/ui/downgrade-warning.tsx/r/downgrade-warning.json

Installation#

bash
npx shadcn@latest add @minidev/downgrade-warning

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/downgrade-warning.json

Usage#

tsx
import { DowngradeWarning } from "@/components/ui/downgrade-warning"

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

API reference#

DowngradeWarning props
PropTypeDefault
classNamestring-

Dependencies#

npm

React only

Built from

All pricing and billing components

Learn more