Avatar next to user's name in same column.

I have:
Tables\Columns\ImageColumn::make('avatar')
->circular()
->getStateUsing(fn ($record) => Filament::getUserAvatarUrl($record))
->label('Avatar'),
Tables\Columns\TextColumn::make('name')
->tooltip(fn (User $record): string => "{$record->name}"),
Tables\Columns\ImageColumn::make('avatar')
->circular()
->getStateUsing(fn ($record) => Filament::getUserAvatarUrl($record))
->label('Avatar'),
Tables\Columns\TextColumn::make('name')
->tooltip(fn (User $record): string => "{$record->name}"),
I would like to have the user's avatar next to the user's name in the same 'name' column. Like: Name PT Pablo Torres Any suggestion on how I can achieve this? Thank you.
1 Reply
Patrick Boivin
Filament
Custom columns - Columns - Table Builder - Filament
The elegant TALL stack table builder for Laravel artisans.
Want results from more Discord servers?
Add your server