Advanced

API Reference

Complete reference for all properties and options available in the DevConsole component and providers.

DebugToolkit Props

Prop / OptionTypeDefaultDescription
initialTabDebugTab'Auth'The tab to show when the toolkit is first opened.
defaultOpenbooleanfalseWhether the toolkit overlay should be open by default.
theme'dark' | 'light''dark'The UI theme for the toolkit.
godModebooleantrueEnable or disable God Mode capabilities globally.
initialUserUserDetailsnullSeed data for the User Simulation tab.
initialAuthAuthDatanullSeed data for the Auth & Identity tab.
initialOnboardingStepsOnboardingStep[][]Custom steps for the Onboarding Simulation tab.
initialConfigThemeConfig{...}Custom branding colors for the toolkit UI.
position'bottom-right' | 'bottom-left' | 'top-right' | 'top-left''bottom-right'Position of the trigger button and toolkit panel on the screen. The trigger button stays sticky in the configured corner.

Core Functions

FunctionReturnsDescription
registerStore(adapter)voidRegisters a custom state manager (Zustand, Redux, etc.) with the toolkit.
unregisterStore(name)voidRemoves a previously registered store by its name.
createZustandAdapter(name, useStore)StoreAdapterUtility to quickly wrap a Zustand store for DevConsole.
createReduxAdapter(name, store)StoreAdapterUtility to quickly wrap a Redux store for DevConsole.
mountDebugToolkit(options)voidImperatively inject the toolkit into any non-React application.