RovingFocus
To create a list of items that will use arrow keys to move focus.
This component is used internally in Tabs and ToggleGroup.
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.