swift·rust
v1.10.11 — first public preview

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.

app/page.tsx
// 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.

flat3dglassneobrutalgradient
Explore Swift Rust UIbunx @swift-rust/ui add button

Four ways to render.

Pick a mode when you scaffold. Change it later in one line of config.

SSR + WASM

Default

Server-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.

Stop waiting on the build.

Install with one command. Scaffold a project, write TSX, ship a binary.

bun create swift-rust@latestTalk to us