// DOCS KNOWLEDGE BASE 3.x

Modal links

The companion plugin intercepts fragment links anywhere in your panel and opens the linked documentation in a modal.

Add a link anywhere in your panel with a fragment in the format #modal-<documentation-id>:

<a href="#modal-users.introduction">Open Introduction</a>

As long as a documentation page with that ID exists, clicking the link opens it in a modal.

Since the fragment is part of the URL, you can even share the link with someone and the modal opens right away when they visit it.

Modal links example

If you don't want the link interception:

$plugin->disableModalLinks();
guava/filament-knowledge-base 161K installs · 210 stars
// COOKIES

A few cookies keep the site working; others remember preferences or count visits. You choose what runs.

Cookie policy