Table with image

How can I render image with text in table column?
No description
Solution:
ViewColumn::make('image')
->view('custom-column')
ViewColumn::make('image')
->view('custom-column')
...
Jump to solution
1 Reply
Solution
LeandroFerreira
LeandroFerreira9mo ago
ViewColumn::make('image')
->view('custom-column')
ViewColumn::make('image')
->view('custom-column')
<!-- resources/views/custom-column.blade.php -->
<div class="flex gap-2">
<x-filament::avatar src="..." />
<div>Custom text</div>
</div>
<!-- resources/views/custom-column.blade.php -->
<div class="flex gap-2">
<x-filament::avatar src="..." />
<div>Custom text</div>
</div>
Want results from more Discord servers?
Add your server