Input Field Element

Text, Email, Date, and other one-line editing form controls.

The Input Element displays a grid of <input> HTML elements with support for text, date, email, number, password, tel, url, month, time, and week types. Each type is wrapped into a child element with its specific features and validation covered in the next sections.


Settings

Set multiple children of any type and control the display, grid, and settings of all of them within the parent with an option to override.

Input Element
SettingDescription
Show LabelShould the label be displayed for all children.
Show IconShould the icon be displayed for all children.
Input Common Settings
SettingDescription
SizeThe field size defined by uk-form-{size} modifier.
WidthThe field width defined by uk-form-width-{width} modifier.
Full WidthShould the field occupy the full width of its parent.
IconThe name of the Icon that will be displayed inside the field.
Icon AlignmentThe side of the field where the icon will be aligned, Left or Right.
Input Columns Settings
SettingDescription
Number of ColumnsThe amount of grid columns.
Column GapThe size of the gap between grid columns.
Row GapThe size of the gap between grid rows.

Types

Text

Plain-text form control.

Number

Number form control.

Password

Password form control.

Email

Email form control.

Url

URL form control.

Tel

Telephone form control.

Date

Date form control.

Time

Time form control.

Month

Month form control.

Week

Week form control.


Integration

Please refer to one of the child elements' documentation for specific integration details.

Previous
Button Reset