Sheet
A panel from the edge that keeps the list behind it readable: the request inspector, details.
<Sheet
trigger={<Button>Open request</Button>}
title="POST /v1/messages"
subtitle="req_01JAR4X2KQ"
size="md"
modal={false}
actions={<IconButton icon={icons.copy} aria-label="Copy request id" />}
>
{body}
</Sheet>import { Sheet } from "@logicplanes/kaeso-ui";Props
actionsReactNodeHeader actions before the close circle.
childrenReactNodeThe sheet's content.
defaultOpenbooleanWhether it starts open, when the component keeps its own state.
footerReactNodeContent at the bottom, usually actions.
inlinebooleanRender without a portal, for documentation and state matrices.
modalbooleanKeep the page behind interactive (non-modal).
onOpenChange((open: boolean) => void)Called when it opens or closes.
openbooleanWhether it is open, when you control it.
side"bottom" | "left" | "right"The edge it slides in from.
size"md" | "sm" | "lg"The sheet's width, or its height from the bottom.
subtitleReactNodeA mono subtitle for ids:
req_01J….titleReactNodeThe sheet's heading, also its accessible name.
triggerReactElement<unknown, string | JSXElementConstructor<any>>The element that opens it.