Skip to content

Desktop presentation

Above 768px the defaults change shape: bottom sheets dock to the right edge as a drawer-width column (640px max, 24px margin), and side sheets square off their lead edge. Below 768px, sheets stay full-bleed mobile style.

Resize the window past 720px, then reopen it. Same sheet, now a centered dialog.

Use --scrollsheet-max-inline and --scrollsheet-desktop-margin to size the column: set --scrollsheet-desktop-margin: 0px with --scrollsheet-max-inline: none to restore full-bleed.

Set --scrollsheet-radius to restore rounded edges on desktop side sheets.

Set --scrollsheet-travel: none on your content class to disable enter/exit travel at all viewport widths. The sheet appears and disappears in place; phase callbacks still fire.

The gallery’s Lightbox uses this when the View Transitions API animates the thumbnail into the viewer, avoiding a second entrance animation.