byronwade/ui
Application UI

Forms · Application UI

Textarea

A styled textarea element that auto-sizes to its content and supports focus, disabled, and invalid states via standard HTML textarea props.

Feature showcase

Installation

Features

  • 7 examples

    Default, Auto Resize, Character Count, Disabled, Error State, Readonly, With Label And Hint.

API

Props

PropTypeDefaultDescription
classNamestring-Additional CSS classes to merge with the default textarea styles.
...propsReact.ComponentProps<"textarea">-All standard HTML textarea attributes (value, placeholder, onChange, rows, disabled, aria-invalid, etc.).

Source and related

FilePath
Componentregistry/ui/textarea.tsx
Default examplecontent/examples/textarea/default.tsx
Auto Resize examplecontent/examples/textarea/auto-resize.tsx
Character Count examplecontent/examples/textarea/character-count.tsx
Disabled examplecontent/examples/textarea/disabled.tsx
Error State examplecontent/examples/textarea/error-state.tsx
Readonly examplecontent/examples/textarea/readonly.tsx
With Label And Hint examplecontent/examples/textarea/with-label-and-hint.tsx