Name | Type | Values | Default |
---|---|---|---|
inputTextDisabled | Instance swap | - | size=default |
trailingActionDisabled | Instance swap | - | size=medium, state=disabled |
inputTextType | Instance swap | - | size=default |
label? | Boolean | true false | true |
trailingAction | Instance swap | - | size=medium, state=rest |
trailingAction? | Boolean | true false | false |
icon | Instance swap | - | EXTERNAL_COMPONENT |
leadingVisual? | Boolean | true false | false |
caption? | Boolean | true false | false |
size | Variant | small medium large | medium |
state | Variant | rest focus disabled read-only | rest |
validation | Variant | none invalid success | none |
inset? | Variant | true false | false |
fullWidth? | Variant | false true | false |
Text input
Text input is used to set a value that is a single line of text.
On this page
- Updated 21 Nov 2024
Playground
No preview available
label?
trailingAction?
leadingVisual?
caption?
inset?
fullWidth?
size
state
validation
Props
inputTextDisabled
15341:46418
trailingActionDisabled
15341:46476
inputTextType
15341:46436
label?
true
trailingAction
15341:46485
trailingAction?
false
icon
31742:155958
leadingVisual?
false
caption?
false
size
medium
small
large
state
rest
focus
disabled
read-only
validation
none
invalid
success
inset?
false
true
fullWidth?
false
true