Add @fontsource/jetbrains-mono and import it.
The quick brown fox jumps over the lazy dog. 1234567890
Drop a .woff2 next to your component and reference it from a tiny
@font-face CSS file:
{`@font-face {
font-family: 'Lobster';
src: url('./lobster.woff2') format('woff2');
}`}
Import the CSS (import './lobster.css'). Bun's CSS bundler inlines the .woff2 as a base64 data URI in the bundled CSS.
The quick brown fox jumps over the lazy dog. 1234567890