Skip to content

Quill docs

Textarea

A labelled multi-line text control with rows, maxlength, required/disabled/readonly, and validation state.

Preview#

This preview is server-rendered from the real qquill-design builder; the page ships the component CSS that builder returns, so the docs cannot drift from the crate API.

Design-system contract#

  • BUILT: label and textarea are wired by id; text content is escaped as element content.
  • BUILT: validity/required/disabled/readonly contract is inherited from qquill-ui.
  • Use for human-written content; never place secrets in frontend form defaults.

Code#

Construct the component with its builder:

Textarea::new("notes", "Release notes")
    .rows(4)
    .maxlength(240)
    .placeholder("What changed?")
    .render()