Skip to content

Any plan to support React? #451

Answered by saadeghi
kaushalyap asked this question in Q&A
Discussion options

You must be logged in to vote

daisyUI is just CSS.
So everything works in React, Vue, Svelte, etc...

For React, you just need to replace a few things in your HTML: Replace class with className and make sure all self closing tags have slash at the end (like <input /> instead of <input>)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@kaushalyap
Comment options

@kaushalyap
Comment options

@kaushalyap
Comment options

Answer selected by kaushalyap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants