Explore Templates

Card

Bootstrap's cards provide a flexible and extensible content container with multiple variants and options.

Card basic

Cards are built with as little markup and styles as possible, but still manage to deliver a ton of control and customization.

Card Img Cap
Card Title
Card subtitle

Some quick example text to build on the card title and make up the bulk of the card's content.

Card types

oggle a working modal demo by clicking the button below. It will slide down and fade in from the top of the page.

Card Img Cap
Card Title
Card subtitle

Some quick example text to build on the card title and make up the bulk of the card's content.

Card Img Cap
Card Title
Card subtitle

Some quick example text to build on the card title and make up the bulk of the card's content.

Card Img Cap
Card Title
Card subtitle

Some quick example text to build on the card title and make up the bulk of the card's content.

Header and Footer

You may add a header and footer by adding a <Card.Header> and <Card.Footer> component.

Card Header
Special title treatment

With supporting text below as a natural lead-in to additional content.

Titles, text, and links

Using <Card.Title>, <Card.Subtitle>, and <Card.Text> inside the <Card.Body> will line them up nicely. <Card.Link>s are used to line up links next to each other.

Card Title
Card Subtitle

Some quick example text to build on the card title and make up the bulk of the card's content.

Card LinkAnother Link
Kitchen sink

Mix and match multiple content types to create the card you need, or throw everything in there.Shown below are image styles, blocks, text styles, and a list group—all wrapped in a fixed-width card.

Card Title

Some quick example text to build on the card title and make up the bulk of the card's content.

Cras justo odio
Dapibus ac facilisis in
Vestibulum at eros
Image overlays

Turn an image into a card background and overlay your card’s text. Depending on the image, you may or may not need additional styles or utilities.

Card image
Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Last updated 3 mins ago

Horizontal

Using a combination of grid and utility classes, cards can be made horizontal in a mobile-friendly and responsive way.

Card img
Card title

This is a wider card with supporting text.

Card sizes

Use classes .card-lg, card-sm for sizes.

Card lg
Card subtitle

Some quick example text to build on the card title and make up the bulk of the card's content.

Card lg
Card subtitle

Some quick example text to build on the card title and make up the bulk of the card's content.

Navigation

Add some navigation to a card’s header (or block) with React Bootstrap’s Nav components.

Card with Nav Tabs

With supporting text below as a natural lead-in to additional content.

Card Groups

Use <CardGroup> to render cards as a single, attached element with equal width and height columns. <CardGroup> use display: flex; to achieve their uniform sizing.

Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Card title

This card has supporting text below as a natural lead-in to additional content.

Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.

Background and color

You can change a card's appearance by changing their bg props.

Header
Primary Card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Secondary Card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Success Card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Danger Card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Warning Card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Info Card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Light Card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Dark Card

Some quick example text to build on the card title and make up the bulk of the card's content.

Border

Use border utilities to change just the border-color of a card. Note that you can put .text-{color} classes on the parent .card or a subset of the card's contents as shown below.

Header
Primary Card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Secondary Card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Success Card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Danger Card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Warning Card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Info Card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Light Card

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Dark Card

Some quick example text to build on the card title and make up the bulk of the card's content.

Card with action

Add as many actions in a card header. Add .card-header-action in .card-header. Given actions are for fullscreen, refresh, close, collapse and dropdown.

Card Header
Special Title Treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
Card Header
Special Title Treatment

With supporting text below as a natural lead-in to additional content.

Action in Card Body

Instead of card header you can also add close action inside card-body.

Special Title Treatment

With supporting text below as a natural lead-in to additional content.

Special Title Treatment

With supporting text below as a natural lead-in to additional content.

Card with Indicators

Use badges and badge indicators with cards.

Card Header
Special Title Treatment

With supporting text below as a natural lead-in to additional content.

Card Header
Special Title Treatment

With supporting text below as a natural lead-in to additional content.

10
Card Header
Special Title Treatment

With supporting text below as a natural lead-in to additional content.

Card with table

Use tables inside cards

Card with table
#UsernameRole
1Brincker123admin
2Hay123member
Card with icons

Use icons with card header.

Jampack heading

Some quick example text to build on the card title and make up the bulk of the card's content.

Card with badge

Use badges in card header.

Card with badge
badge

Some quick example text to build on the card title and make up the bulk of the card's content.

Card with headings

Mix and match headings in cards.

Card Header

With supporting text below as a natural

Special Title Treatment

With supporting text below as a natural lead-in to additional content.

Card with iconsub heading

Some quick example text to build on the card title and make up the bulk of the card's content.

Card with progress bar

Use progress bars with cards.

Special title treatment

With supporting text below as a natural lead-in to additional content.

Special title treatment

With supporting text below as a natural lead-in to additional content.

Special title treatment

With supporting text below as a natural lead-in to additional content.

Card with line

Check the cards with line stylization.

Special title treatment

With supporting text below as a natural lead-in to additional content.

Special title treatment

With supporting text below as a natural lead-in to additional content.

Special title treatment

With supporting text below as a natural lead-in to additional content.

Card with Image Carousel

A card can have carousel within image parent.

Some quick example text to build on the card title and make up the bulk of the card's content.