We couldn’t find anything that matched your searched term
PAGES
COMPONENTS
Brand guidelines
Insights
Cards are pieces of elements that serve editorial content. They can be used in several ways and work with strong visual content.
This is the simplest card component, it does not contain a description and only displays a title, a date and a super-title.
21/03/2021
<div class="card" style="width: 288px;"> <img src="..." alt="..." /> <div class="card-body pt-4"> <h3 class="card-subtitle text-secondary">subhead</h3> <h2 class="card-title">This is the card title</h2> <p class="h4 text-muted card-text">21/03/2021</p> </div> </div>
<div class="card" style="max-width: 440px;"> <div class="row g-0"> <div class="col-auto"> <img src="..." alt="..." /> </div> <div class="col"> <div class="card-body py-0 ps-4"> <h3 class="card-subtitle text-secondary">subhead</h3> <h2 class="card-title">This is the card title</h2> <p class="h4 text-muted card-text">21/03/2021</p> </div> </div> </div> </div>
<div class="card" style="max-width: 440px;"> <div class="row g-0"> <div class="col"> <div class="card-body py-0 pe-4"> <h3 class="card-subtitle text-secondary">subhead</h3> <h2 class="card-title">This is the card title</h2> <p class="h4 text-muted card-text">21/03/2021</p> </div> </div> <div class="col-auto"> <img src="..." alt="..." /> </div> </div> </div>
The advanced version adds a description to the card, a link (which can also become a button).
Some quick example text to build on the card title and make up the bulk of the content f the card.
<div class="card"> <img src="..." alt="..."> <div class="card-body pt-4"> <h3 class="card-subtitle text-secondary">subhead <span class="text-muted">- 21/03/2021</span></h3> <h2 class="card-title">This is the card title</h2> <p class="card-text">Some quick example text to build on the card title and make up the bulk of the content of the card.</p> <a href="#" class="card-link btn btn-link-secondary text-nowrap"> secondary link <i class="icon-east ms-1"></i> </a> </div> </div>
Some quick example text to build on the card title and make up the bulk of the content of the card.
<div class="card"> <div class="row g-0"> <div class="col-auto"> <img src="..." alt="..."> </div> <div class="col"> <div class="card-body py-0 ps-4"> <h3 class="card-subtitle text-secondary">subhead <span class="text-muted">- 21/03/2021</span></h3> <h2 class="card-title">This is the card title</h2> <p class="card-text">Some quick example text to build on the card title and make up the bulk of the content of the card.</p> <a href="#" class="card-link btn btn-link-secondary text-nowrap"> secondary link <i class="icon-east ms-1"></i> </a> </div> </div> </div> </div>
<div class="card"> <div class="row g-0"> <div class="col"> <div class="card-body py-0 pe-4"> <h3 class="card-subtitle text-secondary"> subhead <span class="text-muted">- 21/03/2021</span> </h3> <h2 class="card-title">This is the card title</h2> <p class="card-text"> Some quick example text to build on the card title and make up the bulk of the content of the card. </p> <a href="#" class="card-link btn btn-link-secondary text-nowrap"> secondary link <i class="icon-east ms-1"></i> </a> </div> </div> <div class="col-auto"> <img src="..." alt="..." /> </div> </div> </div>
The "highlight" version uses Publico title levels and can take more prominence in your content stream.
This is the card title
secondary link
<div class="card"> <img src="..." alt="..." /> <div class="card-body pt-4"> <h3 class="card-subtitle text-secondary"> subhead <span class="text-muted">- 21/03/2021</span> </h3> <p class="card-title display-5">This is the card title</p> <p class="card-text"> Some quick example text to build on the card title and make up the bulk of the content of the card. </p> <p><a href="#" class="btn btn-secondary">secondary link</a></p> <p><a href="#" class="btn btn-outline-secondary">secondary link</a></p> </div> </div>
<div class="card"> <div class="row g-0"> <div class="col-auto"> <img src="..." alt="..." /> </div> <div class="col"> <div class="card-body py-0 ps-4"> <h3 class="card-subtitle text-secondary"> subhead <span class="text-muted">- 21/03/2021</span> </h3> <p class="card-title display-5">This is the card title</p> <p class="card-text"> Some quick example text to build on the card title and make up the bulk of the content of the card. </p> <p><a href="#" class="btn btn-secondary">secondary link</a></p> <p><a href="#" class="btn btn-outline-secondary">secondary link</a></p> </div> </div> </div> </div>
<div class="card"> <div class="row g-0"> <div class="col"> <div class="card-body py-0 pe-4"> <h3 class="card-subtitle text-secondary"> subhead <span class="text-muted">- 21/03/2021</span> </h3> <p class="card-title display-5">This is the card title</p> <p class="card-text"> Some quick example text to build on the card title and make up the bulk of the content of the card. </p> <p><a href="#" class="btn btn-secondary">secondary link</a></p> <p><a href="#" class="btn btn-outline-secondary">secondary link</a></p> </div> </div> <div class="col-auto"> <img src="..." alt="..." /> </div> </div> </div>
<div class="card"> <img src="..." alt="..." /> <div class="card-body pt-4"> <h3 class="card-subtitle"> subhead <span class="text-muted">- 21/03/2021</span> </h3> <p class="card-title display-5">This is the card title</p> <p class="card-text"> Some quick example text to build on the card title and make up the bulk of the content of the card. </p> <a href="#" class="card-link btn btn-link-secondary text-nowrap"> secondary link <i class="icon-east ms-1"></i> </a> </div> </div>
<div class="card"> <div class="row g-0"> <div class="col-auto"> <img src="..." alt="..." /> </div> <div class="col"> <div class="card-body py-0 ps-4"> <h3 class="card-subtitle text-secondary"> subhead <span class="text-muted">- 21/03/2021</span> </h3> <p class="card-title display-5">This is the card title</p> <p class="card-text"> Some quick example text to build on the card title and make up the bulk of the content of the card. </p> <a href="#" class="card-link btn btn-link-secondary text-nowrap"> secondary link <i class="icon-east ms-1"></i> </a> </div> </div> </div> </div>
<div class="card"> <div class="row g-0"> <div class="col"> <div class="card-body py-0 pe-4"> <h3 class="card-subtitle text-secondary"> subhead <span class="text-muted">- 21/03/2021</span> </h3> <p class="card-title display-5">This is the card title</p> <p class="card-text"> Some quick example text to build on the card title and make up the bulk of the content of the card. </p> <a href="#" class="card-link btn btn-link-secondary text-nowrap"> secondary link <img src="..." alt="..." /> </a> </div> </div> <div class="col-auto"> <img src="..." alt="..." /> </div> </div> </div>
This alternative integrates the title, super-title, date, description and call to action elements directly into the image overlay. Don't forget to check the contrast level to maintain a good level of accessibility.
light button
<div class="card text-white"> <img class="card-img" src="..." alt="..." /> <div class="card-img-mask"></div> <div class="card-img-overlay"> <h3 class="card-subtitle">subhead - 21/03/2021</h3> <p class="card-title display-5">This is the card title</p> <p class="card-text"> Some quick example text to build on the card title and make up the bulk of the content of the card. </p> <p><a href="#" class="btn btn-light">light button</a></p> <p class="mb-0"> <a href="#" class="btn btn-outline-light">light button</a> </p> </div> </div>
<div class="card text-white"> <img class="card-img" src="..." alt="..." /> <div class="card-img-mask"></div> <div class="card-img-overlay"> <h3 class="card-subtitle">subhead - 21/03/2021</h3> <p class="card-title display-5">This is the card title</p> <p class="card-text"> Some quick example text to build on the card title and make up the bulk of the content of the card. </p> <a href="#" class="card-link btn btn-link-light"> Light link <img src="..." alt="..." /> </a> </div> </div>
This version is more compact but allows for a grid of several elements to optimise space.
<div class="card card-bg"> <div class="card-body p-4"> <h3 class="card-subtitle text-muted">subhead</h3> <h1 class="card-title mb-5">This is the card title</h1> <a href="#" class="card-link btn btn-link-secondary stretched-link"> secondary link <i class="icon-add ms-1"></i> </a> </div> </div>