diff --git a/packages/__docs__/src/Icons/index.tsx b/packages/__docs__/src/Icons/index.tsx index efa06b6b2b..db1985107e 100644 --- a/packages/__docs__/src/Icons/index.tsx +++ b/packages/__docs__/src/Icons/index.tsx @@ -48,7 +48,7 @@ const IconsPage = () => { } > - New incon set, currently in beta. Currently supported icons:{' '} + New icon set, currently in beta. Currently supported icons:{' '} Icons diff --git a/packages/__docs__/src/LegacyIcons/index.tsx b/packages/__docs__/src/LegacyIcons/index.tsx index c6aee3b405..530055cd1e 100644 --- a/packages/__docs__/src/LegacyIcons/index.tsx +++ b/packages/__docs__/src/LegacyIcons/index.tsx @@ -247,6 +247,15 @@ const LegacyIconsPage = ({ iconData }: LegacyIconsPageProps) => { New icon set is available, please only use it with InstUI v11.7 or newer components: Icons (beta) + + Our legacy icon components are rendered through Emotion, so server-side + rendering inlines <style data-emotion=…> blocks + alongside each <svg>, which can break consumers that + expect a plain SVG string. Follow{' '} + Emotion's SSR guide{' '} + to extract those styles, or strip them post-render. The new icon set + linked above does not have this issue. +