API Reference
Components
The React components exported from @gio.js/react.
GioLink
Client-side navigation with hover-intent prefetch and optional view transitions.
tsx
<GioLink href="/about" prefetch="hover" transition="fade">About</GioLink>GioImage
Optimized images via the Rust /_gio/image endpoint. Requires width and height.
tsx
<GioImage src="/public/photo.jpg" alt="" width={800} height={600} priority />GioFont
Self-hosts a font and injects preload + stylesheet links.