Components/Textarea

Textarea

Newform

Multi-line text field with label, helper text, disabled state, and error styling.

import { Textarea } from '@/components/forge'

Preview

Textarea

Resize the field if you need more room.

Code Example

Props

PropTypeDefaultRequiredDescription
labelReact.ReactNode-NoVisible label above the textarea
helperTextReact.ReactNode-NoHelper copy below the textarea
errorReact.ReactNode-NoError message and invalid styling
disabledbooleanfalseNoDisables interaction

Variants

defaulterrordisabled

Accessibility

  • Uses a native textarea element
  • Label is linked with htmlFor
  • Error state sets aria-invalid

Related Components