Hygge-UI

Input

Used to get user input in a text field.

Source

Examples

Variants

Use the variant prop to change the visual style of the input.

Sizes

Use the size prop to change the size of the input.

Helper Text

Pair the input with the Field component to add helper text.

We'll never share your email.
We'll never share your email.

Error Text

Pair the input with the Field component to add error text.

This field is required.
This field is required.

Field

Compose the input with the Field component to add a label, helper text, and error text.

Disabled

Use the disabled prop to disable the input.