Sheet

A Sheet component is a UI element that presents content in a sliding panel, often overlaying the main application interface. It is typically used for displaying additional information, forms, or actions without navigating away from the current view. Sheets can be swiped or tapped to expand or collapse, providing a clean and efficient way to manage user interactions and maintain focus on the main content.
# Demo

Demo Coming Soon

Sheet examples will be available soon.

# Usage
# Attributes
NameTypeDefaultDetails
isOpenbooleanRequiredControls whether the sheet is open.
titlestringOptionalTitle for the sheet.
sizeSheetSizeOptionalSize of the sheet.
classNamestring' 'You can customise by passing tailwind classes.
headerClassNamestring' 'You can customise by passing tailwind classes.
titleClassNamestring' 'You can customise by passing tailwind classes.
contentClassNamestring' 'You can customise by passing tailwind classes.
childrenReact.ReactNodeRequiredContent for the sheet.
onCloseSheet() => voidOptionalCallback when sheet is closed.
headerReact.ReactNodeOptionalCustom header content.
footerReact.ReactNodeOptionalOptional footer content.
aria-labelstringOptionalARIA label for accessibility.
aria-labelledbystringOptionalARIA labelledby for accessibility.
rolestringOptionalARIA role for accessibility.