
2-bedroom apartment, Brooklyn
Park Slope · 780 sq ft · floor 3 of 4
$2,450/mo
Mobile
v1.0.0Added in 1.0.0
The iOS action sheet: a short list of actions about one thing, with a title, red destructive rows and a separate Cancel, plus await show().
Tap the trigger and, on a phone, the page dims while the sheet slides up from the bottom: the title card with its actions floats 8px above the home indicator and Cancel sits in its own card under it (material: one attached sheet with a handle, icon rows and Cancel as the last row). Tap an action to run it and close the sheet; tap Cancel or the dimmed page, or drag the sheet down, to dismiss. An action that returns a promise shows a spinner in its row while the other rows dim and wait; the sheet closes when it resolves, and when it fails the row shakes and stays ready to retry. From 768px it opens as a compact dialog (or a menu anchored to the trigger with desktop="popover", or the same sheet with desktop="sheet"). Keyboard: focus lands on the first action (on Cancel when the first action is destructive), Up and Down move between the actions and Cancel, Home and End jump to the ends, Enter or Space runs the focused one, Tab cycles inside, Escape cancels and focus returns to the trigger, or for show() to whatever had it before. With reduced motion the sheet and dialog fade and nothing shakes.
npx wingo-ui@latest add action-sheetPro item: the CLI needs a Pro account. See plans

2-bedroom apartment, Brooklyn
Park Slope · 780 sq ft · floor 3 of 4
$2,450/mo
Tap ⋯ on the listing. Resize below 768px (or open the phone frame) for the iOS sheet.
400px dialog · auto-aligned · auto icons · cancel “Cancel” · closes on action