Components

Textarea

A multi-line input component for longer text entries.

Loading...

Installation

Install the registry item directly, then add any package dependencies if you are setting the component up manually.

1

Install the component

Run the registry command below to add textarea to your project.

watermelon add textarea
2

Import the component

Import Textarea from your local UI registry output.

Import

import { Textarea } from "@/components/ui/textarea";

Import

Import

import { Textarea } from "@/components/ui/textarea";

Usage

The Textarea is an extended TextInput that defaults to a multi-line format with a consistent border and background.

Basic Usage

Provide a placeholder for user guidance.

Loading...

API Reference

Textarea extends the standard TextInput props from React Native and adds support for the variant prop.