edbnedbn/ui
Get Started
WelcomeWhy We're DifferentChoosing a VariantChangelogLicense
Components
OverviewAlert DialogCheckboxCollapsibleDialogFieldInputMenuNumber FieldPopoverProgressRadioScroll AreaSelectSeparatorSliderSwitchTabsToggleTooltip
Shared Components
InputTextarea
CardAvatarTableAlertBreadcrumbPagination
0installs
ComponentsMaps
GitHub stars
HomeDocsComponentsSharedTextarea

On this page

Textarea (Shared)

Multi-line text input with optional auto-resize. Matches the Input styling with focus ring and validation states.

Overview

Textarea supports an autoResize prop that grows the textarea height as you type, removing the need for a scrollbar. It listens to both controlled value changes and direct user input.

Usage

import { Textarea } from "@/components/ui/shared/textarea"
<Textarea placeholder="Type here..." />

Installation

Install via CLI

TypeScript
npx edbn-ui@latest add textarea

Examples

Default

Auto Resize

Disabled

API Reference

autoResizeboolean
=false

When true, the textarea grows automatically as you type

placeholderstring

Placeholder text

disabledboolean
=false

Disable the textarea

classNamestring

Additional CSS classes