I am building a react library, the goal is to have no dependency but i need icons.
Am i forced to install packages? Can it be a problem for who install my package? How should i install it in my library?
I am building a react library, the goal is to have no dependency but i need icons.
Am i forced to install packages? Can it be a problem for who install my package? How should i install it in my library?
It depends how many icons you plan to have. It depends on what 3rd party libraries you intend to integrate yourself with.
If the number of needed icons are relatively small, I think that best way would be to just add some simple svgs that you could overwrite when using the library