Skip to content
coatx
Esc
↑↓navigate↵open⌘Jpreview
On this page

Textarea

Multi-line text input styled with matching focus ring and invalid states.

Usage

import { textarea } from "coatx/textarea";

export const BioField = () => (
  <textarea rows={4} placeholder="Write a short bio..." {...textarea()} />
);

Exports (coatx/textarea)

Export Description
textarea(options?) Textarea recipe
textareaStyles Compiled StyleX style map

Options

Option Type Default
invalid boolean false
disabled boolean false

Was this page helpful?