huntabyte / shadcn-svelte

shadcn/ui, but for Svelte. ✨
https://shadcn-svelte.com
MIT License
5.03k stars 310 forks source link

Option to use form fields without <form>, SuperForms and Formsnap #1160

Closed lolmaus closed 3 months ago

lolmaus commented 3 months ago

Describe the feature

Hi!

Sometimes, you need a form field for page layout, without all the feavy lifting provided by <form>, SuperForms and Formsnap.

It is quite tedious to vivisect existing shadcn-svelte form components in order to strip them off unwanted complexity. I wish I were able to either generate separate simple form fields or opt out of SuperForms and Formsnap when generating existing form components.

huntabyte commented 3 months ago

That is too simple of a component that could be implemented in user-land. Form Fields in the context of this project and Formsnap have a different meaning than just "laying out the field" and I don't want that to be confused.