Behavior

  • defaultPosition?: BottomSheetPosition
    Optional. The initial position where the bottom sheet should appear.

  • shouldCloseOnOutsideClick?: boolean
    Optional. Determines if the bottom sheet should close when the outside is clicked.

  • snapPoints?: number[]
    Optional. [0.3, 0.8] will make the bottom sheet stop at 30% and 80% of the screen height, from the top.

  • expandable?: boolean
    Optional. If true, the bottom sheet can be dragged up above its content height. Default is true.

  • draggable?: boolean
    Optional. If true, the bottom sheet can be dragged. Default is true.

  • preventClosing?: boolean
    Optional. If true, the bottom sheet cannot be dragged down below its content height. Defaults to false.

  • backgroundDraggable?: boolean
    Optional. If true, the content’s background can be dragged. Default is true.

  • dragTriggers?: string[]
    Optional. Element selectors that will trigger dragging of the bottom sheet.

;