Twitter Post

Twitter Post: Tweet card with avatar, handle, timestamp, hashtags, and full engagement row. For social embeds, mockups, or feed previews. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Twitter Post

npx motion-ui-skill add twitter-post

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • lucide-react
  • next
  • react
  • tailwind-merge

Source files

Twitter Post

Tweet card with avatar, handle, timestamp, hashtags, and full engagement row. For social embeds, mockups, or feed previews.

Install

npx motion-ui-skill add twitter-post

Dependencies

  • clsx
  • lucide-react
  • next
  • react
  • tailwind-merge

Usage

"use client";

import { TwitterPostCard } from "@/components/socials/twitter-post-card";

export function TwitterPostCardDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <TwitterPostCard />
    </div>
  );
}

API Reference

TwitterPostCard

Prop Type Default Required Description
className string — No Additional CSS classes

Browse this category