Sheet

Extends the Dialog component to display content that complements the main content of the screen.
Import
import { Sheet } from '@kubed/components;'
Source
View source code
Docs
Edit this page
npm
@kubed/components

基础用法

仅扩展了 SheetContent,其他 Api 请参考 https://www.radix-ui.com/primitives/docs/components/dialog。

SheetContent 扩展 API

  • side: 'top'| 'right' | 'bottom' | 'left'
  • width: number | string