X Theme

X Theme

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

Usage

In any component, import Xeet from react-xeet and use it like so:

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

Troubleshooting

Currently, react-xeet 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.