Card
A container that groups related content and actions — from simple panels to image-rich product, article and profile cards.
$ pnpm dlx shadcn@latest add https://multidash-app.vercel.app/r/card.jsonInstallation
Add Card with the shadcn CLI, or copy the source by hand. In this repo there's nothing to install — import it from @multidash/ui.
$ pnpm dlx shadcn@latest add https://multidash-app.vercel.app/r/card.jsonAdds the component, the components it builds on, its npm packages and the theme tokens it uses. Using Multidash often? Add the registry to components.json once:
{
"registries": {
"@multidash": "https://multidash-app.vercel.app/r/{name}.json"
}
}Then add components by name:
$ pnpm dlx shadcn@latest add @multidash/cardUsage
import {
Card,
cardVariants,
CardHeader,
CardFooter,
CardTitle,
CardAction,
CardDescription,
CardContent,
} from "@multidash/ui/components/card"Examples
With header action
$8,900
+8.5% vs last month
Variants
default, bordered and shadow — set with the variant prop.
variant="default"variant="bordered"variant="shadow"Shadow depths
Combine the shadow variant with any Tailwind shadow utility, or lift the card on hover.
Article with cover image
Remove the top padding with pt-0 and let the image bleed to the edges with overflow-hidden.
Product
Badge and wishlist button positioned over the image.
Cameras
Retro 35mm Film Camera
Horizontal
Image beside the content from the sm breakpoint; stacked on mobile.
Norway Fjords Hiking Trip
Five days of guided hikes, cabin stays and boat tours through the western fjords.
- Bergen, Norway
- 12 – 17 June 2027
- 8 of 12 spots left
$1,240 / person
Image overlay
A gradient keeps text readable on top of any photo.
New collection
Explore the wild side of the Pacific Northwest
Curated trails, waterfalls and campsites for your next weekend.
Profile with cover
A negative margin pulls the avatar up over the cover image.
Sofia Davis
Product Designer at Multidash
Jakarta, Indonesia
- Projects
- 48
- Followers
- 12.4K
- Following
- 312