Skip to content

Dark theme Tweet with JavaScript

Adding Twitter’s widget script will hydrate the HTML markup of <Tweet>.

<script async src="https://platform.twitter.com/widgets.js"></script>
<Tweet
theme="dark"
id="https://twitter.com/astrodotbuild/status/1632809919291457537"
/>

The above code produces the following result: