Twitter Theme

Twitter Theme

This is the theme you'll see in (opens in a new tab) and the default theme included in react-tweet.


In any component, import Tweet from react-tweet and use it like so:

import { Tweet } from 'react-tweet'
export default function Page() {
  return <Tweet id="1628832338187636740" />


Currently, react-tweet uses CSS Modules to scope the CSS of each component, so the bundler where it's used needs to support CSS Modules. If you get issues about your bundler not recognizing CSS Modules, please open an issue as we would like to know how well supported this is.