RovingFocus
This component is deprecated, please use focusgroup instead.
To create a list of items that will use arrow keys to move focus.
Usage
You must always have RovingFocusRoot around RovingFocusItem for it to work.
The element of RovingFocusItem must be able to be focused.
Using custom items
If you need to use custom items, you can use asChild, both on RovingFocusRoot and RovingFocusItem.
Props
RovingFocusRoot
Must be around RovingFocusItem.
RovingFocusItem
Must be inside RovingFocusRoot, but doesn't have to be a direct child.