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 β€’ β€’

169

β€’
  • No matching results...
  • Searching...

/ 1000

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

β€’

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

β€’

Excited to check this out, Pascal! πŸŽ‰

1 β€’ β€’

79

β€’

Thanks! Let me know what you think about it!

β€’ β€’

51

β€’