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
classes
Show exampleHide example
vue
footer-align
The alignment of the footer content.
Show exampleHide example
vue
open
Whether the modal is open.
Show exampleHide example
vue
rounded
The radius of the modal.
Show exampleHide example
vue
size
The size of the modal.
Show exampleHide example
vue
Name
Type
as
The HTML tag to use as modal wrapper (e.g. `div`, `form`, etc.).
Show exampleHide example
vue
Name
Slot Prop Type
#header
Show exampleHide example
vue
#default
Show exampleHide example
vue
#footer
Show exampleHide example
vue
Name
Type
as
The HTML tag to use as modal wrapper (e.g. `div`, `form`, etc.).
Show exampleHide example
vue