layout

A full admin page: sidebar, topbar and content.

Laravel

<x-admin::layout title="Segments">
    <x-slot:topbarEnd><x-admin::avatar name="Rina Example" /></x-slot:topbarEnd>
    <x-admin::page-header title="Segments" />
</x-admin::layout>

Props

PropRequiredDefaultOptions
titlenull

Slots: head, nav, sidebarFooter, topbar, topbarEnd, scripts

Other stacks

React and Vue: import { Layout } from "@admiral/ui-kit/react" (or /vue). See the React and Vue guide.