tauri2-svelte5-shadcn Svelte Themes

Tauri2 Svelte5 Shadcn

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:

Setup

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

Useful commands

Start dev server

npm run tauri dev

Build executable

npm run tauri build

Add shadcn-svelte component

npx shadcn-svelte@next add <component>

Replace <component> 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.

Svelte 5

https://svelte.dev/docs

Tauri 2

https://tauri.app/start/

shadcn-svelte

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

License

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

Top categories

Loading Svelte Themes