Skip to content
Cynco UI

Components · Overlays

SheetCloseButton

The ✕ button positioned in a sheet's top-right corner.

import { SheetCloseButton } from "@cynco-labs/ui";

Example

Use

Custom inline sheets that do not use SheetContent's built-in close.

Props

onClose.

Notes

Positions itself absolutely; the parent must be relative.

Source Demo source Markdown