Home Components Card
React Card Components
15 free React cards built with Tailwind CSS and shadcn/ui conventions. Copy the code or install with the shadcn CLI. Great for product, pricing, profile, and stat cards.
Card 1 : Sign-in card with work email and access code fields, a reset link and an email link option.Card 2 : Meeting notes card with a numbered action list and overlapping collaborator avatars that show names on hover.Card 3 : Team card listing members with avatars and roles in a two-column grid, plus an invite teammate tile.Card 4 : Image card with the title and description placed above a rounded 4:3 photo.Card 5 : Media card with a full-bleed image on top and View Details and Save Reference buttons below.Card 6 : Horizontal media card with the image on the left and text with a single action on the right.Card 7 : Image card with the title and description overlaid on a dark gradient at the bottom of the photo.Card 8 : Plain text card with a title and body copy on a light sky blue background.Card 9 : Square-cornered text card with a sky blue border, a sky blue title and a heavy drop shadow.Card 10 : Card with Overview, Activity and Files tabs that swap the text content shown inside it.Card 11 : Social post card with a verified author, square photo, toggleable like, comment, share, save and hashtags.Card 12 : Product card with a shoe image, heart favourite toggle, size and colour badges, price and Add to cart.Card 13 : Testimonial card with a dash-boxed highlighted phrase, author avatar and handle, and a five-star rating.Card 14 : Dismissible promo card with a sparkle icon, centred message and a Book a review button.Card 15 : Row of three joined gallery cards with wide images that stack vertically on smaller screens.
About React Card Components A React card is a bordered container that groups related content, like a product, a stat, a profile, or a form. Watermelon UI cards are plain React components styled with Tailwind CSS, with CardHeader, CardTitle, CardDescription, CardAction, CardContent, and CardFooter slots. Add one with the shadcn CLI, then fill the slots with your content.
When to use it Pricing plans and product tiles laid out in a grid. Dashboard stat blocks and small charts. Login, sign-up, or settings forms that need a clear boundary. When to use something else Use Table when many items share the same fields and need to be compared row by row. Use Dialog when the content should appear on top of the page only when asked for. Use Collapsible when the grouped content should start hidden. Frequently asked questions How do I make a whole shadcn card clickable? Wrap the Card in a link, or put a link in the title and stretch it with an absolutely positioned pseudo-element. The second option keeps other buttons inside the card clickable.
How do I put a button in the card header? Place it inside CardAction within CardHeader. The header grid moves it to the top-right corner next to the title.
How do I make cards the same height in a grid? Use a CSS grid for the row and give each card h-full. Put the footer last with mt-auto so buttons line up across cards.
How do I remove the border or add a shadow to a shadcn card? Pass className="ring-0", because the card draws its outline with ring-1 ring-foreground/10 rather than a border. It ships without a shadow, so add a class like shadow-md if you want one.
How to use React Card Components Start from a React project with Tailwind CSS and shadcn/ui set up. Next.js, Vite, Remix, and Astro all work. Run npx shadcn@latest add https://registry.watermelon.sh/r/card-1.json to add the source files to your project. Import it where you need it, then edit the Tailwind classes and design tokens to match your product. Dependencies installed with it: lucide-react.
The code is yours: it lives in your repository, so there is no runtime package to keep updated. Watermelon UI is free and open source under the MIT license.
More: Free React components , UI library alternatives , guides .