Request: Allow to change stroke-width
Having the ability to change stroke-width is essential when resizing icons. would love to be able to do this here. and this would allow users to use tailwind utility classes to easily theme the icons.
Much Appreciated.
+1
Would love to adjust the stroke width. It comes particularly handy when using icons at larger sizes.
Having the ability to change stroke-width is essential when resizing icons. would love to be able to do this here. and this would allow users to use tailwind utility classes to easily theme the icons.
Much Appreciated.
<ChevronLeftIcon stroke="#000" strokeWidth={"4px"} />
You must first set the stroke to be able to manipulate the stroke width.
Any update on this?
If you're using Tailwind CSS you can do something like this:
<CopyIcon className="stroke-white stroke-2 [&>path]:stroke-inherit" />