Menu

Form

A form is a container for different types of input controls which allow a user to submit information to the application.

Minimum requirements
  • 1 image (div[data-image])
  • 1 heading (h3)
  • 1 paragraph (p)
  • 1 submit button (a.button)
Advanced settings

Presets

?

Variations

?

Modifiers

?

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.


HTML
Copy to clipboard

Details

Usage

The form component is a simple snippet that shows how to include basic form elements in your web project.

Guidelines

  1. Requires input controls to submit information

HTML structure

Overall HTML view of a form component:

HTML file (.html)
(other component(s))
div.form
div[data-image]
div.form-content
h3
p
form
(form elements)
(other component(s))

Presets

Form presets:

PresetDescription
DefaultDefault template.

Variations

Form variations:

VariationDescription
DefaultComposed of form element examples.

Most component variations are just samples of what can be achieved. Some components are flexible and expandable and this variations might not reflect all possible options.

Modifiers

Form classes:

ClassDescription
-two-columnsAffects the form layout displaying the elements in two columns.

To enable a modifier, add it as a class to the outermost element of this component.

Embedding

The form component cannot be embedded inside other component.

main (HTML file)
(component)
div.form

Nesting

The form component cannot be used as a container of other components and/or elements.

main (HTML file)
div.form
(Element)