I was reading the Radix documentation and noticed the props. I thought I'd test out the orientation on tabs & navigation. Using custom properties, I added the data-orientation="vertical" to each item the documents suggested. The rendered output matches the Radix DOM. Should something change?
I was reading in some Radix github issues that it's possibly for keyboard behavior as well. It didn't make any difference how I did it previously, but I didn't get the radio options.
radio options show up without data prefix. I guess there is a difference between the root definition and the data- attr. Couldnt tell you why there are two though
its there for styling based on those states, which we don't have yet, or better to say we don't have abiltiy to create custom states for styles based on any attribute, the known attributes should be already exposed via custom token states
@John Siciliano, the keyboard orientation does function as expected when adding "orientation" property. It switches which arrows are used to navigate (up/down to left/right). This is resolved. π