Sheet
Extends the Dialog component to display content that complements the main content of the screen.
Made by imskyleenInstallation
Usage
API Reference
Sheet
Radix UI API Reference - Dialog.RootSheetTrigger
Radix UI API Reference - Dialog.TriggerSheetPortal
Radix UI API Reference - Dialog.PortalThe forceMount
property is not supported in the SheetPortal
component, as
it is used for animation.
SheetOverlay
Radix UI API Reference - Dialog.OverlayProp | Type | Default |
---|---|---|
transition? | Transition | { duration: 0.2, ease: 'easeInOut' } |
...props? | HTMLMotionProps<"div"> | - |
The asChild
and forceMount
properties are not supported in the
SheetOverlay
component, as it is used for animation.
SheetContent
Radix UI API Reference - Dialog.ContentProp | Type | Default |
---|---|---|
side? | 'top' | 'bottom' | 'left' | 'right' | right |
transition? | Transition | { type: 'spring', stiffness: 150, damping: 22 } |
...props? | HTMLMotionProps<"div"> | - |
The asChild
and forceMount
properties are not supported in the
SheetContent
component, as it is used for animation.
SheetClose
Radix UI API Reference - Dialog.CloseSheetHeader
Prop | Type | Default |
---|---|---|
...props? | React.ComponentProps<'div'> | - |
SheetTitle
Radix UI API Reference - Dialog.TitleSheetDescription
Radix UI API Reference - Dialog.DescriptionSheetFooter
Prop | Type | Default |
---|---|---|
...props? | React.ComponentProps<'div'> | - |