Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

tauri-ui

> 前端框架
Open source

Tauri + shadcn/ui app scaffolder with desktop-ready defaults and optional batteries.

2.1K stars0 likes1 views
WebsiteGitHub

About

Tauri + shadcn/ui app scaffolder with desktop-ready defaults and optional batteries.

⚡ Scaffold Tauri desktop apps with shadcn/ui and desktop-ready defaults.

Choose Vite, Next.js, React Router, Astro, or TanStack Start. Upstream CLIs build the foundation; tauri-ui adds the native shell and optional batteries.

Get started

bash
bunx create-tauri-ui@latest

Each release includes a demo build showing the expected output — available in Releases.

After scaffold

bash
cd my-app
bun run tauri dev
  • swap icons: bunx tauri icon ./app-icon.png
  • add shadcn components: bunx shadcn@latest add dialog sonner
  • add tauri plugins: bun run tauri add store (plugin list)
  • batteries live in src/components/ (debug-panel, external-link-guard, theme-provider)
  • tweak window defaults in src-tauri/tauri.conf.json
  • CLI flags + opt-outs → packages/create-tauri-ui

Batteries Included

‍ Desktop defaults

  • no startup flash (hidden until first paint)
  • external links open in system browser
  • no overscroll / rubber-band scrolling
  • desktop-style selection behavior
  • sensible default window size and position

➕ Extras (optional)

  • starter dashboard (dashboard-01)
  • Rust invoke example
  • smaller binary output (~65% smaller binary in our test)
  • GitHub Actions release workflow

** Debug Panel**  ·  Cmd / Ctrl + D

  • inspects app state, route, window, tracked invokes, runtime events, plugin logs, and system paths
  • live host diagnostics: theme & a11y, locale, display, input, network
  • hover any field for the source snippet with a web / tauri origin chip — click to copy
  • dev-only, zero production impact — dockable and remembers its layout

** Upstream UI**

  • shadcn frontend generated via official CLI
  • no forks, always up to date
  • adapters for vite, next, react-router, astro, start

Why tauri-ui

A fresh Tauri app feels like a wrapped website. Window state, startup flash, link routing, overscroll, native selection: chores you hit on every project.

tauri-ui handles them by default and stays close to upstream shadcn and create-tauri-app. Nothing forks, nothing drifts from the docs.

** Better with AI coding agents:** familiar shadcn + Tauri structure, built on upstream APIs without custom wrappers or forks.

How it works

cli prompts
  → official shadcn/ui init
  → official create-tauri-app setup
  → combine frontend + native shell
  → apply desktop-ready defaults
  → add optional batteries

No full local templates. Just a small asset and patch surface on top of the upstream CLIs.

Manage batteries after scaffold

Run inside an existing tauri-ui project to add, update, or remove batteries without re-scaffolding:

Template auto-detected (no manifest file written to your repo), updates are idempotent; commit first and review the diff.

bash
bunx create-tauri-ui@latest list                  # show install status
bunx create-tauri-ui@latest update debug-panel    # pull the latest template
bunx create-tauri-ui@latest add workflow          # add the release workflow later
bunx create-tauri-ui@latest remove workflow

‍ Built with tauri-ui

  • speedbox — internet and DNS speed test desktop app.

Built something with tauri-ui? Open a PR adding it to this list — one line with a link and a short description.


CLI reference and full options → packages/create-tauri-ui

License

MIT

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptbase-uiboilerplatedesktop-appnextjs

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架