The component used for the root node. Either a string to use a HTML element or a component.
Type:
elementType
sx
The system prop that allows defining system overrides as well as additional CSS styles.
Type:
Array<func | object | bool> | func | object
As a CSS utility, the Box component also supports all system properties. You can use them as props directly on the component.
The ref is forwarded to the root element.
Have any feedback about this new API display design?
We've heard from you and iterated on making the design of API content documentation more scalable and easier to parse! We value your input, so please don't hesitate to share any additional feedback you may have.