© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
arsadi

How to customize Breadcrumb label

I try to customize breadcrumb label in list page. I've tries :
//App/Filament/Resource/KaryawanResource/ListKaryawan.php
protected static ?string $title = 'Karyawan';
//App/Filament/Resource/KaryawanResource/ListKaryawan.php
protected static ?string $title = 'Karyawan';

//App/Filament/Resource/KaryawanResource.php
protected static ?string $navigationLabel = 'Data Karyawan';
protected static ?string $slug = 'karyawan';
//App/Filament/Resource/KaryawanResource.php
protected static ?string $navigationLabel = 'Data Karyawan';
protected static ?string $slug = 'karyawan';


I also try to search in documentation but only found
How to disabled breadcrumb
How to disabled breadcrumb
. and
Blade Component - Breadcrumb
Blade Component - Breadcrumb
.

Also try to look at the
ListResource
ListResource
methods but only found
getBreadcrumbs()
getBreadcrumbs()
with return string.

Is there any way to modify the breadcrumb?
image.png
Solution
Solved. I was expecting the breadcrumb will be an array and we will set in Main resource class.

It turned out to be string and we can set at each resource class. like this :
//App/Filament/Resource/KaryawanResource.php
protected static ?string $breadcrumb = "Karyawan";
//App/Filament/Resource/KaryawanResource.php
protected static ?string $breadcrumb = "Karyawan";

//APp/Filament/Resource/KaryawanResource/ListKaryawan.php
protected static ?string $breadcrumb = "Data";
//APp/Filament/Resource/KaryawanResource/ListKaryawan.php
protected static ?string $breadcrumb = "Data";


And it give me an exact return that I expected.
image.png
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

How to customize label when selecting relationship???
FilamentFFilament / ❓┊help
2y ago
Customize breadcrumb only for a specific Resource
FilamentFFilament / ❓┊help
2y ago
How to customize the label for options in CheckboxList?
FilamentFFilament / ❓┊help
2y ago
How to hide resource breadcrumb?
FilamentFFilament / ❓┊help
3y ago