Courses

Creating CRM with Filament 3: Step-By-Step

Customers by Stage: Tabs with Numbers

Summary of this lesson:
- Creating dynamic tabs for each pipeline stage
- Adding customer count badges to tabs
- Implementing "All Customers" tab
- Adding filtering by pipeline stage

Since our Customer table can have thousands of entries - we need a way to filter them by something. In our case, we will create tabs to group them by their Pipeline Stage like this:

In this lesson, we will do the following:

  • Dynamically create tabs for each Pipeline Stage
  • Create a new tab called All to show all Customers
  • Add counters to each tab to show how many Customers are in each group

Let's get started!


Creating the Tabs

To make tabs, we will modify...

The full lesson is only for Premium Members.
Want to access all 17 lessons of this course? (97 min read)

You also get:

  • 69 courses (majority in latest Laravel 11)
  • Premium tutorials
  • Access to repositories
  • Private Discord