WUI logo

Textarea

Allows user to get some text informations in multiples lines.

version

5.0.0-alpha.16

install

yarn add @welcome-ui/textarea

usage

import { Textarea } from '@welcome-ui/textarea'

Usage #

With Field #

Example with Field component

Properties #

NameType(s)DefaultRequired
autoFocus
Boolean
disabled
Boolean
maxLength
number
minRows
number
5
name
string
onBlur
(event: FocusEvent<HTMLTextAreaElement, Element>) => void
onChange
(event: ChangeEvent<HTMLTextAreaElement>) => void
onFocus
(event: FocusEvent<HTMLTextAreaElement, Element>) => void
onKeyDown
(event: KeyboardEvent<HTMLTextAreaElement>) => void
placeholder
string
value
string
size
"xs"
"sm"
"md"
"lg"
md
variant
"error"
"focused"
"info"
"success"
"warning"
transparent
Boolean
isClearable
Boolean
hasIcon
Boolean
iconPlacement
"right"
"left"
"both"

Packages #

Dependencies #
Peer dependencies #

Previous

Slider