Baustein UI

Layer · Forms

Planned · v0.2

Textarea.

bau-textarea

Multi-line text input. Form-associated, autogrow on demand, character counter, paste-aware, IME-friendly.

Coming soon

Planned

This component is on the roadmap. The page exists so the navigation structure stays stable while the implementation catches up. Below is the feature surface we plan to ship.

  • autogrow — height tracks content up to maxRows, then scrolls.
  • minlength / maxlength with live ::part(counter).
  • resize'none' | 'vertical' | 'both'; respects shadow boundary.
  • Form participation: setFormValue, required with valueMissing.
  • IME composition events handled — counter updates settle on compositionend.
  • Paste sanitization hook — strips RTF/HTML by default, opt-in to preserveFormatting.
  • Slots: error, help, counter.
  • A11y: aria-describedby auto-wired to help/error/counter; live region on counter approaching limit.