atelier-saulx / react

Based.io React UI Library
MIT License
0 stars 0 forks source link

React-Icons setup #13

Open luiguild opened 5 days ago

vassbence commented 4 days ago

After exploring react-icons I'm not sure if it's the right fit for us, since as far as I know Sandor always creates his own icons in figma and does not use an off-the-self library. There was a similar situation in the previous UI lib too and we had a Figma export function which would spit out .svg files.

Regardless of how we acquire the raw svgs I think the more important question is how will they end up in the React bundle. Are we going to use something like svgr which would allow us to import svg files or do we write the Figma export in such a way that it creates .tsx files where each icon is an individual React component already?