Replies: 2 comments 3 replies
-
|
DaisyUi is just a design. Handling GUI state in react is totally valid and it's the main purpose of react. Using a headless library to manage a GUI component is great too. I.e. I use react-table and use DaisyUi's table component. It's great! |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
@vnugent You could always try https://github.com/daisyui/react-daisyui 😄 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Wow, first off thank you for creating such a beautiful and well-thought out library!
Our project is NextJS + TailwindCSS. It's been working well for us during prototyping stage. We are now looking for a component library so that we don't write our own UI components.
One thing I'm not 100% clear is how to use Daisy in React. For example, if I want to use Daisy Bottom nav I still have to manage its active state in React. Something I'm trying to avoid. Which leads me to think, maybe I can combine Daisy with a headless ui React framework such as @HeadlessUI or Radix primitives?
In this particular example, I'd use Daisy bottom nav classes to style Radix Tabs. Is there any reason why combing Daisy with a headless React UI framework is a bad idea? I did some google search but it seems no one is doing this.
Beta Was this translation helpful? Give feedback.
All reactions