How to choose
Check components.json
The shadcn CLI needs aliases that match the renderer folder. When they are right, adding a component is one command and its imports work.
shadcn/ui ranking 2026
Every Electron boilerplate that ships shadcn/ui components, scored on the same features, Electron version, maintenance and popularity as our main ranking. 3 are still maintained, 1 are outdated.
Data updated on Oct 25, 2026, generated from an open data file. Spotted a mistake? Open a pull request.
How to choose
The shadcn CLI needs aliases that match the renderer folder. When they are right, adding a component is one command and its imports work.
How to choose
A desktop app is expected to follow the system theme. Look for a template that syncs the dark class with Electron nativeTheme, not only a toggle.
How to choose
Every template here has shadcn/ui. Compare what is behind it: typed IPC, a database, auto update, signed releases and licensing.
At a glance
Electron shadcn/ui boilerplates still maintained, by overall score.
| Boilerplate | Score | Features | Electron | Build | IPC | Styling | Stars | Last update | Price |
|---|---|---|---|---|---|---|---|---|---|
| 1. Electron AppStack | 88 | 20/22 | 45 | electron-vite + Vite | tRPC | Tailwind CSS | 1 | Oct 25, 2026 | Free |
| 2. electron-shadcn | 70 | 14/22 | 44 | Electron Forge + Vite | oRPC | Tailwind CSS | 796 | Oct 21, 2026 | Free |
| 3. Electron React App | 59 | 7/22 | 45 | electron-vite + Vite | electron-conveyor | Tailwind CSS | 797 | Oct 21, 2026 | Free |
Fullstack Electron boilerplate with typed IPC, a local database, signed releases, auto update, source code protection and license keys.
npx degit nick-keller/electron-appstack/template my-appElectron Forge and Vite with React, shadcn/ui, TanStack Router and typed IPC with oRPC.
npx degit LuanRoger/electron-shadcn my-appelectron-vite starter with React, Tailwind CSS, shadcn/ui components, a custom title bar and typed IPC.
npx degit guasam/electron-react-app my-appFeatures
The Electron shadcn/ui boilerplates on all 22 features.
| Feature | Electron AppStack | electron-shadcn | Electron React App |
|---|---|---|---|
| Developer experience | |||
| TypeScriptMain, preload and renderer written in TypeScript. | ✓ | ✓ | ✓ |
| Hot reloadRenderer reloads and main process restarts on change. | ✓ | ✓ | ✓ |
| Linting and formattingA linter and a formatter configured. | ✓ | ✓ | ✓ |
| Unit testsA unit test runner set up with example tests. | ✓ | ✓ | × |
| End-to-end testsTests that launch the packaged app. | × | ✓ | × |
| DocumentationGuides written for the boilerplate, beyond a README. | ✓ | ✓ | – |
| AI agent instructionsAGENTS.md or rules so coding agents follow the conventions. | ✓ | × | × |
| Frontend | |||
| Choice of UI frameworkSeveral renderer frameworks to pick from. | × | × | × |
| RoutingA client-side router with example pages. | ✓ | ✓ | × |
| UI componentsA component library or design system. | ✓ | ✓ | ✓ |
| Dark modeLight, dark and system themes with a switcher. | ✓ | ✓ | ✓ |
| TranslationsAn i18n library with translation files. | ✓ | ✓ | × |
| Backend | |||
| Typed IPCCalls from the renderer to the main process are typed end to end. | ✓ | ✓ | ✓ |
| Local databaseAn embedded database with migrations. | ✓ | × | × |
| Persistent settingsA store for user preferences that survives restarts. | ✓ | × | × |
| Shipping | |||
| Auto updateThe app downloads and installs new versions. | ✓ | ✓ | × |
| Release workflowCI builds and publishes installers for every platform. | ✓ | ✓ | – |
| Code signingSigning and notarization wired into the build. | ✓ | × | × |
| Secure defaultsContext isolation, sandboxed renderer, no Node.js in the renderer. | ✓ | ✓ | ✓ |
| Selling | |||
| Source code protectionBytecode compilation, Electron fuses or ASAR integrity. | ✓ | – | × |
| License keysActivation, validation and offline use of license keys. | ✓ | × | × |
| PaymentsCheckout connected to license creation. | ✓ | × | × |
✓Included–Partial or manual setup×Not includedHover a cell for details.
Avoid
Still found in search results, but archived or stuck on an Electron version that no longer receives security fixes.
electron-vite starter with React, Tailwind CSS, shadcn/ui style components, Biome and a GitHub Actions release.
Outdated: Electron 39, 6 major versions behind.
Methodology
This page is published by Electron AppStack, which is part of the ranking. Every number comes from the same open data file and the same formula as the ranking of all Electron boilerplates: Features 60%, Electron version 20%, Maintenance 10%, Popularity 10%.
shadcn/ui is only the start: typed IPC, SQLite, auto update, signed releases and license keys are included too.