tailwindlabs / heroicons

A set of free MIT-licensed high-quality SVG icons for UI development.
https://heroicons.com
MIT License
21.33k stars 1.28k forks source link

default width / height for each icons #248

Closed Sebastien-Ahkrin closed 3 years ago

Sebastien-Ahkrin commented 3 years ago

Hello there 👋

Would it possible to add a default height / width props on every icons ? actually, if we didn't set any height / width we have that result: image

i think, 1em for width / height would be a good default so the user doesn't have to always specify a size. With that default size, we can specify an other size too ...

For example with 1em we have this: image

ComedyTomedy commented 8 months ago

Hello, is this actually fixed? I can't see width="1em" height="1em" either in the source files or on the icon examples at heroicons.com.