Skip to content

FocusNeighbors

Defined in: ui/src/types.ts:318

Per-direction override of the position rule, addressed by FocusProps.focusId.

A string matching a current candidate wins. null stops movement in that direction: no position fallback, no wrap, and move returns false. An absent key, or a string matching no current candidate, falls through to the position rule.

optional down?: string | null

Defined in: ui/src/types.ts:320


optional left?: string | null

Defined in: ui/src/types.ts:321


optional right?: string | null

Defined in: ui/src/types.ts:322


optional up?: string | null

Defined in: ui/src/types.ts:319

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/ui.md.