> ## Documentation Index
> Fetch the complete documentation index at: https://docs.unleash-commerce.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# Pages

> Create custom admin pages in Filament

## Overview

Pages let you create custom admin interfaces beyond the standard resource CRUD operations. They're useful for dashboards, reports, bulk operations, and other specialized functionality.

## Creating a Page

Use the Filament command to create a page:

```bash theme={null}
php artisan make:filament-page Dashboard
```

This generates a page class in `src/Filament/Pages`.

## Page Structure

A basic page contains:

```php theme={null}
namespace Esign\UnleashCommerce\Admin\Filament\Pages;

use Filament\Pages\Page;

class Dashboard extends Page
{
    protected static ?string $navigationIcon = 'heroicon-o-document-text';
    
    protected static string $view = 'filament.pages.dashboard';
}
```

## Creating a View

Pages use blade templates located in `resources/views/filament/pages/`:

```blade theme={null}
<x-filament::page>
    <div>
        <h1>My Custom Page</h1>
        <!-- Your content here -->
    </div>
</x-filament::page>
```

## Navigation

Control whether your page appears in navigation:

```php theme={null}
protected static ?string $navigationIcon = 'heroicon-o-home';
protected static ?string $navigationLabel = 'Dashboard';
protected static ?int $navigationSort = 1;
```

## Performance

For pages with heavy data requirements, consider caching and pagination to keep performance optimal.

## Documentation

Learn more in the [Filament Pages documentation](https://filamentphp.com/docs/5.x/pages-and-routes/pages).
