Skip to content
PreviewMove the pointer over the rows, or focus the list and use the arrows.

Glide

items
string
Default: ".ui-menu-item, .ui-row, .ui-tray-option"
The rows it lands on: a selector matched inside the list. Default: menu items, list rows and tray options.
target
(list: HTMLElement, fallback: HTMLElement | null) => HTMLElement | null | undefined
Picks the lit row where the default doesn't fit. Return a row, null for none, or undefined to fall back to the default: the row under the pointer when the pointer moved last, otherwise the row with data-highlighted, otherwise the row with keyboard focus. The second argument is that default row, so a navigation list can preserve it and supply its selection at rest.
fresh
string | number
Changed when the rows are new: the next light lands whole, no glide, no fade.
rootStyle
RootStyle<GlideKnobs>
Typed StyleX override: layout and the movement knobs.

State machine

PreviewThe highlight rests on Agent.