radix-ui/website

Improve explanation of `NavigationMenu` `data-motion` in docs

Closed this issue · 1 comments

Documentation

Relevant Radix Component(s)

Navigation-Menu > Content > data-motion-attributes:
data-motion-attribute

I dont understand the meaning of data-motion-attributes in order to trigger the right animation.
Would be great to have better explanations what user action with the nav-menu will result in which data-motion-attribute.

Thank you

The main demo at the top has a full example of this.