Edu Calvo

Tweet Card

Cards 3

About

A tweet card that fetches and displays a Twitter/X post with the user's avatar, name, text, photos or video, and a link to open the original tweet.

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

Code

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

Usage.tsx

import { ClientTweetCard, TweetSkeleton } from "@/components/ui/tweet-card";

export default function TweetCardDemo() {
  return (
    <div className="flex w-full items-center justify-center p-4">
      <ClientTweetCard id="1944804313156419771" fallback={<TweetSkeleton />} />
    </div>
  );
}

Dependencies

More by Edu Calvo

View all
  • Scrollable Card Stack

    Scrollable Card Stack

    288
  • Pixel Flow Field

    Pixel Flow Field

    207
  • AI Task List

    AI Task List

    199
  • Siri Orb

    Siri Orb

    194
  • Gravity Stars

    Gravity Stars

    170
  • Cursor Follow

    Cursor Follow

    165
  • Agent Avatar

    Agent Avatar

    155
  • Coverflow Carousel

    Coverflow Carousel

    148

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Photo Deck

    Photo Deck

    47
  • Folded Card

    Folded Card

    45
  • Statistics Card 10

    Statistics Card 10

    304
  • Statistics Card 2

    Statistics Card 2

    309
  • Statistics Card 7

    Statistics Card 7

    336
  • CTA Section

    CTA Section

    6
  • Liquid Glass Card

    Liquid Glass Card

    198

Explore more

Part of SmoothUI — browse the full library on 21st.dev.