Card

A common container component.

General

The basic Card usage.

Preview
See code
A default card.

Hoverable

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

Preview
See code
A hoverable default card.
A hoverable primary card.
A hoverable secondary card.

Bordered

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

Preview
See code
A bordered default card.
A bordered primary card.
A bordered secondary card.

Shadow

You can apply shadow with the shadow prop.

Preview
See code
A shadow default card.
A shadow primary card.
A shadow secondary card.

Types

Show different states with colors.

Preview
See code

default

default

primary

primary

secondary

secondary

success

success

warning

warning

error

error

info

info

dark

dark

lite

lite

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

Preview
See code

Bolio UI

More creative and fun with amazing features for React.

Bolio UI

More creative and fun with amazing features for React.

With Image

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

Preview
See code

Bolio UI

More creative and fun with amazing features for React.

With Divider

Show different types of content using Divider.

Preview
See code
A Simple Component

React components implement a render() method that takes input data and returns what to display. This example uses an XML-like syntax called JSX. Input data that is passed into the component can be accessed by render() via this.props.

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