Skip to content

Textarea

Multi-line text. Grows with its content in browsers that support field-sizing.

Basic

Markdown is supported.

Installation

Everything ships in one stylesheet. There is nothing to import per component.

<link rel="stylesheet" href="https://mian.ro/dist/mian.css">

Prefer to own the files? /r/textarea.json is a registry item with this component's CSS and example markup, ready to copy into your project with any tool that reads the open registry-item format.

Class reference

Class / attributeDescription
mn-textareaBase textarea. Resizes vertically.

Accessibility

  • Label it like any input. If you enforce a maximum length, show the count and link it with aria-describedby.
Choose a noodle

Minimal

Flat

Pixel

Linear

Thin

Glass

Textured

Bold

Elegant

Rounded

On this page