Edu Calvo

Tweet Card

Cards 1

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

    249
  • AI Task List

    AI Task List

    171
  • Siri Orb

    Siri Orb

    166
  • Pixel Flow Field

    Pixel Flow Field

    164
  • Cursor Follow

    Cursor Follow

    158
  • Agent Avatar

    Agent Avatar

    137
  • Gravity Stars

    Gravity Stars

    129
  • Coverflow Carousel

    Coverflow Carousel

    115

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.1K
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    274
  • Statistics Card 2

    Statistics Card 2

    279
  • Statistics Card 7

    Statistics Card 7

    302
  • Card Studio

    Card Studio

    14
  • Stats cards with links

    Stats cards with links

    125
  • Statistics Card 10

    Statistics Card 10

    273
  • Weather Card

    Weather Card

    60

Explore more

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