Solid.js component library

Use daisyUI as a Tailwind CSS component library for Solid.js projects

Best Solid component library

Solid.js

Solid is a JavaScript framework for building reactive user interfaces with fine-grained updates.

It uses JSX, but it doesn't use a virtual DOM in the same way React does. Solid tracks reactive dependencies directly and updates the affected DOM nodes when state changes.

That model keeps component code familiar while making updates precise. SolidStart adds routing, server functions, and full-stack app structure for teams that want a framework around Solid.

Solid.js + daisyUI

daisyUI works well with Solid because it stays out of the reactive layer. Solid controls state, signals, effects, routing, and events. daisyUI provides component classes.

The split is useful:

  • No extra runtime: daisyUI doesn't add JavaScript on top of Solid's fine-grained reactivity.

  • Readable JSX: btn, card, menu, input, and alert keep components easy to scan.

  • Behavior stays explicit: Dialog state, validation, filters, and menus remain Solid code instead of hidden library behavior.

  • Themeable UI: Use Solid state or server-rendered attributes to control daisyUI themes.

Solid keeps interactions precise. daisyUI helps you avoid rebuilding every base component style.

I'm a big fan of daisyUI

Dan Schoonmaker
Software engineer

Can't state how much I love daisyUI ♥️

rootkid
Software Developer

I used daisyUI this week with Remix and am delighted by it so far.

Matt Ferrante
Developer

How much winning can one component library take?!?

htmx.org
high power tools for HTML

daisyUI is what I use for everything now.

Pramod
Software 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

Install Tailwind CSS and daisyUI for Solid.js

Setting up daisyUI in Solid uses Vite or SolidStart.

Create a Solid project, install Tailwind CSS, @tailwindcss/vite, and daisyUI, then add @plugin "daisyui" to your CSS file.

After setup, use daisyUI classes in Solid components and route layouts.

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

daisyUI is the most popular
component library for Tailwind CSS

Used by engineers at

Meta Research
Alibaba
Amazon
Adobe
Pepsico
Google Cloud