F
Filament12mo ago
Sugbo

Unable to locate: heroicon-m-share

Hi, I am confused how to use heroicons for badges. Well it says "By default, the Blade Heroicons v1 package is installed, so you may use the name of any Heroicons v1 out of the box." But when I true to use protected static ?string $navigationIcon = 'heroicon-m-share'; Its giving this error "Unable to locate a class or view for component [heroicon-m-share]."
Solution:
There is no -m in Heroicons v1. You are probably looking at v2
Jump to solution
4 Replies
Solution
Dennis Koch
Dennis Koch12mo ago
There is no -m in Heroicons v1. You are probably looking at v2
Lara Zeus
Lara Zeus12mo ago
I think v1 has only the s and o heroicon-o-share
Vp
Vp12mo ago
Heroicons V1 only support "Outline" and "Solid".. means you can use only 'o' or 's'
Sugbo
Sugbo12mo ago
Hey. Thats it. Thank you for your help