Magoo Component UI logo Magoo Component UI
← Catalog

Snooze Menu

snooze-menu molecule experimental

A snooze-until dropdown listing preset times plus a custom "Pick date & time".

Also in: OverlaysNavigation

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
trigger_label string
start_open boolean
options array ✓

Related components

How to use

Open/closed state lives on the root's data-open attribute and the panel is revealed entirely by the group-data-[open=true] Tailwind variants, so it renders correctly (including the start_open preview) with no JavaScript. behavior.js wires interaction: the trigger toggles data-open and aria-expanded; clicking a preset dispatches snooze:pick with { label, when } and the footer dispatches { label: "Pick date & time", custom: true }, both closing the menu; Escape or an outside click closes it. The portable self-init reads no props object.

Use cases

overlaynav WCAG AA SEO 10 dir: both ai-generated