vite-react-tailwind-shadcn-electron-template Tailwind Templates

Vite React Tailwind Shadcn Electron Template

Empty project for an desktop app built using electron, reactJS + Vite , tailwindCSS and shadcnUI componnents library

šŸš€ React + TypeScript + Vite + Electron Desktop App Template

A modern desktop application template built with:

  • ⚔ Vite (Blazing-fast build tool)
  • šŸ–„ļø Electron (Cross-platform desktop apps)
  • šŸŽØ Tailwind CSS + ShadcnUI (Beautiful, customizable UI)
  • šŸ“˜ TypeScript (Type-safe JavaScript)
  • ✨ Lucide Icons (Clean, consistent icons)



✨ Features

āœ… Pre-configured with Vite + React + TypeScript
āœ… Electron integration for desktop apps (Windows, macOS, Linux)
āœ… Tailwind CSS with dark/light mode support
āœ… ShadcnUI components for a polished UI
āœ… Lucide Icons included for beautiful vector icons
āœ… HMR (Hot Module Replacement) for faster development
āœ… ESLint + Prettier for clean, consistent code


šŸ› ļø Quick Start

1. Clone the Repository

git clone https://github.com/faresmdh/vite-react-tailwind-shadcn-electron-template.git
cd vite-react-tailwind-shadcn-electron-template

2. Install Dependencies

npm install

3. Run in developement mode

npm run electron-dev

šŸ“‚ Project structure

ā”œā”€ā”€ electron/  
│   ā”œā”€ā”€ main.cjs          # Electron main process  
│   ā”œā”€ā”€ preload.cjs       # Electron preload file
ā”œā”€ā”€ src/                  
│   ā”œā”€ā”€ assets/           # Contains project images
│   ā”œā”€ā”€ componnents/           
│   │   ā”œā”€ā”€ ui/           # Contains shadcn ui componnents (containing button and card only, add as your needs)
│   ā”œā”€ā”€ main.tsx          # app entry    

šŸ“œ License

MIT Ā© Fares Meddahi


šŸ”— More Resources

Top categories

tailwind logo

Need a Tailwind website built?

Hire a professional TailwindCSS developer today.
Loading Svelte Themes