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.
A collection of UI components built on shadcn/ui for React and Next.js. Custom shadcn/ui components are also available.
A customizable text shimmer animation component built for React, NextJs, and Tailwind CSS.
Last Update: 17 May 2026 at 11:34 AM