Skip to content
nexubDesign System
v2.4.0

Components · Form & Input

Textarea

StableSince v0.0.1

A multi-line text input with configurable resize behaviour, size, and validation states.

import { Textarea } from '@nexub/react';

Examples

Default

Sizes

Invalid

Props

Props
PropTypeDefaultDescription
placeholderstring—Placeholder text shown when the field is empty.
disabledboolean—Disables the textarea.
invalidboolean—Applies error styling to indicate a validation failure.
rowsnumber—Initial visible row count.
resize'none' | 'vertical' | 'horizontal' | 'both''vertical'Controls resize handle visibility.
size'sm' | 'md' | 'lg''md'Controls font size and padding.

On iOS & Android