Is there a simple way to use Filament components outside of the admin panel?

Hi, I'm working on a part of my project that could really be sped up by using some components from Filament outside of the admin panel. At the minute, I've been trying to include scripts/styles by using snippets from the Filament base layout to support these components. Is there a more straightforward way of doing this? Like some sort of helper that I can call in my application layout blade template? Also is this a supported use case for Filament components? I don't see anything in the docs that shows using anything outside of an admin panel context.
6 Replies
Dan Harrin
Dan Harrin2y ago
tables, forms and notifications can be used outside of the admin panel. check the Getting Started docs for those packages what else do you want?
darrena092
darrena092OP2y ago
Trying to use charts.
Dan Harrin
Dan Harrin2y ago
not available yet they will be in v3 you'll have to just use chart.js yourself for now
darrena092
darrena092OP2y ago
Anything stopping me just pulling in the chart.js library in the frontend and using the chart widgets from Filament?
Dan Harrin
Dan Harrin2y ago
uh no but we dont support that officially
darrena092
darrena092OP2y ago
Okay, good to know. Thanks 😄

Did you find this page helpful?