You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: add a "Use daisyUI with Stimulus" guide #4648
A page at /docs/install/stimulus/ called "Use daisyUI with Stimulus", in the same spirit as the existing "Use daisyUI with HTMX" guide.
Why it isn't a repeat of the Rails guide
Stimulus doesn't touch CSS, so the setup section would be short and mostly link out to the Rails and Vite guides. The rest would be Stimulus-specific:
Persisting Theme Controller to localStorage. The component docs already link a React example for this, so this would be the Stimulus equivalent.
Modal, dropdown, and toast as small controllers, keeping the behavior in a controller rather than an inline handler.
A short section on Turbo Drive and morphing, which affect <dialog> open state, <details open>, and restoring the theme before first paint.
Scope
One new file, packages/docs/src/routes/(routes)/docs/install/stimulus/+page.md, roughly the size of the Ember guide. I'd verify every sample in a running app first, including a Rails 8 app with morphing enabled.
Asks
Happy for me to write it, and could you assign me the issue?
If you'd like it on the install grid, I can send you the values and a logo for docs/data/frameworks.yaml, or open a PR against daisyui/api myself, whichever you prefer.
If you'd rather not add a grid entry at all, I could put the same content in a "Stimulus" section on the existing Rails page instead. Either works.
Thank you @neotan
for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I
find a solution.
In the meantime providing more details and reproduction links would be
helpful.
Activity
github-actions commentedon Jul 31, 2026
Thank you @neotan for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.
saadeghi commentedon Jul 31, 2026
Thanks!
I'll add the logo.
Let's add a new page. Don't edit the existing Rails page.