Tweets

Embed Tweets in your documentation.

Use the <Tweet /> component to embed tweets in your documentation, using the Tweet ID.

Example

<Tweet id="1513662173796605958" />

Cards

To display tweet preview cards alongside the tweet, provide the cards prop.

<Tweet id="1513662173796605958" cards />

Conversation

To display conversation information about the tweet, provide the conversation prop.

<Tweet id="1513662173796605958" conversation />

Cards & Conversation

Both card and conversational data can be displayed simultaneously.

<Tweet id="1513662173796605958" cards conversation />

Props

idstringrequired

The ID of the tweet to display.

cardsbooleanoptional

Whether or not to display tweet preview cards. Defaults to false.

conversationbooleanoptional

Whether or not to display conversation information. Defaults to false.