#corecomponents
Thanks. I had to update CoreComponents but I also added custom components for more flexible buttons styling and common content containers.

Then I discovered you can build your own DaisyUI theme based on a built-in one and just copy/paste config to app.css 🙃

daisyui.com/theme-genera...
daisyUI and Tailwind CSS theme generator — Tailwind CSS Components ( version 5 update is here )
OKLCH Theme Generator for daisyUI and Tailwind CSS
daisyui.com
June 19, 2025 at 6:41 AM
A simple change to CoreComponents to enable multi select checkboxes in Phoenix
You also need to be explicit about the checked attribute `checked={value in List.wrap(@form[:field].value)}`
#ElixirLang #Phoenix
January 29, 2025 at 12:38 PM
I kinda love it. The CoreComponents file was very hard to customize, extend, or theme. I would have wished for a less library-dependent approach than hard-coding DaisyUI classes into the generators but it’s already a good start. Ideally, it’d be easy to replace DaisyUI with another lib in the future
March 21, 2025 at 7:43 AM
I’ve just completed this course so far too. And I was feeling similarly. After a few re-watches, and looking through the CoreComponents module, it is feeling a little clearer for me.
November 13, 2024 at 11:36 AM
Fwiw, the "scaffold" generators (phx.gen.html/phx.gen.live/etc) are not using daisyUI, only the CoreComponents, so you can use them regardless if you keep or yank daisyUI from your app.
March 25, 2025 at 5:32 PM