Input

A styled text input with support for various types, error states, and browser feature control.

Interactive Playground

Input

Try different types and states

Value: (empty)

Props

PropTypeDefaultDescription
value string''Input value (bindable)
type string'text'HTML input type
placeholder string-Placeholder text
disabled booleanfalseDisable the input
required booleanfalseMark as required
error booleanfalseShow error state
disableBrowserFeatures booleanfalseDisable autocomplete/autocapitalize
oninput function-Input event handler
onchange function-Change event handler

Examples

Basic Usage

Password Input

Error State