It's been discussed that front-end bundles are being too large due to the dynamic generation of react-icons and an alternative way of generating the icons by including the SVG in the data.
Example
The user will simply add an option storeSvg: true to their sanity-plugin-icon-picker schema type.
Description
It's been discussed that front-end bundles are being too large due to the dynamic generation of react-icons and an alternative way of generating the icons by including the SVG in the data.
Example
The user will simply add an option
storeSvg: true
to their sanity-plugin-icon-picker schema type.And the studio will store the selected icon as an SVG string in your data:
37 #18