Skip to content
Design System
GitHub

Sheet

v0.17.3

A panel that slides in and floats 8 px from the screen's edges: a bottom sheet with a grab handle on phones, a side panel on wide screens, a drawer for navigation.

Sheet default

Install
npx shadcn add @syncrobotic/sheet

Also installs: radix-ui, @syncrobotic/cn

Overview

A panel that slides in: from the bottom on phones, from the side on wide screens.

When to use

  • Filters, a record's details next to a list, longer forms on phones.

Use something else

  • A short decision on desktop: Dialog.

More examples

States and real uses. Each example is also a Storybook story and a visual regression test.

Sheet side panel

Sheet navigation drawer

Sheet bottom actions

Sheet edit form

Patterns

Ready-made uses of sheet with real data and copy. Each installs as source under its own name.

Detail and filter sheets

A panel over the page, from the side or the bottom: one thing's details, or filters.

  • On phones from the bottom, on wide screens from the side.
  • Actions sit at the bottom, in thumb reach.
  • Filters say how many results you will get before you apply.

Robot detail panel

One robot in a side panel over the list: state, levels, last events and actions in thumb reach.

Install
npx shadcn add @syncrobotic/sheet-robot-detail

Filters sheet

Filters in a bottom sheet: grouped options with counts and one button that says how many results you will see.

Install
npx shadcn add @syncrobotic/sheet-filters

Usage rules

  • Detail or a short form beside the list it came from, keeping the list in view. A decision that blocks the task is a Dialog.
  • Bottom on phones, right on wide screens, left for navigation. Esc and the scrim close it.
  • It floats 8 px from the screen's edges, the app shell's gutter, with every corner rounded. Set a width with w-* or sm:max-w-*; auto margins keep it on its side.

Changelog

  • 0.17.32026-11-19SheetFooter sticks to the bottom with its own padding, so the main action is never cut.
  • 0.14.12026-11-19Floats 8 px from the screen's edges, the app shell's gutter, with every corner rounded; the bottom sheet clears the home indicator. A side sheet fills up to max-w-sm with auto margins, so drop w-full from your SheetContent if you set it.
  • 0.7.02026-11-17Titles are the sheet size (xl); the scrim leaves with the panel.

How to upgrade