Magoo Component UI logo Magoo Component UI
← Catalog

Feedback Widget

feedback-widget molecule experimental

A floating launcher button that opens a small panel to rate and send written feedback.

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
Open

Props

NameTypeReq
label string
start_open boolean

Related components

How to use

The panel reveal is pure CSS driven by the root's data-open attribute through group-data-[open=true], so the open state (start_open) renders in screenshots with no JavaScript; the closed panel is hidden with invisible, opacity-0 and pointer-events-none. behavior.js toggles data-open from the launcher (syncing aria-expanded), closes on Escape or an outside click, tracks the star rating, and on Send dispatches a bubbling "feedback:send" CustomEvent with { rating, message } then closes. The portable self-init reads no props object.

Use cases

highlight WCAG AA SEO 10 dir: both ai-generated