Svelte Material UI
View Docs: form-field
Join the Discord Server
Hunter Perrin (SMUI Author) on Twitter
SMUI on GitHub
Lights on
Form Fields
Installation
npm i -D @smui/form-field
Demos
Checkbox
Form fields let you click the label to toggle or focus the form control.
Checked: No
View form-field/_Checkbox.svelte on GitHub
Show the source code
End alignment
The input can be aligned at the end too.
Checked: No
View form-field/_EndAlignment.svelte on GitHub
Show the source code
Radio button
Yes
No
Selected: yes
View form-field/_Radio.svelte on GitHub
Show the source code
Switch
I agree to the terms and conditions of the software,
and hereby sign away my rights just to use this app.
Agreed: Not yet.
View form-field/_Switch.svelte on GitHub
Show the source code