Sourceful Energy

Textarea

Displays a form textarea for multi-line text input.

Installation

import { Textarea } from "@sourceful-energy/ui"

Usage

Examples

With Label

With Default Value

Disabled

With Character Limit

Max 200 characters

With Helper Text

Notes are only visible to you.

Props

PropTypeDefaultDescription
placeholderstring-Placeholder text displayed when empty.
disabledbooleanfalseWhether the textarea is disabled.
rowsnumber-Number of visible text lines.
classNamestring-Additional CSS classes.

Accessibility

  • Uses native <textarea> element
  • Always pair with a Label component for accessibility
  • Supports all standard textarea attributes
  • Focus ring visible for keyboard users