Skip to content
7 Seventh UI CSS

Components

Bitbucket Figma

Input

Plain CSS implementation of the Figma Input section, node 894:2558.

Default

Support Text

0/30 Caracteres

Support Text

States

Support Text

Support Text

Support Text

Validation

Value accepted

Review this value

Review this value

Invalid state remains visible while the field is focused. The application or runtime owns validation and removes aria-invalid="true" or .sui-field--error when the value is corrected.

Visualize

Dark Theme

Support Text

Review this value

CSS API

Use .sui-field for labels, support text, and state; use .sui-input for the visual shell and .sui-input__control for the native input.

<div class="sui-field sui-field--error"> <label class="sui-field__label" for="email">Email</label> <div class="sui-input"> <input class="sui-input__control" id="email" aria-invalid="true"> </div> <p class="sui-field__support">Review this value</p> </div>