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

tauri2-svelte5-shadcn

> 前端框架
Open source

A clean desktop application template that combines Tauri 2 with Svelte 5 + Shadcn-svelte, including automated CI/CD pipelines for Windows, Linux, and Mac builds

375 stars0 likes1 views
WebsiteGitHub

About

A clean desktop application template that combines Tauri 2 with Svelte 5 + Shadcn-svelte, including automated CI/CD pipelines for Windows, Linux, and Mac builds

Tauri 2 Svelte 5 Shadcn

Simple boilerplate for Tauri 2 with Svelte 5 (and shadcn-svelte).

Requirements

In order to run this boilerplate, you need to install Node (via nvm) and Rust. If you are on Windows I also recommend installing MSVC before the other dependencies (make sure to check the "Desktop development with C++" workload).

Some useful links:

  • https://github.com/coreybutler/nvm-windows/releases (Windows: pick the nvm installer)
  • https://github.com/nvm-sh/nvm?tab=readme-ov-file#installing-and-updating (Linux: run curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash)
  • https://www.rust-lang.org/tools/install
  • https://visualstudio.microsoft.com/vs/community/

Setup

  1. Click the "Use this template" button on GitHub.
  2. Clone your newly created repository:
    bash
    git clone https://github.com/YOUR_USERNAME/YOUR_REPOSITORY_NAME.git
    cd YOUR_REPOSITORY_NAME
  3. Install dependencies:
    bash
    npm i

This template uses npm as its package manager. Keep package-lock.json committed and use npm ci for reproducible installs in automation.

Useful commands

Start dev server

bash
npm run tauri dev

Build executable

bash
npm run tauri build

Add shadcn-svelte component

bash
npx shadcn-svelte@next add 

Replace `` with the name of the component you want to add (e.g., button, card, dialog). You can find the full list of available components at https://next.shadcn-svelte.com/docs/components.

Other links

Svelte 5

https://svelte.dev/docs

Tauri 2

https://tauri.app/start/

shadcn-svelte

https://next.shadcn-svelte.com/

Versioning

This project follows Semantic Versioning 2.0.0. Incompatible changes to the template's documented APIs or integration patterns require a major release, backward-compatible capabilities use a minor release, and backward-compatible fixes use a patch release.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptboilerplaterustshadcnshadcn-svelte

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 框架