--- title: Card desc: Cards are used to group and display content in a way that is easily readable. source: https://raw.githubusercontent.com/saadeghi/daisyui/refs/heads/master/packages/daisyui/src/components/card.css layout: components classnames: component: - class: card desc: Card part: - class: card-title desc: Title part - class: card-body desc: Body part (content) - class: card-actions desc: Actions part (buttons, etc.) style: - class: card-border desc: Adds border to - class: card-dash desc: dash style modifier: - class: card-side desc: The image in
will be on to the side - class: image-full desc: The image in
element will be the background size: - class: card-xs desc: Extra small size - class: card-sm desc: Small size - class: card-md desc: Medium size (default) - class: card-lg desc: Large size - class: card-xl desc: Extra large size --- ### ~Card
Shoes

Card Title

A card component has a figure, a body part, and inside body there are title and actions parts

```html
Shoes

Card Title

A card component has a figure, a body part, and inside body there are title and actions parts

``` ### ~Pricing Card
Most Popular

Premium

$29/mo
  • High-resolution image generation
  • Customizable style templates
  • Batch processing capabilities
  • AI-driven image enhancements
  • Seamless cloud integration
  • Real-time collaboration tools
```html
Most Popular

Premium

$29/mo
  • High-resolution image generation
  • Customizable style templates
  • Batch processing capabilities
  • AI-driven image enhancements
  • Seamless cloud integration
  • Real-time collaboration tools
``` ### ~Card sizes

Xsmall Card

A card component has a figure, a body part, and inside body there are title and actions parts

Small Card

A card component has a figure, a body part, and inside body there are title and actions parts

Medium Card

A card component has a figure, a body part, and inside body there are title and actions parts

Large Card

A card component has a figure, a body part, and inside body there are title and actions parts

Xlarge Card

A card component has a figure, a body part, and inside body there are title and actions parts

```html

Xsmall Card

A card component has a figure, a body part, and inside body there are title and actions parts

Small Card

A card component has a figure, a body part, and inside body there are title and actions parts

Medium Card

A card component has a figure, a body part, and inside body there are title and actions parts

Large Card

A card component has a figure, a body part, and inside body there are title and actions parts

Xlarge Card

A card component has a figure, a body part, and inside body there are title and actions parts

``` ### ~Card with a card-border

Card Title

A card component has a figure, a body part, and inside body there are title and actions parts

```html

Card Title

A card component has a figure, a body part, and inside body there are title and actions parts

``` ### ~Card with a dash border

Card Title

A card component has a figure, a body part, and inside body there are title and actions parts

```html

Card Title

A card component has a figure, a body part, and inside body there are title and actions parts

``` ### ~Card with badge
Shoes

Card Title
NEW

A card component has a figure, a body part, and inside body there are title and actions parts

Fashion
Products
```html
Shoes

Card Title
NEW

A card component has a figure, a body part, and inside body there are title and actions parts

Fashion
Products
``` ### ~Card with bottom image

Card Title

A card component has a figure, a body part, and inside body there are title and actions parts

Shoes
```html

Card Title

A card component has a figure, a body part, and inside body there are title and actions parts

Shoes
``` ### ~Card with centered content and paddings
Shoes

Card Title

A card component has a figure, a body part, and inside body there are title and actions parts

```html
Shoes

Card Title

A card component has a figure, a body part, and inside body there are title and actions parts

``` ### ~Card with image overlay
Shoes

Card Title

A card component has a figure, a body part, and inside body there are title and actions parts

```html
Shoes

Card Title

A card component has a figure, a body part, and inside body there are title and actions parts

``` ### ~Card with no image

Card title!

A card component has a figure, a body part, and inside body there are title and actions parts

```html

Card title!

A card component has a figure, a body part, and inside body there are title and actions parts

``` ### ~Card with custom color

Card title!

A card component has a figure, a body part, and inside body there are title and actions parts

```html

Card title!

A card component has a figure, a body part, and inside body there are title and actions parts

``` ### ~Centered card with neutral color

Cookies!

We are using cookies for no reason.

```html

Cookies!

We are using cookies for no reason.

``` ### ~Card with action on top

We are using cookies for no reason.

```html

We are using cookies for no reason.

``` ### ~Card with image on side
Movie

New movie is released!

Click the button to watch on Jetflix app.

```html
Movie

New movie is released!

Click the button to watch on Jetflix app.

``` ### ~Responsive card (vertical on small screen, horizontal on large screen)
Album

New album is released!

Click the button to listen on Spotiwhy app.

```html
Album

New album is released!

Click the button to listen on Spotiwhy app.

```