Skip to main content

Recommended: JavaScript SDK with React Hooks

For new React apps, we recommend the JavaScript SDK with React Hooks (@dynamic-labs-sdk/react-hooks) instead of the legacy React SDK documented here. The JS SDK comes with many benefits such as a much smaller bundle size and other optimizations. Use the React quickstart (JavaScript SDK) to get started.

Summary

This component will render the signup/login UI as well as the user profile all in one on the page. It’s useful as an alternative to DynamicWidget, which first renders a button that brings up the flow. You can see this component in action on our demo: https://demo.dynamic.xyz/

Playground

See how it works live! Play with the background options to see their effect!

Usage

Last modified on June 25, 2026