Input

Introduction to using the Input component

Input 介紹示意圖

Input fields are components that allow webpages and users to exchange information. The information can be of various types, such as passwords, single-line text, and multi-line text. For password types, consideration must be given to preventing others from seeing what the user types, and sometimes users forget where they typed, so a button is provided to reveal the hidden text. Additionally, users may need a clear button to quickly clear and re-enter content.

circle-exclamation

Size

Placeholder text

Disabled

Required

Read-only

Error hint

Access key

Hide clear button

Type

Attributes

Name
Value
Type
Default
Required
Note

id

value

[ String, Number ]

size

small, large

type

placeholder

disabled

required

readonly

error

accesskey

disabledClear

Demo

Last updated

Was this helpful?