Offcanvas

You're browsing the documentation for an old version of MoonShine. Consider upgrading your project to MoonShine 2.x.

The moonshine::offcanvas component allows you to create sidebars.

<x-moonshine::offcanvas
title="Offcanvas"
:left="false"
>
<x-slot:toggler>
Open
</x-slot:toggler>
{{ fake()->text() }}
</x-moonshine::offcanvas>