Magoo Component UI logo Magoo Component UI
← Catalog

Bug Report Form

bug-report-form organism experimental

A report-an-issue form with a title, severity select, description, and a dashed file-attach dropzone.

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

Drag & drop screenshots or logs

    Support

    Attach a screenshot or file

      Props

      NameTypeReq
      severities array ✓
      title_placeholder string
      placeholder string
      dropzone_label string
      submit_label string

      Related components

      How to use

      behavior.js opens the hidden native file input when "Browse files" is clicked, accepts files dropped onto the dropzone (toggling a data-dragging attribute while a drag is over it), and lists every chosen file by name. Submitting the form is intercepted (preventDefault) and re-broadcast as a bubbling "bug:report" CustomEvent with { title, severity, description, files }; the host owns validation and upload. Screenshots show the empty form since behavior does not run there.

      Use cases

      highlight WCAG AA SEO 30 dir: both ai-generated