SaaS Pricing Cards Component
Every pricing card listed here is either built with the Cards component by shadcn/ui, with plain TSX and Tailwind CSS, or both.
Besides that, other components of shadcn/ui are also used, and each of them needs a bit of customization.
NOTE: Every component that uses shadcn/ui shall adapt to the project's theme.
1. Inverted Pricing Card
As the name suggests, this card uses inverted color scheme (i.e, --foreground is used for backgrounds and --background is used for texts) for some part of the component.
Components Used
The following shadcn/ui components are used, and some of them are customized.
-
Card & Hover Card
The Card and Hover Card by shadcn/ui needs no further customization once added. -
Button
Add extra variant to the button component of shadcn/ui to standout from the inverted background.button.tsx default: "bg-background text-foreground hover:bg-background/80", -
Badge
Add this extra variant to the badge component of shadcn/ui.button.tsx inverted: "bg-foreground text-background [a]:hover:bg-foreground/80",
For the icons, import relevant icons from the icon library of the project.
Custom React Component to create decorative grid and dot backgrounds. Built with TSX and Tailwind CSS for shadcn/ui and Next.js projects.
Every newsletter form design to capture email. Built with Tanstack form and shadcn/ui components. All logics written.
Last Update: 17 May 2026 at 11:34 AM