Domain Switch: Focus Mode
- from @keyframeui
- by KeyframeUI <https://keyframeui.com>
Dark Mode Toggle example, Focus Mode: A writing app. Focus opens a calm, dark domain in which the sidebar and toolbar, wrapped in `DomainSwitchAside`, dissolve, and the document in `DomainSwitchMain` comes forward. One `Editor` renders both worlds. Esc leaves. A take on the toggle (switch). Fits navbar and app UI sections.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @keyframeui/domain-switch-focus-demoRegistry dependencies1
Packages0
No npm packages are installed with it.
