Open Boscop opened 5 months ago
Indeed it would, but one major drawback of iconify
is that it traditionally requires a runtime in order to add the icons into the js
bundle. This could be solved with a proc macro, but it would require the user to have an internet connection in order for the user's code to compile, which is super restrictive. I'm really not a fan of running arbitrary network requests in proc-macros or build scripts, and the rust ecosystem is not thrilled either: https://blog.rust-lang.org/inside-rust/2023/09/01/crates-io-malware-postmortem.html.
I don't find it surprising that react-icons
, solid-icons
, svelte-icons
, etc. don't use iconify
, probably for reasons similar to the ones I mentioned above.
https://icones.js.org is based on https://github.com/iconify/iconify / https://iconify.design
E.g. the Tamagui Takeout stack template uses these icons. It would be nice to have them available in leptos.