---
url: /kanban/views.md
description: >-
  Saved Kanban views as tabs with live counts, plus built-in Overdue and Due
  this week tabs.
---

# Saved Views

Saved views sit above the board as tabs with live counts, the way GitHub Projects does it. Each view is a query:

```php
->views([
    BoardView::make('mine')->label('Assigned to me')->icon(Heroicon::OutlinedUser)
        ->query(fn (Builder $query) => $query->whereBelongsTo(auth()->user(), 'assignee')),
    BoardView::make('urgent')->label('High priority')->icon(Heroicon::OutlinedFire)
        ->query(fn (Builder $query) => $query->withPriority([Priority::Urgent, Priority::High])),
])
```

Boards with due dates also get **Overdue** and **Due this week** tabs, shown only while they have cards. The chosen tab is remembered per user.
