pro-ui

Textarea

Multi-line text input with label, description, and error state.

Import

import { Textarea } from '@dangbt/pro-ui'

Usage

<Textarea
  label="Bio"
  placeholder="Tell us about yourself..."
  rows={4}
/>

Props

PropTypeDefaultDescription
labelstring—Textarea label
placeholderstring—Placeholder text
descriptionstring—Helper text
errorMessagestring—Error state text
rowsnumber3Number of visible rows
isDisabledboolean—Disable the textarea

On this page