Responsive profiles
Below 720px, drag it as a bottom sheet. At 720px and wider, it opens as a centered dialog.
<Sheet.Root side="bottom" desktopSide="center">The same content renders as a bottom sheet below the breakpoint and a centered dialog above it.
The breakpoint
Section titled “The breakpoint”desktopSide applies at desktopBreakpoint, which defaults to 768 pixels. This matches the
desktop presentation CSS breakpoint. Override it per
Sheet.Root:
<Sheet.Root side="bottom" desktopSide="center" desktopBreakpoint={1024}>desktopBreakpoint requires desktopSide. Used alone, it has no effect and warns once in
development.
Crossing while open
Section titled “Crossing while open”An open sheet changes presentation instantly when the viewport crosses the breakpoint. It stays open, with no transition, and changes back when the viewport crosses again.
First paint
Section titled “First paint”The server render and first client paint both use side. A matchMedia subscription applies
desktopSide after mount, keeping hydration consistent. Account for this initial change when
using defaultOpen or opening the sheet programmatically before mount completes.
Any side, either way
Section titled “Any side, either way”side and desktopSide take the same five values ('bottom' | 'top' | 'left' | 'right' | 'center') and don’t have to relate to each other. A bottom sheet that becomes a left drawer on
desktop:
<Sheet.Root side="bottom" desktopSide="left">You can also change a right panel to a centered dialog or a top sheet to a right drawer. Any pair of sides is supported.
vs. desktop presentation
Section titled “vs. desktop presentation”Desktop presentation changes styling above 768px
without changing side. It docks bottom sheets as drawers and squares off side-sheet edges.
Use desktopSide when the side itself should change, such as a bottom sheet becoming a
centered dialog.