Magoo Component UI logo Magoo Component UI
← Catalog

Reply Composer

reply-composer molecule experimental

A compact reply editor — an avatar beside a bordered field with a small formatting toolbar and a primary Reply button.

Also in: Forms

The width preview needs a screen wider than the chosen width — use a larger device (or a desktop browser) to see the desktop and tablet layouts.

Default
NoAvatar

Props

NameTypeReq
placeholder string
avatar string

Related components

How to use

behavior.js wires the Reply button: on click it reads the textarea value, dispatches a bubbling "reply:submit" CustomEvent with { value }, then clears and refocuses the field. The toolbar buttons are skeleton affordances with no wired behaviour. No props object is passed to init.

Use cases

form WCAG AA SEO 15 dir: both ai-generated