compose-focus-navigation

Installation
SKILL.md

Compose: focus navigation

Core principle

Focus is stateful UI behavior: make targets and exceptional edges explicit, then drive and verify it through the user's keyboard, D-pad, or remote input.

Procedure

  1. Start with components that already participate in focus. Add a hook only for a requested behavior:
Need Add
Normal button/text field/clickable focus Nothing extra; use the focusable component
Programmatic initial/restored focus FocusRequester + Modifier.focusRequester(...)
Visual or state reaction to focus changes Modifier.onFocusChanged { ... }
Custom interactive surface that is not already focusable Modifier.focusable() plus role/semantics as appropriate
Installs
1.3K
GitHub Stars
1.0K
First Seen
May 12, 2026
compose-focus-navigation — chrisbanes/skills