Skip to content

IconNodeProvider

IconNodeProvider(props): Element

Defined in: packages/react/src/ui/Icon.tsx:43

Supplies server-resolved icon nodes so Icon renders them synchronously, real SVG in the server HTML with no request, instead of loading each icon on demand. Nested providers merge; the inner map wins on a shared key.

ReactNode

Subtree whose Icons should use the map.

IconNodeMap

Map produced by resolveIconNodes from @vexcms/react/server.

Element