v0.1 public beta early access on GitHub
Home / Components / textarea

TextareaiOS

Multiline field with auto-grow and character count.

$ npx lumioui add textarea
import { Textarea } from "@/components/ui/textarea/textarea";
Textareatextarea.tsx
textarea/textarea.tsx open

Live preview — the real component, driven by the props below.

Props10
label? string Visible label above the field.
helper? string Helper text below the field.
error? string Error message — turns the field red.
minHeight? number Minimum height in points. Default 96.
autoGrow? boolean Grow with content.
showCount? boolean Show a live character count under the field ("n" or "n/max" with maxLength).
className? string NativeWind classes for the input.
glass? boolean Liquid-glass field — rounded material instead of the flat fill.
containerClassName? string Classes for the outer wrapper.
multiline? boolean
Textarea — Errorerror.tsx
textarea/variants/error.tsx open

Multiline field with auto-grow and character count.

Textarea — Glassglass.tsx
textarea/variants/glass.tsx open

Multiline field with auto-grow and character count.

Textarea — Notenote.tsx
textarea/variants/note.tsx open

Multiline field with auto-grow and character count.