Next.js, Tauri 2, Rust, TypeScript, Tailwind CSS, Shadcn UI, Zustand, React Query2025

Next.js Tauri Template

A starter for desktop apps with Next.js, Tauri 2 and Shadcn UI — the web stack you know, shipping to macOS, Windows and Linux.

Next.js Tauri Template

Desktop apps, web stack. No setup tax.

I wanted to write desktop apps with the web stack, but every new project meant wiring up the same stuff from scratch — layout, forms, state, data fetching. Busywork.

So I preloaded the usual suspects: Next.js 14 + Tauri 2, Rust on the backend (steadier on security and performance), Shadcn + Tailwind for the UI, Zustand for state, React Query for data. The same React stack I already know — the end result is a desktop app that runs on macOS, Windows and Linux.

The template ships with example pages you can change right away: a dashboard, a login form, a settings panel, a searchable data table, React Hook Form + Zod forms, two/three-column layouts, a landing page. Not placeholders — working implementations.

v0.1.0, open source, community-driven — ideas welcome, just open an issue. To get started:

pnpm install
pnpm dev        # web mode
pnpm tauri dev  # desktop mode