Card

Displays a card with header, content, and footer.

Login to your account

Enter your details below to login to your account

Don't have an account? Sign up

Usage

Add the card class to any element and then define any of the children elements:

  • A <header> for the card header, which can contain a <h2> for the title and a <p> for the description.
  • A <section> for the card content.
  • A <footer> for the card footer.
<div class="card">
  <header>
    <h2>Card Title</h2>
    <p>Card Description</p>
  </header>
  <section>
    <p>Card Content</p>
  </section>
  <footer>
    <p>Card Footer</p>
  </footer>
</div>

Examples

Meeting Notes

Transcript from the meeting with the client.

Client requested dashboard redesign with focus on mobile responsiveness.

  1. New analytics widgets for daily/weekly metrics
  2. Simplified navigation menu
  3. Dark mode support
  4. Timeline: 6 weeks
  5. Follow-up meeting scheduled for next Tuesday
@hunvreus @shadcn @adamwathan

With image

Is this an image?

This is a card with an image.

Photo by Drew Beamer
1 2 350m² $135,000