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.
Cards include a few options for working with images. Choose from
appending “image caps” at either end of a card, overlaying images with
card content, or simply embedding the image in a card.
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.
<CardGroup>
<Card>
<Card.Imgvariant="top"src="holder.js/100px160"/>
<Card.Body>
<Card.Title>Card title</Card.Title>
<Card.Text>
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.Text>
</Card.Body>
<Card.Footer>
<smallclassName="text-muted">Last updated 3 mins ago</small>
</Card.Footer>
</Card>
<Card>
<Card.Imgvariant="top"src="holder.js/100px160"/>
<Card.Body>
<Card.Title>Card title</Card.Title>
<Card.Text>
This card has supporting text below as a natural lead-in to additional
content.{' '}
</Card.Text>
</Card.Body>
<Card.Footer>
<smallclassName="text-muted">Last updated 3 mins ago</small>
</Card.Footer>
</Card>
<Card>
<Card.Imgvariant="top"src="holder.js/100px160"/>
<Card.Body>
<Card.Title>Card title</Card.Title>
<Card.Text>
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.
</Card.Text>
</Card.Body>
<Card.Footer>
<smallclassName="text-muted">Last updated 3 mins ago</small>
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.
<CardDeck>
<Card>
<Card.Imgvariant="top"src="holder.js/100px160"/>
<Card.Body>
<Card.Title>Card title</Card.Title>
<Card.Text>
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.Text>
</Card.Body>
<Card.Footer>
<smallclassName="text-muted">Last updated 3 mins ago</small>
</Card.Footer>
</Card>
<Card>
<Card.Imgvariant="top"src="holder.js/100px160"/>
<Card.Body>
<Card.Title>Card title</Card.Title>
<Card.Text>
This card has supporting text below as a natural lead-in to additional
content.{' '}
</Card.Text>
</Card.Body>
<Card.Footer>
<smallclassName="text-muted">Last updated 3 mins ago</small>
</Card.Footer>
</Card>
<Card>
<Card.Imgvariant="top"src="holder.js/100px160"/>
<Card.Body>
<Card.Title>Card title</Card.Title>
<Card.Text>
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.
</Card.Text>
</Card.Body>
<Card.Footer>
<smallclassName="text-muted">Last updated 3 mins ago</small>
This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Card title
This card has supporting text below as a natural lead-in to additional content.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Card title
This card has supporting text below as a natural lead-in to additional content.
Last updated 3 mins ago
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
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.
Last updated 3 mins ago
<CardColumns>
<Card>
<Card.Imgvariant="top"src="holder.js/100px160"/>
<Card.Body>
<Card.Title>Card title that wraps to a newline</Card.Title>
<Card.Text>
This is a longer card with supporting text below as a natural lead-in to
additional content. This content is a little bit longer.
</Card.Text>
</Card.Body>
</Card>
<CardclassName="p-3">
<blockquoteclassName="blockquote mb-0 card-body">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere
erat a ante.
</p>
<footerclassName="blockquote-footer">
<smallclassName="text-muted">
Someone famous in<citetitle="Source Title">Source Title</cite>
</small>
</footer>
</blockquote>
</Card>
<Card>
<Card.Imgvariant="top"src="holder.js/100px160"/>
<Card.Body>
<Card.Title>Card title</Card.Title>
<Card.Text>
This card has supporting text below as a natural lead-in to additional
content.{' '}
</Card.Text>
</Card.Body>
<Card.Footer>
<smallclassName="text-muted">Last updated 3 mins ago</small>
Change the underlying component CSS base class name and modifier class names prefix. This is an escape hatch for working with heavily customized bootstrap css.
You can use a custom element type for this component.
bsPrefix required
string
'card-body'
Change the underlying component CSS base class name and modifier class names prefix. This is an escape hatch for working with heavily customized bootstrap css.
You can use a custom element type for this component.
variant
'top' | 'bottom'
null
Defines image position inside
the card.
bsPrefix
string
'card-img'
Change the underlying component CSS base class name and modifier class names prefix. This is an escape hatch for working with heavily customized bootstrap css.
You can use a custom element type for this component.
bsPrefix required
string
'card-img-overlay'
Change the underlying component CSS base class name and modifier class names prefix. This is an escape hatch for working with heavily customized bootstrap css.
You can use a custom element type for this component.
bsPrefix required
string
'card-deck'
Change the underlying component CSS base class name and modifier class names prefix. This is an escape hatch for working with heavily customized bootstrap css.
You can use a custom element type for this component.
bsPrefix required
string
'card-group'
Change the underlying component CSS base class name and modifier class names prefix. This is an escape hatch for working with heavily customized bootstrap css.