Card

Cards group information into flexible containers to let users to browse a collection of related items and actions. They show a taste of information and reveal more details upon interaction.

TypeResource
DesignFigma
WebWeb Storybook
CodeGitlab

Rabbit

PROMOTION

thumbnail
11 AM - 1 PM • Start your first trip in the outlined zone.

Usage

import { Card } from 'bio-bind-ui';
<Card
  action='REMIND ME'
  heading='Rabbit'
  id='card'
  mode='light'
  paragraph='11 AM - 1 PM • Start your first trip in the outlined zone.'
  subheading='PROMOTION'
  thumbnailImage={{
    alt: 'thumbnail',
    src: 'https://picsum.photos/id/11/400/200',
  }}
  type='stacked'
  variant='elevated'
/>

Examples

Variant

Variant of the card: outline, filled, and stacked

Rabbit

PROMOTION

thumbnail
11 AM - 1 PM • Start your first trip in the outlined zone.

Rabbit

PROMOTION

thumbnail
11 AM - 1 PM • Start your first trip in the outlined zone.

Rabbit

PROMOTION

thumbnail
11 AM - 1 PM • Start your first trip in the outlined zone.

Type

Type of the card: stacked and horizontal

Rabbit

PROMOTION

thumbnail
11 AM - 1 PM • Start your first trip in the outlined zone.

thumbnail
11 AM - 1 PM • Start your first trip in the outlined zone.

Mode (Optional)

Change color mode light or dark

thumbnail
11 AM - 1 PM • Start your first trip in the outlined zone.

Props

PropsRequiredDefaultTypedescription
typefalsehorizontalhorizontal stackedType of the card: stacked and horizontal.
variantfalseelevatedoutlined filled elevatedVariant of the card: outline, filled, and stacked.
idtruecardstringID for the card.
modefalselightlight darkChange color mode light or dark.
headingtrueheadingstringHeading of the card.
subheadingtruesubheadingstringSubheading of the card.
paragraphtrueparagraphstringParagraph of the card.
actiontrueactionstringParagraph of the card.
thumbnailImagetrue-thumbnailImageParagraph of the card.
headertrue-stringHeader of the card.
bodytrue-stringBody of the card.
footertrue-stringFooter of the card.
onClickActiontrue-() => voidFuntion onclick action.
radiustruexsnone xs sm md lg xlFor set the border radius.
styletrue-CSS PropertyFor styling costum css.
BIND © Biofarma Innovate Next-level Design .