Hey, thanks for looking. Can you please elaborate? When I try to access the figma object from within the React app, I get this error: ReferenceError: figma is not defined
None of the methods you mentioned except the last one needs figma.
You can’t access figma object in the UI. UI is for all the browser APIs, backend is for interacting with figma. See this post on how to communicate between the two environments: Creating a User Interface | Plugin API