shadcn-labs

Post Card

Cards

About

A compound blog post card that shows a cover image, category, title, excerpt, tags, author and a read-more button, with default, compact, horizontal and covered layout variants.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Post Card to your project and fits it to your theme.

Code

How Post Card is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { PostCard, PostCardContent } from "@/components/ui/post-card";

export default function PostCardWithoutImageDemo() {
  return (
    <PostCard appearance={{ showImage: false }}>
      <PostCardContent />
    </PostCard>
  );
}

More by shadcn-labs

View all
  • Email Progress Bar

    Email Progress Bar

    3
  • Coupons With Centered Text

    Coupons With Centered Text

  • Stripe Receipt Email

    Stripe Receipt Email

  • Masonry Product Detail

    Masonry Product Detail

  • Post List

    Post List

  • Data Table

    Data Table

  • Message Bubble

    Message Bubble

  • X Post Card

    X Post Card

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    120
  • Course Design Cards

    Course Design Cards

    1.1K
  • Statistics Card 2

    Statistics Card 2

    259
  • Card

    Card

    56
  • Card Studio

    Card Studio

    9
  • The Item one

    The Item one

    3
  • Statistics Card 7

    Statistics Card 7

    289
  • Weather Card

    Weather Card

    53