Accent theme

Base radius

Accent theme

Base radius

Colour scheme
Components

Textarea

A real <textarea> that grows with its content via field-sizing: content, instead of a JavaScript scrollHeight-measuring resize handler. Falls back to a manual resize handle in browsers that don't support it yet.

It grows as you type, no JavaScript resize handler.

Usage
import { Textarea } from "@kernelui/react";

<Textarea label="Feedback" description="What went wrong?" />

Props

PropTypeDefault
labelReactNode (required)
descriptionReactNode
errorMessageReactNode
invalidbooleanfalse