Modals can have different sizes. Use the size prop to change the size of the modal. This example uses the sm and md size.
Show codeHide code
vue
Modals can have different sizes. Use the size prop to change the size of the modal. This example uses the lg and xl size.
Show codeHide code
vue
Modals can have different sizes. Use the size prop to change the size of the modal. This example uses the 2xl and 3xl size.
Show codeHide code
vue
Modals footers can be aligned to the left, right or center. Use the footer-align prop to change the alignment of the footer.
Show codeHide code
vue
Name
Type
classesShow exampleHide example
vue
footer-alignThe alignment of the footer content.
Show exampleHide example
vue
openWhether the modal is open.
Show exampleHide example
vue
roundedThe radius of the modal.
Show exampleHide example
vue
sizeThe size of the modal.
Show exampleHide example
vue
Name
Type
asThe HTML tag to use as modal wrapper (e.g. `div`, `form`, etc.).
Show exampleHide example
vue
Name
Slot Prop Type
#headerShow exampleHide example
vue
#defaultShow exampleHide example
vue
#footerShow exampleHide example
vue
Name
Type
asThe HTML tag to use as modal wrapper (e.g. `div`, `form`, etc.).
Show exampleHide example
vue