Preview Section

Hey everyone! I'm using Builder::make() in a form and I’d like to show a visual preview (thumbnail image) of each block before the user selects it—similar to how website builders display section previews. Is there a way to customize the block selector UI to show an image instead of just a label/icon? Any tips or examples would be super appreciated!
No description
No description
3 Replies
Dennis Koch
Dennis Koch3w ago
I don't think out of the box, but maybe you can overwrite the addAction to open a modal with a Livewire component instead. https://filamentphp.com/docs/3.x/forms/fields/builder#customizing-the-builder-item-actions
Dennis Koch
Dennis Koch2w ago
How's that plugin related to the question?
Matthew
Matthew2w ago
Misread, thought he wanted to preview something from a table.

Did you find this page helpful?