Getting Started
Templates
Components
Special Effects
Animations
Text Animations
Backgrounds
To render on server side using RSC (Next.js 13):
import { TweetCard } from "@/components/ui/tweet-card"
export default async function App() {
return <TweetCard id="1441032681968212480" />
}To render on client side:
"use client"
import { ClientTweetCard } from "@/components/ui/client-tweet-card"
export default function App() {
return <ClientTweetCard id="1441032681968212480" />
}To show the X logo instead of the Twitter logo:
<TweetCard id="1441032681968212480" logo="x" />| Prop | Type | Default | Description |
|---|---|---|---|
id | string | - | The id of the tweet to display. |
logo | "twitter" | "x" | "twitter" | The logo shown in the top right corner. |
| Prop | Type | Default | Description |
|---|---|---|---|
id | string | - | The id of the tweet to display. |
logo | "twitter" | "x" | "twitter" | The logo shown in the top right corner. |
This component is built on top of React Tweet.