Form Elements
Forms are the standard way to receive user inputted data. The transitions and smoothness of these elements are very important because of the inherent user interaction associated with forms.
Text fields allow user input. The border should light up simply and clearly indicating which field the user is currently editing. You must have a .input-field
div wrapping your input and label. This helps our jQuery animate the label. This is only used in our Input and Textarea form elements.
The validate class leverages HTML5 validation and will add a valid
and invalid
class accordingly. If you don't want the Green and
Red validation states, just remove the validate
class from your
inputs.
Textareas allow larger expandable user input. The border should light up simply and clearly indicating
which field the user is currently editing. You must have a .input-field
div wrapping your input and label. This helps our jQuery animate the label. This is only used in our
Input and Textarea form elements.
Textareas will auto resize to the text inside.
Select allows user input through specified options. Make sure you wrap it in a .input-field
for proper alignment with other text fields. Remember that this is a jQuery plugin so make sure you
initialize this in your document ready.
- Choose your option
- Option 1
- Option 2
- Option 3
- team 1
- Option 1
- Option 2
- team 2
- Option 3
- Option 4
- Choose your option
example 1
example 2
example 3
- Choose your option
example 1
example 2
example 3
Add a range slider for values with a wide range. This one is set to be a number between 0 and 100. We have two different types of sliders. nouiSlider is a 3rd party plugin which we've modified. To use the
noUiSlider, you will have to manually link the nouislider.css
and
nouislider.js
files located in the extras folder.
noUiSlider
See noUiSlider's official documentation hereto see a variety of slider options