Rendyn

Component library

189 components

Interaction

Tweet Card

Tweet Card fetches and presents a post through the server-side React Tweet integration.

Interactive exampleReact Tailwind CSS

Practical React example

Quote one public post inside a server-rendered article with a fallback when it cannot be retrieved.

Before you copy and paste

Match the imported component’s client or server rendering boundary before using the example. Copy components/magicui/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.

Quote one public post inside a server-rendered article with a fallback when it cannot be retrieved

// Usage adapted from Magic UI's pinned MIT source.
// Copyright (c) Magic UI. See ./LICENSES.md.
import { TweetCard } from "@/components/magicui/tweet-card"

export default async function App() {
  return <TweetCard id="1441032681968212480" />
}

Usage example adapted from Magic UI's pinned MIT source. Retain the source licence notices when copying.

Keep this example in a server-capable rendering environment and pass a validated post ID. Handle unavailable, deleted and provider-blocked posts in your page’s error or fallback path.

Customization

id
A post ID string identifies the remote post. Render this async component from a server-capable context and handle an unavailable result.

Integration notes

  • Do not import the async server component into a client-only module.
  • A remote post is third-party content and can change independently of your article.

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.

Better with your agent

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.

Connect to MCP