Skip to main content
Use the JavaScript SDK inside a React app. State is wired via the @dynamic-labs-sdk/react-hooks package.
The JavaScript SDK is headless — there is no built-in modal, wallet picker, or login form. You build all UI yourself. See the JavaScript SDK Overview for details.
Before you start: a Vite-based React app and a Dynamic environment ID from the Dynamic dashboard.
Add the Dynamic docs MCP to your AI editor first — your agent can then query the docs directly.
Copy this prompt into your LLM (e.g. Claude, ChatGPT, Cursor) to implement Dynamic in your React app via the JS SDK.
Last modified on July 7, 2026