Use the Box component for layout and styling
mainThe Box component is used to display and style basic elements and containers while adhering to the design system's typography and spacing strategies. It can act as a wrapper for content or be used to create specific HTML elements via the variant prop.
Key capabilities include:
- Controlling spacing via
marginandpadding. - Overriding typography with
fontSizeandfontWeight. - Managing layout with
display,float, andtextAlign. - Setting semantic HTML tags using
variantortagOverride.