Magoo Component UI logo Magoo Component UI
← Catalog

Report Post

report-post molecule experimental

A flag-content form with a radio list of reasons, an optional details field and submit/cancel actions.

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

Report post

Tell us what is wrong with this post.

Reason
Comment

Report post

Tell us what is wrong with this post.

Reason

Props

NameTypeReq
reasons array ✓
placeholder string

Related components

How to use

The reasons render as radio inputs sharing one name; the details textarea and the two buttons carry hook classes. behavior.js intercepts the form submit, reads the checked reason radio and the details textarea, and dispatches a bubbling "report:submit" CustomEvent with detail { reason, details }. The Cancel button resets the form and dispatches "report:cancel". No props object is passed — everything is read from the DOM.

Use cases

form WCAG AA SEO 15 dir: both ai-generated