Skip to content

MazBottomSheet

MazBottomSheet is a standalone component like a simple dialog but at the bottom of screen. Useful for mobile UX.

Before use it, you should install the MazUi plugin in your project, follow instructions in Getting Started

TIP

This component uses the <Teleport to="body"> with MazBackdrop, so you can implement this component anywhere and it inherits all its props

Interactive Demo

avatar image

Nike Air Max

Premium Running Shoes

Price:$129.99

Props

NameDescriptionTypeRequired
model-valuev-model
booleanNo
hide-close-buttonRemove the close buttonbooleanNo
paddingRemove the padding on the containerbooleanNo

Events

Event namePropertiesDescription
closeEmitted when the component is closed
openEmitted when the component is opened
update:model-valueEmitted when the model value is updated

Slots

NameDescriptionBindings
defaultSlot contentclose Function - close function