Input shape

Inputs can be customized to show different shapes. The default shape is rounded. You can change the shape of all inputs by setting the shape property.

Default shape of all <BaseInput> can be set in your .app/app.config.ts.
Show code

Input icon

Inputs can have a configurable icon on the left side using the icon prop. Make sure to pick meaningful icons for your use case.

Show code

Floating labels

Inputs can have a material design style floating label using the labelFloat prop.

Show code

Small inputs

Inputs can be displayed in a smaller and more compact way using the size prop with the sm value.

Show code

Colored focus

Inputs can have a primary colored focus using the colorFocus prop.

Show code

Loading state

Inputs can be shown in a loading state using the loading prop.

Show code

Disabled state

Inputs can be shown in a disabled using the disabled prop.

Show code

Error state

Inputs can be shown in an error state using the error prop. You can also set a custom error message using the same prop.

This email is already taken
Show code

Grouped inputs

Inputs and selects can be grouped with buttons using the BaseButtonGroup component.

Show code
This component has no props