Sheet

Basic Usage

Sheet Props API
  • blocking bool Required

    specifies whether the sheet provides a click-blocking scrim

    Defaultfalse
  • children node Required

    an element rendered inside the sheet

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

    a string designating the sheet's position on the window

    Default'bottom'
  • show bool Required

    Boolean used to control whether the Sheet shows.

    Defaulttrue
  • onClose func Required

    Specifies function that controls show value.

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

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

    Default'light'

Contents