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
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?
Trying to use charts.
not available yet
they will be in v3
you'll have to just use chart.js yourself for now
Anything stopping me just pulling in the chart.js library in the frontend and using the chart widgets from Filament?
uh
no
but we dont support that officially
Okay, good to know. Thanks π