Icons in a blade
In a widget I pass some html into my calendar, and I want to use heroicons that comes out the box, but currently I cant get the icon to show...
Solution:Jump to solution
Btw. you could just use the
svg()
helper if you just need to icon: {{ svg('iconoir-flask-solid', ['h-5 w-5']) }}
3 Replies
You need some
Blade::render()
around this components. Otherwise you are just outputting them as stringsSolution
Btw. you could just use the
svg()
helper if you just need to icon: {{ svg('iconoir-flask-solid', ['h-5 w-5']) }}
Ill give them a go tomorrow, thank you 🙂