InputText

v2.0.2
duplicate

Install and import

Default

Clearable

Use the isClearable prop to add a cross button to remove the content (value) of the TextInput

Icon

Pass an icon through to decorate your InputText

Sizes

Inline

Disabled

Properties

NameType(s)DefaultRequired
autoFocus
bool
connected
bool
disabled
bool
icon
node
iconPlacement
left
right
left
isClearable
bool
name
string
onBlur
func
onChange
func
onFocus
func
onKeyDown
func
placeholder
string
size
sm
md
lg
lg
type
string
text
value
string
variant
error
info
success
valid
warning

Dependencies

Peer dependencies