Change Size of Icon (width & height) #948
Closed
hairullana
started this conversation in
General
Replies: 1 comment 3 replies
-
Font size won't directly affect icon sizes, at least that's not our default behaviour. To size an icon, you need to set the Then in CSS, you can easily define the widths and heights in em units for a font size relative sizing using the appropriate class selectors. E.g.: <i icon-name="menu" class="lucide-relative"></i> .lucide-relative {
width: 1em;
height: 1em;
} |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to change size of lucide icon?
I have been set css font-size on i tags but it's not working
They still give the size 24x24 px
Beta Was this translation helpful? Give feedback.
All reactions