Types
Form
A form
Content
Field
A field is a form element containing a label and an input
Fields
A set of fields can appear grouped together
Text Area
A textarea can be used to allow for extended user input.
HTML Select
If Javascript or ui dropdown are not a viable option, forms also can provide basic styling for select elements
States
Loading
If a form is in loading state, it will automatically show a loading indicator.
Success
If a form is in an success state, it will automatically show any success message blocks.
Error
If a form is in an error state, it will automatically show any error message blocks.
Warning
If a form is in warning state, it will automatically show any warning message block.
Field Error
Individual fields may display an error state
Disabled Field
Individual fields may be disabled
Read-Only Field
Individual fields may be read only
Form Variations
Size
A form can vary in size
Equal Width Form
Forms can automatically divide fields to be equal width
Inverted
A form on a dark background may have to invert its color scheme
Field Variations
Inline Field
A field can have its label next to instead of above it.
Required
A field can show that input is mandatory
Group Variations
Evenly Divided
Fields can have their widths divided evenly
Grouped Fields
Fields can show related choices
Equal Width Fields
Fields can automatically divide fields to be equal width
Inline Fields
Multiple fields may be inline in a row