Popups / headless primitive
BottomSheet
Mobile-first modal surface with snap points, safe-area layout, and swipe dismissal.
BottomSheet / interactiveFluid · fits available space
Semantic parts
Spread each part getter onto the matching element, then style its stable state attributes.
providerindent-backgroundindenttriggerswipe-areaportalbackdropviewportpopuphandlecontenttitledescriptionclosevirtual-keyboard-providerKeyboard guidance
Open the sheet with its button. This preview is modal. Compact and Expanded are native buttons; the drag handle has no keyboard shortcut for changing snap points.
Keys from the Clank controller contract, with preview and configuration notes. Disabled or read-only controls may prevent changes.
- Escape
- Close the topmost layer
- Tab
- Move within a trapped focus scopeWhile open in modal mode, as shown in this preview. Shift+Tab moves backward.