Repolode
agmmnn

agmmnn/tauri-ui

A CLI that scaffolds Tauri desktop apps on top of shadcn/ui, with desktop-ready defaults and optional extras.

Stars
2,327
Forks
138
Open issues
2
Last commit
7 days ago

What is it?

tauri-ui is a scaffolder that generates a Tauri desktop app with a shadcn/ui frontend. You pick a frontend stack (Vite, Next.js, React Router, Astro, or TanStack Start), and the tool runs the official shadcn/ui and create-tauri-app CLIs, then merges the native shell with the frontend and applies desktop defaults.

The defaults target problems that show up in most Tauri projects: the window stays hidden until first paint to avoid a startup flash, external links open in the system browser, overscroll bounce is disabled, and selection behaves more like a native desktop app. The generated project also includes an optional starter dashboard, a Rust invoke example, and a GitHub Actions release workflow.

An optional debug panel, toggled with Cmd/Ctrl + D, shows app state, routes, window info, tracked invokes, runtime events, plugin logs, and system paths. It is dev-only. Existing tauri-ui projects can add, update, or remove these extras later through the same CLI.

Key features

  • 01Scaffolds Tauri apps with a choice of Vite, Next.js, React Router, Astro, or TanStack Start frontends
  • 02Builds on the official shadcn/ui and create-tauri-app CLIs without forking them
  • 03Desktop defaults: hidden-until-ready window, external links in system browser, no overscroll
  • 04Optional debug panel with app state, invokes, runtime events, and system diagnostics
  • 05Add, update, or remove optional extras in an existing project via CLI

Use cases

  • Starting a new desktop app that uses shadcn/ui components and a web frontend
  • Prototyping a Tauri app that needs a polished default window and link behavior
  • Debugging Tauri invoke calls and runtime events during development
  • Setting up a release workflow for a Tauri app with GitHub Actions

Quick start

  1. 1

    Scaffold a new Tauri app with the CLI

    bunx create-tauri-ui@latest
  2. 2

    Enter the project folder

    cd my-app
  3. 3

    Start the app in development mode

    bun run tauri dev

Things to know

  • Requires Bun to run the documented commands.

In collections

Topics

FAQ

What is tauri-ui?
A CLI that scaffolds Tauri desktop apps on top of shadcn/ui, with desktop-ready defaults and optional extras. tauri-ui is a scaffolder that generates a Tauri desktop app with a shadcn/ui frontend. You pick a frontend stack (Vite, Next.js, React Router, Astro, or TanStack Start), and the tool runs the official shadcn/ui and create-tauri-app CLIs, then merges the native shell with the frontend and applies desktop defaults.
Is tauri-ui free to use? What license does it have?
tauri-ui is open source under the MIT license. Check the license terms before using it in commercial products.
Is tauri-ui still maintained?
Actively maintained. The last commit to tauri-ui was on Oct 31, 2026.
What can I use tauri-ui for?
Starting a new desktop app that uses shadcn/ui components and a web frontend Prototyping a Tauri app that needs a polished default window and link behavior Debugging Tauri invoke calls and runtime events during development Setting up a release workflow for a Tauri app with GitHub Actions
How do I install tauri-ui?
Scaffold a new Tauri app with the CLI: bunx create-tauri-ui@latest Enter the project folder: cd my-app Start the app in development mode: bun run tauri dev
Where can I get tauri-ui?
The source code and installation instructions are on GitHub: https://github.com/agmmnn/tauri-ui

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects