Sheet

Sheet

A sheet component that slides in from any side of the screen.


Are you absolutely sure?

This action cannot be undone. This will permanently delete your account and remove your data from our servers.

Your content goes here...

Installation

npx react-nex add Sheet

Example

Sheet from the Left


Sheet Title

This is a description inside the sheet.

Your content goes here...


Props

side

  • Type: 'top' | 'bottom' | 'left' | 'right'
  • Description: Specifies from which side the sheet slides in. Defaults to 'right'.

children

  • Type: React.ReactNode
  • Description: The content to be displayed inside the sheet.