Magoo Component UI logo Magoo Component UI
← Catalog

Report an Issue Form

feedback-gov molecule experimental

A compact report-an-issue form — category select, description textarea, optional location, and a submit button that dispatches the report.

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
Parks

Props

NameTypeReq
categories array ✓
placeholder string

Related components

Related Public Record Row · molecule forms/contact-form

How to use

behavior.js handles submission: it prevents the default navigation and dispatches a bubbling CustomEvent "issue:report" with detail { category, details, location } read from the select, textarea, and location input. Wire your own handler to POST the report. The form has no client-side validation beyond the browser default, so validate server-side.

Use cases

form WCAG AA SEO 35 dir: both ai-generated