Starting Point
v0.33.1

Search documentation

Search for a page and jump to it.

Start typing to search...
Go to Page
escClose

Tailwind CSS Blog Card

A blog card for Tailwind CSS with a cover image, title, category, and author. Built with the card and avatar components.

<div class="card w-full max-w-sm">
  <img
    src="https://images.unsplash.com/photo-1592765213254-f101ad9b8f76?rect=0,0,3000,2000&amp;w=640&amp;h=427&amp;fit=crop&amp;auto=format&amp;q=100"
    alt="White blossoms in muted warm tones"
    class="aspect-3/2 w-full object-cover"
  />
  <div class="card-header">
    <span
      class="flex items-center gap-1.5 text-xs font-medium tracking-tight text-muted-foreground"
      ><span>Mar 15, 2024</span><span>·</span><span>Design</span></span
    >
    <h3 class="card-title">Finding Color Palettes in Nature</h3>
    <p class="card-description">
      How muted, organic tones from the natural world can ground the color
      system of your next project.
    </p>
  </div>
  <div class="card-footer gap-3">
    <span class="avatar avatar-lg"
      ><img
        class="avatar-image"
        src="https://images.unsplash.com/photo-1750390200282-bf7f669a9946?w=640&amp;h=640&amp;fit=facearea&amp;facepad=3.2&amp;auto=format&amp;q=100&amp;bg-remove=true&amp;bg=e5e5e5"
        alt="Leila Navarro"
      /><span class="avatar-fallback">LN</span></span
    >
    <div class="text-sm">
      <p class="font-medium text-foreground">Leila Navarro</p>
      <p class="text-muted-foreground">Product Designer</p>
    </div>
  </div>
</div>

More card examples