Field

Add functionality and styling to form elements/inputs by grouping components together

Codesandbox

Email is invalid

Username is available


Addons

Multiple controls in a field get attached. Use expanded property on the control to fill up space on the line.
Codesandbox



Groups

Use the grouped property to group controls together. Use the expanded property to make a control take up remaining space.
Codesandbox


Nested Groups

You can nest fields inside fields. You have to use the expanded property on the Field to fill up the remaining space.
Codesandbox

Responsive Groups

Add groupMultiline property to allow controls to fill up multiple lines.
Codesandbox

Positions

Use position property to align Field horizontally.
Codesandbox

API

Name Description Type Values Default
type Type (color) of the field and help message. Also adds a matching icon., optional String is-white, is-black, is-light, is-dark, is-primary, is-info, is-success, is-warning, is-danger
label Label for input, optional String
labelFor Same as native for on label, optional String
message Message to show beneath input, optional String
grouped Direct child components/elements of Field will be grouped horizontally Boolean false
groupMultiline Allow grouped controls to cover multiple lines Boolean false
position Alter the alignment of the field, optional String is-centered, is-right
addons Automatically attach child controls together Boolean true