Skip to content

🦀 Create modern Tauri desktop apps in just a few simple steps with shadcn/ui. React, Next.js, Sveltekit.

Notifications You must be signed in to change notification settings

agmmnn/tauri-ui

Repository files navigation

updates soon

crab tauri-ui

Create modern Tauri desktop apps in just a few simple steps. Tauri UI Templates is a starting point for building modern desktop applications with web technologies with using shadcn/ui, Tauri.

You can download pre-built final bundles from the Releases section.

Getting Started

Use create-tauri-ui to quickly scaffold a Tauri UI project.

pnpm create tauri-ui
npx create-tauri-ui@latest
pnpm create tauri-ui
npm create tauri-ui@latest
yarn create tauri-ui

Then follow the prompts!

You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Tauri-UI project, run:

# npm 7+, extra double-dash is needed:
npm create tauri-ui@latest my-tauri-app -- --template vite

# yarn
yarn create tauri-ui my-tauri-app --template next

# pnpm
pnpm create tauri-ui my-tauri-app --template sveltekit

cli You can use . for the project name to scaffold in the current directory.

Or clone the repository
gh repo clone agmmnn/tauri-ui
cd tauri-ui/templates/<template>

pnpm i
pnpm tauri dev
pnpm tauri build

Features

tauri-ui

Update Components

shadcn/ui

Update all components:

npx shadcn-ui@latest add --overwrite
# press "a" to select all components

Update a specific component:

npx shadcn-ui@latest add dialog --overwrite

Acknowledgements

This project utilizes code from the following repository: