Tauri Ui

screenshot of Tauri Ui
nextjs
react
svelte
tailwind
radix-ui
shadcn-ui

Tauri Ui

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

Overview

The Tauri-UI-Boilerplate is a development framework that combines Tauri, Next.js 13, and shadcn/ui to provide a seamless and efficient development experience. It utilizes technologies such as TypeScript, Tailwind CSS, Radix UI, and Lucide Icons to create a highly customizable and feature-rich application. With a focus on optimization and ease of use, this boilerplate enables developers to quickly create powerful desktop applications.

Features

  • Titlebar draggable
  • Titlebar minimize, maximize, close buttons
  • Titlebar double-click maximize
  • UI component decomposition
  • Dark-Light mode switch
  • Retrieving data from backend code
  • Customizable styling and theme
  • Easy component updates

Installation

To get started with the Tauri-UI-Boilerplate, follow these steps:

  1. Update the Cargo.toml file to optimize the bundle size. The resulting .msi file size should be around 1.8mb.
  2. Make sure to have Tauri, Next.js 13, and shadcn/ui installed in your project dependencies.
  3. Customize the package.json and src-tauri/tauri.conf.json files according to your needs.
  4. Update the app-icon.png file and run yarn tauri icon to automatically generate the icon files needed for the application.
  5. To update the components, download the shadcn/ui/apps/www/components/ui directory and paste it into src/components/ui.
  6. Set up your preferred IDE, recommended setup is to use VS Code with Tauri and rust-analyzer.

Summary

The Tauri-UI-Boilerplate combines powerful technologies to provide an efficient and customizable development experience. With its features such as draggable titlebar, component decomposition, dark-light mode switch, and easy customization, developers can quickly build desktop applications using the Tauri framework with Next.js 13 and shadcn/ui.

nextjs
Next.js

Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

svelte
Svelte

Svelte is a modern front-end framework that compiles your code at build time, resulting in smaller and faster applications. It uses a reactive approach to update the DOM, allowing for high performance and a smoother user experience.

tailwind
Tailwind

Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.

radix-ui
Radix UI

Radix Primitives is a low-level UI component library with a focus on accessibility, customization and developer experience. You can use these components either as the base layer of your design system, or adopt them incrementally.

shadcn-ui
Shadcn UI

Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.

postcss
Postcss

PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.