How can I place a text beneath the image in table column?

I want to write username beneath the avatar in an ImageColumn in table. I tried to use ->description() but it says ImageColumn does not have such a function.

how do you achieve this ?

                Tables\Columns\ImageColumn::make('order.buyer.profile_photo_path')
                ->circular()
                ->description(fn($record)=>$record->order->buyer->username),
Solution
You’ll need to make a custom column if you want to combine things like image and text.
Was this page helpful?