Displays a form textarea or a component that looks like a textarea.
❯buridan add textareaUse the following to build the Textarea component.
from components.ui.textarea import textareaFor manual installation, copy each of the source codes below in their respective locations.
A standard multiline text input. Auto-grows with content via field-sizing-content.
Props used: none required beyond default textarea(...).
Pair with field.root, field.label, and field.description for a structured, labeled field.
Props used: id on textarea; html_for on field.label.
Enter your message below.
Use disabled on textarea. Add data_invalid/disabled state to field.root to propagate consistent visual styling across the label and description too.
Props used: disabled on textarea.
Use aria_invalid on textarea to mark it invalid, and data_invalid="true" on field.root to style the whole field block accordingly.
Props used: aria_invalid on textarea; data_invalid on field.root.
Please enter a valid message.
Native browser autocomplete/spellcheck attributes are disabled by default (autoComplete, autoCapitalize, autoCorrect, spellCheck) — override via custom_attrs if you want them back for a specific field.
textarea(id="comment", placeholder="Leave a comment...")
Any other prop accepted by a native <textarea> is also passed straight through.