ui/integrations/keys-focus
Focus Zones
Manage keyboard navigation across multiple UI zones with useFocusZone. Requires KeyboardProvider.
Manage keyboard navigation across multiple UI zones (e.g., sidebar + content + preview). Handles zone transitions via arrow keys and Tab cycling. Requires KeyboardProvider — not available in copy mode.
Info:
For the complete API reference, see the @diffgazer/keys documentation.
useFocusZone
tsx
Return value
With @diffgazer/ui components
See Patterns for integration examples with Menu, Dialog, CommandPalette, and Tabs, including a multi-zone layout.