Input
Last updated
Last updated
Inputs let users enter and edit text.
Input can be dark on the bright screen.
Input can be disabled:
You can make input bordered:
You can make the input with a caption:
You can make the input with a label:
Name
Type
Description
placeholder
string
A string to be displayed when there is no value.
dark
bool
Makes input dark.
disabled
bool
Makes input disabled.
label
ReactText | (TextProps) => ReactElement
String, number or a function component to render above the input field. If it is a function, expected to return a Text.
caption
ReactText | (TextProps) => ReactElement
String, number or a function component to render below the input field. If it is a function, expected to return a Text.
value
string
A value displayed in input field.