This drawer slides in from the {direction} edge.
The drawer will be contained within this blue border.
This drawer is constrained to its parent container instead of the entire viewport.
Active snap point: {activeSnapIndex}
Drag to resize between snap points: 0%, 50%, and 100%
Drag the handle or swipe down to close the drawer.
This is the outer drawer. You can open another drawer inside.
{/* Nested drawer using NestedRoot */}This drawer is nested inside the first one. The parent drawer scales automatically.
{log}
))}Watch the log above to see when animations complete.
Status: {dragStatus}
Dragged: {dragPercentage}%
Try dragging the drawer and watch the percentage change. Close threshold is set to 30%.
Current state: {open ? 'Open' : 'Closed'}
This drawer cannot be dismissed by swiping down or clicking the overlay. You must use the close button.
This drawer allows interaction with background content. There's no overlay, and clicking outside won't close it.
This content will scale down when the drawer opens.
Notice how the background content scales and transforms when this drawer opens, creating a depth effect similar to iOS sheets.
This drawer can only be dragged via the handle above. The content area is not draggable.