Skip to main content

Overview

Widgets are reusable components that display information on your dashboard or admin pages. Filament provides several widget types including stats cards, charts, and tables.

Creating a Widget

Use the Filament command to generate a widget:
This creates a widget class in src/Filament/Widgets.

Widget Types

Stats Overview Widget

Display key metrics:

Chart Widget

Visualize data with charts:

Adding to Dashboard

Register widgets in your page or dashboard:

Performance

Cache widget data when dealing with large datasets to maintain admin panel responsiveness.

Documentation

Explore more in the Filament Widgets documentation.