Skip to content

KapsLockk/Use-Material-icon-in-LWC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Use-Material-icon-in-LWC

How to use Material Icon and Material Symbol

Screenshot 2023-04-19 153105

How to use

- Setup -->
- Static Resource -->
- Create a new Static resource named- MaterialFont and set it to be public ->
- import it in the css file of LWC component like shown in -> [HowToUse](https://github.com/KapsLockk/Use-Material-icon-in-LWC/blob/main/HowToUse/HowToUse.css).
- write the Material icon-name in a html tag and use the class on it like -> https://github.com/KapsLockk/Use-Material-icon-in-LWC/blob/main/HowToUse/HowToUse.html
-- Have Fun --