Form

Horizontal

Radio

Checkbox

Sizes

Widths

Icon

Not clickable
Clickable

Select

Radio, Checkbox and Select

Radio



Checkbox




Checkbox



Custom Controls

File

Here is a text
upload

Select

Note The hover and focus state for uk-form-custom are not styled by default, but you could use the adjacent sibling selector to do so.

Stacked

States and styles
Legend
Radio
Checkbox
Div as Input
This is a very long text which should be truncated
Div as Select
This is a very long text which should be truncate

JavaScript Options

Option Value Default Description
target CSS selector, Boolean false Value display target.