Introduction
Pages are full-page Livewire components that can be added to your panel. They provide a blank canvas for building custom functionality beyond standard CRUD operations.Creating a page
Generate a page using the Artisan command:app/Filament/Pages/Settings.php:
Routing
Pages automatically register routes based on their class name. For example,Settings will be accessible at /settings.
Custom route slugs
Override the slug with thegetRoutePath() method:
/app-settings.
Route parameters
Define route parameters in theroutes() method:
Navigation
Customizing navigation
Control how the page appears in the sidebar:Hiding from navigation
To prevent a page from appearing in navigation:Navigation badges
Add badges to navigation items:Parent navigation items
Nest a page under another navigation item:Page header
Title
Customize the page title:Heading
The heading is separate from the title (used in the browser tab):Subheading
Add a subheading below the heading:Header actions
Add action buttons to the page header:Page content
Using Blade views
By default, pages use a Blade view for content:resources/views/filament/pages/settings.blade.php:
Using schema builder
You can build page content using Filament’s schema builder:Widgets
Add widgets to your page header or footer:Authorization
Restrict access to pages using thecanAccess() method: