github repository for svelte forms lib

Basic

Here's an example of a basic form component without any form validation.

Note that all <input/> , <select/> , and other form elements used, require a name attribute to bind to the correct field in the state.

Hover over the code snippet to copy over the example and use in your own svelte component.

This library does not include any styling for the forms. Feel free to copy and customize this css for your own use.

code

 
copy