Card

A common container component.

General

The basic Card usage.

Hoverable

You can apply a fancy hover animation with the hoverable prop.

Bordered

You can apply a fancy hover animation with the bordered prop.

Shadow

You can apply shadow with the shadow prop.

Types

Show different states with colors.

You can use the Card.Footer component to add actions, details or another information to the Card.

With Image

You can use the Image component to add an image to the Card.

With Divider

Show different types of content using Divider.

APIs

Card.Props

AttributeDescriptionTypeAccepted valuesDefault
hoverableadd effect on hoverboolean-false
shadowshow shadowboolean-false
typecard typeCardType-default
...native propsHTMLAttributes'id', className', ...-

Card.Content.Props[alias: Card.Body]

AttributeDescriptionTypeAccepted valuesDefault
...native propsHTMLAttributes'id', className', ...-

Card.Footer.Props[alias: Card.Actions]

AttributeDescriptionTypeAccepted valuesDefault
disableAutoMargincancel automatic margin valueboolean-false
...native propsHTMLAttributes'id', className', ...-

CardType

type CardType =
  | 'default'
  | 'primary'
  | 'secondary'
  | 'success'
  | 'warning'
  | 'error'
  | 'info'
  | 'dark'
  | 'lite'
Edit this page on GitHub

Previous

Capacity

Next

Checkbox

MADE & DESIGNED WITHBY BRUNO ANDRADE
docs background gradient blue
docs background gradient violet