Custom Html Widget.

Can someone help me create a custom html widget that will get the data from db. i attached the desired look in the documentation i can see only chart or stat widgets. can i render a blade template for each record in the db ?
7 Replies
awcodes
awcodes16mo ago
No but you can render one widget that displays the records so they look like separate widgets. https://github.com/awcodes/overlook does something similar using filaments grid container to render each item as a “widget”.
GitHub
GitHub - awcodes/overlook: An app overview widget for Filament panels.
An app overview widget for Filament panels. Contribute to awcodes/overlook development by creating an account on GitHub.
shissaaa
shissaaa16mo ago
can you teach me how to custom this widget @awcodes
awcodes
awcodes16mo ago
What? I was referencing that plugin as an example on how to use one widget to make it look like several widgets.
shissaaa
shissaaa16mo ago
i have use https://github.com/awcodes/overlook and do as example but it just render like it
GitHub
GitHub - awcodes/overlook: An app overview widget for Filament panels.
An app overview widget for Filament panels. Contribute to awcodes/overlook development by creating an account on GitHub.
shissaaa
shissaaa16mo ago
@awcodes
awcodes
awcodes16mo ago
Please read the Readme. The first thing mentioned after the composer install is about the styling.
shissaaa
shissaaa16mo ago
thank you
Want results from more Discord servers?
Add your server