Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Kuinox
· 3y ago · 0 comments
One thing I don't get, is how can you use global icons libs like fontawesome, in your lit components.
Comments
[–]
TonyStr
3y ago
I believe you would simply return an html template with an i tag that has class="fa-solid fa-magnifying-glass", for example
[–]
nailer
3y ago
The italic tag is not for icons.
[–]
Kuinox
OP
3y ago
The i tag is used for icons in fontawesome.
https://fontawesome.com/icons/file?f=sharp&s=regular
[–]
nailer
3y ago
Yes I know. The italic tag is not for icons.
[–]
Kuinox
OP
3y ago
Doesn't works, probably due to the shadow dom ?