Input

Displays a form input field or a component that looks like an input field.

Usage

Simply add the input class to your <input> element or have a parent with the form class (read more about form). You can also set the aria-invalid attribute to true to make the input invalid.

<input class="input" type="email" placeholder="Email">

Examples

Invalid

Disabled

With label

With text

Fill in your email address.

With button

Form

This is your public display name.