Developer Toolbar
The Unleash Developer Toolbar lets you override feature flag values and context properties at runtime without making server changes. It’s designed for local development and testing workflows where you need to quickly test different flag configurations or context values.

Key features
- Flag overrides: Force boolean flags on or off, or select specific variant values
- Context overrides: Modify
userId,sessionId, and custom properties to test targeting rules - Persistence: Choose between memory, session, or local storage for your overrides
- Framework support: Works with React, Next.js, Vue, Angular, and JavaScript
- SSR support: Cookie-based state sync for server-side rendering in Next.js
The toolbar is intended for development and testing environments only. Don’t use it in production unless you’re building a public demo where users interact with feature flags without Unleash access.
Installation
Choose the installation command for your framework:
JavaScript
React
Next.js
Import the CSS file to load the toolbar styles:
Quickstart
JavaScript
React
Next.js
Vue
Angular
The initUnleashToolbar function wraps your UnleashClient and returns a client with the same API. Use the wrapped client for all flag evaluations.
Configuration options
Storage modes explained
local(recommended for development): Persists across all tabs and browser restarts. Set overrides once, test everywhere.session: Persists within the current tab only. Useful for testing different configurations in multiple tabs simultaneously.memory: No persistence. Clears on every page reload. Use for quick one-off tests.
API reference
Access the toolbar instance via window.unleashToolbar:
Next.js server utilities
Bundle size
The toolbar is optimized for minimal impact:
Requirements
- Browser: ES2020 support (Chrome 90+, Firefox 88+, Safari 14+)
- SDK versions:
unleash-proxy-client^3.0.0@unleash/proxy-client-react^5.0.0 (optional)@unleash/nextjs^1.0.0 (optional)
Troubleshooting
Toolbar doesn't appear
Make sure you’ve imported the CSS file:
Check that you’re using the wrapped client returned by initUnleashToolbar(), not the original client.
Overrides don't persist
Check your storageMode setting. If set to 'memory', overrides clear on page reload. Use 'local' for persistent overrides across sessions.
Server components don't reflect overrides
For Next.js SSR, ensure you’re using applyToolbarOverrides() in your server components and that enableCookieSync is enabled in your toolbar options.
Hooks not re-rendering on override changes
The wrapped client emits 'update' events when overrides change. If you’re using a custom setup, make sure you’re listening to these events and triggering re-renders.