Electron AppStack

Electron + shadcn/ui · free and open source

Electron shadcn/ui boilerplate with every component one command away

The whole shadcn/ui catalog, one npx shadcn add away.

shadcn/ui, Tailwind CSS v4, Radix UI and Lucide, configured for the Electron renderer. Then everything else a desktop app needs: typed IPC, SQLite, auto update, signed releases and license keys.

$ npx degit nick-keller/electron-appstack/template my-app
  • shadcn/ui
  • Radix UI
  • Tailwind CSS
  • Lucide
  • React
  • TypeScript
  • Vite
  • tRPC
  • SQLite
  • Electron

shadcn/ui setup

shadcn/ui, set up for Electron

The shadcn CLI, the theme and the dark mode work in the Electron renderer out of the box, so you only pick components.

One command per component

Add any shadcn/ui component, no setup

Button, Card, Checkbox, Input, Label, Select and Separator ship with the example screens. Every other component of the shadcn/ui registry installs with the CLI, straight into the renderer.

Read the UI guide
npx shadcn@latest add dialog table sonner

# Written to src/renderer/src/components/ui/
# Imported with the renderer alias:
# @renderer/components/ui/dialog

And much more

Much more than an Electron shadcn/ui boilerplate

shadcn/ui is only the start. Electron AppStack includes 20 of the 22 features we compare boilerplates on, where the most popular other Electron shadcn/ui boilerplates average 11: a typed backend, a database, auto update, signed releases, source code protection and license keys, all wired together and documented.

Compare

Electron AppStack vs other shadcn/ui boilerplates

The most popular maintained Electron shadcn/ui boilerplates, side by side. Electron AppStack is #1 of 19 in our ranking.

FeatureElectron AppStackelectron-shadcnElectron React App
Developer experience
AI agent instructionsAGENTS.md or rules so coding agents follow the conventions.✓××
Frontend
UI componentsA component library or design system.✓✓✓
Backend
Typed IPCCalls from the renderer to the main process are typed end to end.✓✓✓
Local databaseAn embedded database with migrations.✓××
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.✓××
Selling
Source code protectionBytecode compilation, Electron fuses or ASAR integrity.✓–×
License keysActivation, validation and offline use of license keys.✓××

✓Included–Partial or manual setup×Not includedHover a cell for details.

One command

Create your shadcn/ui Electron app

Copy the template, install, run. Hot reload starts with the example app: a todo list stored in SQLite and a settings page with light and dark themes.

Read the getting started guide
npx degit nick-keller/electron-appstack/template my-app
cd my-app
npm install
npm run dev

FAQ

Frequently asked questions

Which shadcn/ui components are included?

Button, Card, Checkbox, Input, Label, Select and Separator are installed and used by the example screens. Every other shadcn/ui component installs with npx shadcn@latest add <name>: components.json is already configured for the Electron renderer.

Does it use Tailwind CSS v4?

Yes. Tailwind CSS v4 runs through its Vite plugin, with no tailwind.config file. The shadcn/ui theme lives in the renderer stylesheet as CSS variables, with a light and a dark palette.

How is it different from electron-shadcn?

electron-shadcn is a popular Electron Forge template with shadcn/ui, oRPC and Playwright end-to-end tests. Electron AppStack uses electron-vite and electron-builder, and adds a SQLite database, persistent settings, code signing in CI, source code protection, license keys with Stripe and instructions for AI agents.

Can AI coding agents add components?

Yes. The template ships an add-ui-component skill: Claude Code, Cursor, Codex and Copilot check the existing components first, install missing ones with the shadcn CLI and use the theme colors instead of hard-coded ones.

Is it really free?

Yes. Electron AppStack is open source under the MIT License, with no paid tier. Use it for commercial apps and sell them. LicenseManager is free up to 100 active licenses, and Stripe only charges a fee on the payments you receive.

Is it a framework I depend on?

No. You copy the template once with degit and the code is yours. There is no package to update and nothing to eject.

Same template

Looking for another stack?

One boilerplate covers all of them: pick the page that matches your search.

Start your shadcn/ui desktop app today

Free, production-ready, and yours from the first command.

$ npx degit nick-keller/electron-appstack/template my-app