Basics
You're browsing the documentation for an old version of MoonShine. Consider upgrading your project to MoonShine 2.x.
-
Sections
For all entities that have the icon()
method,
you can use one of the proposed icon sets or create your own set
# System icons
->icon('add')
# Custom icons
You can also create a blade file with your custom icon. To do this you have to create a blade file in
resources/views/vendor/moonshine/shared/icons
(e.g. - my-icon.blade.php) containing the icon image inside (e.g. svg code)
and then specify the icon('my-icon')