Element: #095 Footer and swipeToDismiss (feedback/sheet) What it shows: A bottom sheet titled Sessions with a footer button, opened with swipe to dismiss on or off. When to use: Mobile sheets with a pinned primary action that sometimes must not be dismissed by dragging. Spec: - ` (open = false)}>` - Two triggers set `swipe = true` and `swipe = false` before `open = true`: Sheet with footer and Swipe disabled - Body is `` with a paragraph whose text depends on `swipe` - `{#snippet footer()}` holds ` (open = false)}>

{swipe ? 'Drag the handle or the header down to dismiss.' : 'swipeToDismiss is false: use the close button, Escape or the overlay.'}

{#snippet footer()} {/snippet}