/** Browser-local presentation toggle. Backend and agent results stay real. */ import { Switch } from "@agent-native/toolkit/design-system"; import { setBrowserDemoModeEnabled } from "../../demo/browser-state.js"; import { useDemoModeStatus } from "../use-demo-mode-status.js"; export function DemoModeSection() { const { enabled } = useDemoModeStatus(); return (
Enable demo mode

Anonymize displayed emails in this browser and reshape supported dashboard charts for presentations. Backend, MCP, and agent results stay real and access-scoped.

setBrowserDemoModeEnabled(checked)} aria-label="Enable demo mode" className="shrink-0" />
); }