Forms

Textarea

A multi-line field for prose. Sans for what you type, mono for the placeholder, and an error state.

view .md
Preview
Installation
terminal
bash
npx @entrepta/cli@latest add textarea

// Resolves dependencies, copies the source, and installs npm packages automatically.

Usage
textarea.tsx
tsx
import { Textarea } from "@/components/entrepta/textarea"

<Textarea placeholder="// what are you building?" />
<Textarea state="error" rows={6} />
Props
PropTypeDefaultDescription
state"default" | "error""default"Error sets the border and aria-invalid
rowsnumber4Visible lines
Active theme: entrepta, dark mode.