Card
Flexible content container. Supports images, actions, layouts, and style
variants via DaisyUI's card classes.
Basic
Title + body text + actions in the default slot.
Style variants
default (shadow), bordered, dash, glass.
Compact
size="compact" reduces padding for denser layouts.
Card with image
Pass imageSrc to render a <figure> above the body.
Side layout
layout="side" places the image to the left of the body.
Image overlay
imageOverlay adds image-full — text renders over the image.
Colored backgrounds
Use bg and textColor props (or Tailwind classes) to tint cards.
Title with badge
Slot a Badge next to the title using the title prop
and a custom heading in the default slot.
Action alignment
justify-end, justify-center, justify-between
on the card-actions wrapper.
Card grid
Responsive grid of cards — common product / article layout.