Form component
The form component is used for create a form.
<form> <div> <label for="name">Firstname</label> <input type="text" id="firstname" name="firstname" /> </div> <div> <label for="name">Lastname</label> <input type="text" id="lastname" name="lastname" /> </div> <input type="submit" value="Submit" class="primary"> </form>
Usage
The form component does not have a specific class.
Other examples
Colors
The form component can be colorized with the following colors (CSS class):
- primary
- success
- error
- warning
- info
The colors is used directly in the form element.