Styling
All components are designed to be styled using props.
Overview
The list of major concepts provided by the library is as follows.
Style PropsConditional StylesResponsive DesignColor ModeColor SchemeCSS Custom PropertiesCSS Value FunctionsInterpolationAnimationFocus RingGlobal StylesReset StylesLayer StylesText StylesAt-RulesCascade Layers
Usage
Style Props allow you to apply styles to elements using props. Style Props conform to the CSS properties and provide all properties in camelCase.
Box
<Box p="md" bg="bg.contrast" color="fg.contrast">
Box
</Box>
Style Props uses @mdn/browser-compat-data. When the library is updated, Style Props is also updated periodically.