Sheet

Basic Usage

Sheet Props API
  • blocking bool

    specifies whether the sheet provides a click-blocking scrim

    Defaultfalse
  • children node

    an element rendered inside the sheet

  • position enum'left' | 'right' | 'top' | 'bottom'

    a string designating the sheet's position on the window

    Default'bottom'
  • show bool

    Boolean used to control whether the Sheet shows.

    Defaulttrue
  • onClose func

    Specifies function that controls show value.

    Default() => {}
  • variant enum'light' | 'dark'

    a string designating which version of the sheet to show (light vs dark)

    Default'light'

Contents