Skip to Content
glob.ui home
Components

Textarea

A multi-line text field with the same sizes and states as Input.

Server componentNo state or handlers. Safe to render in a Server Component.
import { Textarea, textareaVariants } from "@glob-ui/textarea"

Preview

Examples

With a Field

Description text is linked to the textarea with aria-describedby.

Max 200 characters.

API

Props are generated from the TypeScript types in the package source.

TextareaProps

Prop

Type

Accessibility

Key or actionBehaviour
TabFocuses the textarea.
EnterInserts a line break (native behaviour).

ARIA. A native <textarea>. Give it a name with Field or aria-label.

On this page