Sheet

The Sheet component is used to show information.

1. Import

KUMUI exports 6 Sheet-related components:

import { Sheet, SheetTrigger, SheetContent,SheetDescription, SheetHeader, SheetTitle } from "@rohitgadekar/kimui";

2. Usage


3. API

3.1 Sheet

AttributeTypeDescriptionDefault
children

React.ReactNode

Wraps the trigger button and content of the sheet.-

3.2 SheetTrigger

AttributeTypeDescriptionDefault
children

React.ReactNode

The element that triggers the opening of the sheet.-

3.3 SheetContent

AttributeTypeDescriptionDefault
children

React.ReactNode

Contains the content of the sheet.-

3.4 SheetDescription

AttributeTypeDescriptionDefault
children

React.ReactNode

Text or content providing more context for the sheet's title.-

3.5 SheetHeader

AttributeTypeDescriptionDefault
children

React.ReactNode

Contains the title and description of the sheet.-

3.6 SheetTitle

AttributeTypeDescriptionDefault
children

React.ReactNode

Provides the title for the sheet.-