Components

Input

Internal

A component to allow users to enter a small, single piece of data.

Props
NameTypeDefaultDescription
idstring-'id' attribute to place on the base HTML element
classBlockstring-Block name override in BEM style classes applied to all elements
classModifiersModifiers-BEM style modifiers to apply to the base HTML element
classNamestring-Extra classes to apply to the base HTML element
suffixstring-Suffix to show after the field

Stories

Standard

A standard Input.

Fixed width

An Input with fixed width.

Prefix and suffix

An Input with a prefix and a suffix.

E-mail

Password

Number

Colour

Unofficial

Date

Unofficial

Datetime local

Unofficial

Time

Unofficial

File

Unofficial

Month

Unofficial

Week

Unofficial

Range

Unofficial

Search

Tel

URL

Checkbox

Unofficial

Radio

Unofficial