Tailwind
<Sheet.Content className="bg-white shadow-2xl dark:bg-zinc-900"> <Sheet.Handle className="bg-zinc-300 dark:bg-zinc-600" /></Sheet.Content>Apply Tailwind v4 utilities directly. No plugin or config is needed.
Drag to the tallest of the three stops; that's the data-scrollsheet-at-max state the in-* variant below targets.
Custom properties
Section titled “Custom properties”Set the library’s own variables with arbitrary properties, or in your stylesheet:
<Sheet.Content className="[--scrollsheet-radius:24px] [--scrollsheet-backdrop:rgb(0_0_0/0.6)]" />State variants
Section titled “State variants”State attributes live on the <dialog> ancestor, so match them with v4’s in-* variant:
<Sheet.Content className="in-data-[scrollsheet-at-max]:rounded-none" />Specificity
Section titled “Specificity”The mechanics stylesheet only wins where it must (position, transform). Default colors and decoration use low-specificity :where() rules. Layout and state rules can
be more specific; use the documented CSS variables when a utility does not override them.