Form
Form
Elements
The component is composed of multiple elements:
form
the wrapperform__title
optional title or titlesform__content
wrapper for form fields, composed of multipleinput
componentsform__action
form submit actions, composed of one or multiple button components
Properties
Add classes to the wrapper class to change the style of the component.
Dense
Make the margins and paddings of the form component smaller.
class="form form--dense"
Card
Add a background color and a box-shadow to the form, as if it was in a card component. This special styling disappears on small devices.
class="form form--card"