Client Tweet Card
Client Tweet Card retrieves a post in the browser using its ID.
Practical React example
Embed a public post in a client-rendered view with a usable loading and unavailable state.
Before you copy and paste
Use a client component. Also copy components/magicui/tweet-card.tsx from the Tweet Card page: this wrapper imports its shared rendering helpers. Copy components/magicui/client-tweet-card.tsx and its returned support files from the Code tab; preserve the project-relative paths.
Listed package dependencies: react-tweet.
Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.
Embed a public post in a client-rendered view with a usable loading and unavailable state
// Usage adapted from Magic UI's pinned MIT source.
// Copyright (c) Magic UI. See ./LICENSES.md.
'use client';
import { ClientTweetCard } from '@/components/magicui/client-tweet-card';
export function PublicPostExample() {
return <ClientTweetCard id="1441032681968212480" />;
}
Usage example adapted from Magic UI's pinned MIT source. Retain the source licence notices when copying.
Use the client-specific component and a stable post ID, and reserve space so late media does not displace nearby controls.
Customization
- id
- A post ID string is required. Use the client-specific component and include the shared Tweet Card helper file described in setup.
Integration notes
- A deleted or blocked post must not leave the page’s only explanation missing.
- Review third-party requests and the accessible reading order of the resulting embed.
Component source: Magic UI documentation . These examples describe the version imported into Rendyn. Upstream APIs may have changed; retain the source licence notices when adapting the code.
Give your agent taste.
The best way to use Rendyn is through MCP. Let your agent find the right component, compare previews and bring the source into your project.
All components are free. Sign up only to connect MCP.