daisyUI v5.6 is now available!

Electron component library

Use daisyUI as a CSS component library for Electron apps

Best Electron component library

Electron

Electron is a framework for building desktop applications with JavaScript, HTML, and CSS.

It combines Chromium for the application UI with Node.js APIs for desktop integration. That makes it possible to build apps for Windows, macOS, and Linux with one web-based codebase.

Electron is a practical choice when a product needs local files, native menus, tray behavior, desktop notifications, auto updates, or cross-platform distribution while keeping the UI in familiar web technologies.

Electron + daisyUI

daisyUI is a good fit for Electron because it styles the renderer process without adding another JavaScript UI runtime. You can use it with plain HTML, React, Vue, Svelte, or any other renderer stack.

The practical benefits are clear:

  • CSS-only components: daisyUI doesn't add state management, event handling, or browser-side component logic.

  • Desktop UI coverage: Buttons, menus, tabs, drawers, modals, tables, and forms cover many common app-shell patterns.

  • Consistent cross-platform styling: Your interface can stay visually consistent while Electron handles OS-level features.

  • Light and dark themes: daisyUI themes make desktop preferences and app-specific themes easier to support.

Electron gives you desktop reach. daisyUI helps the renderer look finished without spending weeks on base UI styles.

daisyUI makes working with UI components *so easy*

Jason
Indie Game Dev

Using a component library such as *daisyUI is such a productivity hack*. No going back from that.

Josef Büttgen
Developer

I used daisyUI theme generator's Halloween theme and tweaked it to what I want and now, I'm so proud of what I've got!

Ade
Software Engineer

daisyUI is probably the *best Tailwind Plugin I've ever used*, I've been using it since 2023

Shaun Furtado
JS dev

*daisyUI is underrated.* The best mix of Bootstrap (semantic) + Tailwind (utility). Just pick your colors and go. Supports most common components. Now with Tailwind v4. Theme builder. Quick adjustment with Tailwind. *CSS only and no JS. Zero dependencies.* DHH's "No build" friendly.

Kenn Ejima
Co-Founder & CTO

daisyUI really makes it super easy to get a clean looking MVP up and out the door.

Josh Cirre
Entrepreneur

Install Tailwind CSS and daisyUI for Electron

Set up Tailwind CSS in the renderer side of your Electron app, install daisyUI, and add @plugin "daisyui" to the CSS file that imports Tailwind CSS.

For Electron-specific installation instructions, see How to install daisyUI with Electron.

daisyUI is the most popular
component library for Tailwind CSS

Used by engineers at

Meta Research
Alibaba
Amazon
Adobe
Pepsico
Google Cloud