Sheet

A slide-in panel from any edge of the screen.

Install

npx shadcn add @clearly/sheet

Preview

Live Sheet component — see usage below.

Usage

import { Sheet } from "@/components/ui/sheet"

<Sheet />

Every Clearly component also accepts glass (subtle·medium·strong), specular and className.

Props

PropTypeDefaultDescription
openbooleanControlled open state.
onOpenChange(open: boolean) => voidOpen-state callback.
side"left" | "right" | "top" | "bottom""right"Edge the panel slides from.
glass"Subtle" | "Medium" | "Strong""Medium"Glass depth of the panel.
specularbooleantrueDirectional specular highlight.
radiusnumber24Corner radius of the panel in px.
showCloseButtonbooleantrueShow the × close button.