Ai Workspace Switcher
A production-scale, light + dark Ai Workspace Switcher component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add ai-workspace-switcherLive preview available in the gallery.
Usage
import { AIWorkspaceSwitcher } from "@lerpa/ui";
<AIWorkspaceSwitcher />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| workspaces | Workspace[] | — | |
| defaultSelectedId | string | — | |
| accent | string | — | |
| onChange | (w: Workspace) => void | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.