The React framework
Powered with Rust + Bun.
TSX, streaming SSR, file-system routing, and a single binary at deploy. 10x faster than Next.js. Familiar to anyone who has used Next.js. Familiar to nobody else.
// A page is just a component.
export default function Page() {
return (
<main className="container">
<h1>Hello from Rust</h1>
<p>Streamed in 14ms.</p>
</main>
)
}Swift Rust UI
Components with a third dimension.
A shadcn-style component library with variants, sizes, and expressive design modes. Open code, Tailwind v4, and a CLI that installs only what you need.
bunx @swift-rust/ui add buttonFour ways to render.
Pick a mode when you scaffold. Change it later in one line of config.
SSR + WASM
DefaultServer-rendered HTML, hydrated with WebAssembly islands.
SSR only
Server-rendered HTML. No client JavaScript at all.
SSR + HTMX
Progressive enhancement with HTMX-style interactions.
Full WASM SPA
Single-page app compiled entirely to WebAssembly.
Everything you'd expect.
The primitives every framework should have shipped with years ago.
Streaming SSR
Async components, Suspense boundaries, and edge-ready streaming out of the box.
JSX / TSX first
Write your UI in TypeScript with first-class types. No DSL, no config gymnastics.
App router
File-system routing, nested layouts, dynamic params, and special files you already know.
Built-in components
Image, Font, and PDF components with automatic optimization, like you expect.
Four render modes
Pick the right rendering strategy per project, not per page.
Single binary
Compile your app to a single Rust binary. No Node, no edge runtime, no surprises.
From the blog.
Field notes, release announcements, and the occasional rant about bundlers.
Read all posts- ·4 min read
Introducing Swift Rust
A full-stack React framework powered with Rust + Bun, designed to feel as familiar as the one you already use.
- ·7 min read
Why we shipped four rendering modes
SSR + WASM, SSR only, SSR + HTMX, and full WASM. One isn't enough. Here is why.
- ·9 min read
Streaming SSR in Rust, without the headache
How we built a streaming SSR pipeline that handles async components and Suspense correctly.
Stop waiting on the build.
Install with one command. Scaffold a project, write TSX, ship a binary.
bun create swift-rust@latestTalk to us