navigateTo

Beta
Beta

navigateTo

navigateTo

Navigate the Framer UI to a target by its ID

await framer.navigateTo(nodeId, opts)

Parameters

  • nodeId: string – Unique identifier of the item to navigate to. This needs to be the node ID.

  • opts?: NavigableOptions | undefined – Options like zoomIntoView and select


Returns

  • Promise<void> – that resolves after the navigation request is handled. When it nodeId isn't in the current mode (e.g., the plugin is open on the canvas and the target is a collection item), it might terminate or restart the plugin in the new mode.

See Also