Documentation
Textarea

Textarea

Retrieve multi-line user input.

Usage

First of all, you need to import the Textarea component from the kitchn package.

import { Textarea } from "kitchn"

Default

Disabled

Error

Props

NameTypeDefaultRequiredDescriptionAccepted values
placeholderstring--The placeholder of the textarea.-
disabledbooleanfalse-The status (disabled or not) of the input.-
erroredbooleanfalse-The type of the textarea.-
defaultValuestring--The default value of the textarea.-
widthnumber | string100%-The width of the textarea.-
heightnumber | stringauto-The height of the textarea.-
resizestringprimary-The CSS resize attribute of the textarea.none, both, horizontal, vertical