Make useForm compatible with shadcn Form component out of the box #2046
RiadhKHEDHIRI
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
shadcn/ui
is the most popular UI components collection for React. Its counterpart for Vue and Svelte are:shadcn-vue
shadcn-svelte
They all have the
Form
component to build well-designed HTML forms. Typically, they are wrappers around these libraries to provide composable components for building forms with validation using libraries suchZod
:They expect
useForm
to return some controls and attributes.For more details, here are the direct links to the documentation:
It would be nice to enhance
useForm
to useshadcn
forms out of the box. Thank you 🙏Beta Was this translation helpful? Give feedback.
All reactions