Forms

Default Lookbook styling for a bunch of form inputs.

Labels

Sometimes, we want the bold, smaller style. Lookbook CSS tries to intelligently apply this style globally. The base case is normally sized label, as seen below. Use .label to manually apply the bolder style.

Text inputs

Inline

Use as .mode-inline. Ideally used on grey backgrounds.

Input group

Text area

Select

Error state

Validation API

Applying .input-invalid

Some description with .input-warning

Misc

<progress>

50%

100%

<meter>

at 80/100 at 50/100 at 30/100

Content editable (fake textarea)