Textarea

Forms

A multi-line text field with the same borderless field treatment.

Live preview

Markdown is supported.

Installation

Import the component from the kit. The package ships source and is transpiled by Next.js.

Import
import { Field, Textarea } from "@nphuonha/ui-kit";

Usage

Compose the component with your own content. All controls share the same focus, disabled and invalid states.

Usage
<Textarea placeholder="Write something..." rows={4} />

API Reference

Props are additive to the underlying Base UI or native element.

PropTypeDefaultDescription
errorboolean—Applies the invalid visual state.
placeholderstring—Hint text when empty.
rowsnumber—Native textarea rows.
disabledboolean—Disables the field.