Sheet

Extends the Dialog component to display content that complements the main content of the screen.

code
Expend code

Sheet

A component used for composing a sheet for tasks like editing profiles.

PropTypeDefaultDescription
childrenReact.ReactNode-Includes the content to be displayed inside the sheet.
sheetbooleanfalseUsed to control the visibility of the sheet.
toggleSheet() => void-A function to toggle the opening and closing of the sheet.

SheetTrigger

Properties of the trigger button used to open the Sheet component.

PropTypeDefaultDescription
childrenReact.ReactNode-Passes content to act as the trigger element for opening the sheet.

SheetContent

Properties of the component that contains the content inside the Sheet.

PropTypeDefaultDescription
childrenReact.ReactNode-Includes the content to be displayed inside the sheet.
sheetbooleanfalseUsed to control the visibility of the sheet.
toggleSheet() => void-A function to toggle the opening and closing of the sheet.

SheetHeader

Element that composes the header of the Sheet.

PropTypeDefaultDescription
childrenReact.ReactNode-Includes the content to be displayed inside the header.

SheetTitle

Element that represents the title of the Sheet.

PropTypeDefaultDescription
childrenReact.ReactNode-Passes text or content used as the title of the sheet.

SheetDescription

Provides a description for the Sheet.

PropTypeDefaultDescription
childrenReact.ReactNode-Passes text or content used as a description for the sheet.

SheetFooter

Element that composes the footer area of the Sheet.

PropTypeDefaultDescription
childrenReact.ReactNode-Passes buttons or other content to be included in the footer area.

SheetClose

Element used to close the Sheet.

PropTypeDefaultDescription
childrenReact.ReactNode-Includes content like a button that provides the functionality to close the sheet.