Tags column


Tags columns render a list of tags from an array:

use Filament\Tables\Columns\TagsColumn;

Be sure to add an array cast to the model property:

use Illuminate\Database\Eloquent\Model;
class Post extends Model
protected $casts = [
'tags' => 'array',
// ...

Using a separator

Instead of using an array, you may use a separated string by passing the separator into separator():

use Filament\Tables\Columns\TagsColumn;
Edit on GitHub

Still need help? Join our Discord community or open a GitHub discussion

Enjoying Filament?

We are open source at heart. To allow us to build new features, fix bugs, and run the community, we require your financial support.

Sponsor Filament on GitHub