The modal component (
lk-modal)…
Modals can be created in four sizes:
sm,
md,
lg,
xl. These sizes can be set by adding a
size= attribute to the modal's opening tag. If the size attribute is not added, the default size of a modal will be
md.
By default the modal component will display a 'close' button in the top right corner of the browser window which can be used to close the modal. We can hide this button by setting the `show-close-button` prop to `false`.