Input

Form component used for inputting data directly from the keyboard.

Example

Input

Disabled State

Disabled Input

Readonly State

Readonly Input

Clearable Input

Input

Prefix and Suffix

Inkline allows you to easily add a prefix or suffix to your inputs. Using prefixes and suffixes you can, indicate your input type using an icon or text.

Input

Prepend and Append

You can add additional content such as select fields, buttons or plain text, to either side of the input by using the prepend and append slots.

Input Text Prepend and Append
Input Button Prepend and Append
Input Button Prepend and Append

Sizes

You're able to use the size modifier to control the size of your inputs, using one of the available sizes: sm, md, and lg. The default size is set to md.

Input Sizes

Types

Behind the scenes, Inkline uses a native HTML <input> element, meaning that you can use the type property to define the type of the input, such as text, password, date, email, and so on.

Input Type

Component API

Here you can find a list of the various customization options you can use for the input component as props, as well as available slots and events.

Input API

Sass Variables

Here you can find a list of the Sass variables you can use for the input components. If you're looking to find common variables that these rely on, you should take a look at the Sass Variables page.

Input