Skip to main content
Returns what the merchant has selected in Weaverse Studio: a page item ID or a theme settings group name, never both. Both are null on the storefront, during server rendering and outside a Weaverse root. The component re-renders whenever the selection changes. The adapter’s root mounts the selection store: withWeaverse on the React Router root Layout, or WeaverseNextRootProvider in Next.js. Without it, the hook keeps returning the empty selection and the SDK logs a warning in Studio.

Returns

StudioSelection The current Studio selection.