Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

textarea

v4.15.0arrow_drop_down
v4.15.0
STATUS
Passing
DOWNLOADS
97
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
A year ago
SIZE
N/A
The Textarea components maps directly to a textarea element.
1 contributor
Install textarea as a package?
Copied
npm i @bit/segmentio.evergreen.textarea
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
modifieddraft
modifieddraft
modifieddraft
chevron_left
chevron_right
Properties
NameTypeDefault valueDescription
required
bool

Makes the textarea element required.

disabled
boolfalse

Makes the textarea element disabled.

isInvalid
boolfalse

Sets visual styling of only the text area to be "invalid". Note that this does not effect any validationMessage.

spellCheck
booltrue

Use the native spell check functionality of the browser.

grammarly
boolfalse

Allow the Grammarly browser extension to attach to the backing textarea.

placeholder
string

The placeholder text when there is no value present.

appearance
string'default'

The appearance of the TextInput.

width
string | number'100%'

The width of the TextInput.

theme
(required)
object

Theme provided by ThemeProvider.

className
string

Class name passed to the button. Only use if you know what you are doing.