Skip to content

Input

Single-line text input with prefix, suffix, clear, password toggle, etc.

Basic Usage

loading

Disabled, Readonly & Clearable

loading

Size & Shape

loading

size: xs / sm / md / lg / xl.
shape: default / round / pill.

API

PropDescriptionTypeDefault
modelValueBound valuestring | number-
typeInput typestring'text'
sizeSizeComponentSize'md'
shapeShape'default' | 'round' | 'pill''default'
disabledDisabledbooleanfalse
readonlyReadonlybooleanfalse
clearableClearablebooleanfalse
placeholderPlaceholderstring''

Events: update:modelValue, input, change, focus, blur, clear.

MIT License