solid-icons icon indicating copy to clipboard operation
solid-icons copied to clipboard

break apart by sources please

Open tomByrer opened this issue 3 years ago • 2 comments

Seems like to get only 2 icons, I have to npm i all 14156 icons on my drive? If true, maybe split each icon family as a separate package? I'd rather save my bandwidth for cat videos ;)

tomByrer avatar May 11 '22 05:05 tomByrer

Hi Tom, i am going to consider this very seriously, i also suffer downloading heavy size libraries and it seems fair to me, i just need to check how much i have to change to publish separate packages but it seems quite logical, i have seen that many libraries are doing it.

x64Bits avatar May 12 '22 22:05 x64Bits

Thanks for your consideration!

TBH, for the project I looked at this for, I just copy/pasted the raw SVG. An online icon searcher that had a way to simply copy the raw SVG could be another workaround.

tomByrer avatar May 17 '22 10:05 tomByrer

I think we will postpone this because it represents additional work and I don't think we are a very big lib yet, what do you think?

x64Bits avatar Sep 03 '22 03:09 x64Bits

I'm already adding the option on the website to copy the JSX component and the SVG, thanks for giving the idea, this week I sent this.

x64Bits avatar Sep 03 '22 03:09 x64Bits

A new version of the website has already been launched where two buttons have been added to copy the icon in different formats, JSX and SVG.

x64Bits avatar Sep 21 '22 02:09 x64Bits

Thanks for your hard work! I like the JSX & SVG options also.

tomByrer avatar Sep 23 '22 07:09 tomByrer