Open endigo9740 opened 7 months ago
See also the Anatomy sections from Zag: https://zagjs.com/components/react/accordion#anatomy
I think we could construct these using some kind of recursive components that are basically an outline + label. Something like this, which represents the current Avatar component:
Mantine does a wonderful job of this: https://mantine.dev/core/menu/#styles-api
We likely won't be able to get a version of this working for -every- component at launch. However, having this as a visual guide to explain the prefixed prop names for style properties might be a valuable learning tool!
When you hover over a section on the right, the respective portion of the component is highlighted with a red outline.