Back

I published the beta release of Inertia Modal 🔥

For now, it's just the Vue version. Next week, I'll release the React version. You can find the repo, docs, and examples in the posts below 👇

image

2

147

In response to @pascalbaljet

Opening modals is nothing more than replacing the Link component with the ModalLink component.

image
On the page of the modal itself, simply wrap the content within the Modal component.

image

1

5

  • No matching results...
  • Searching...

/ 1000

That's it! Of course, there are many more features, like changing the behavior and style of the modal. This can be done on both the ModalLink and Modal components, as well as through a global configuration.

image
Don't you want to load the modal by a URL? You can also include the modal content directly on the page.

image

1

13

There's an event system, support for nested/stacked modals, reloading of the modal props, opening modals on page load, and much more. Go check it out and give it a star if you like it! 🌟

image

27