svelte-font Svelte Themes

Svelte Font

Port of `next/font` for use in Svelte.

svelte-font

svelte-font is a port of the Next.js @next/font pacakge, that includes built-in automatic self-hosting for any font file. This means you can optimally load web fonts with zero layout shift, thanks to the underlying CSS size-adjust property used.

This new font system also allows you to conveniently use all Google Fonts with performance and privacy in mind. CSS and font files are downloaded at build time and self-hosted with the rest of your static assets. No requests are sent to Google by the browser.

Read more

Top categories

Loading Svelte Themes