border-radius

Applying the border-radius system modifier to your component will allow consumers of your component to pass in the following props:

PropertyTypeDescription
$borderRadiusradiusApplies a border radius to all corners of the element
$borderTopRadiusradiusApplies a border radius to both top corners of the element
$borderLeftRadiusradiusApplies a border radius to both left corners of the element
$borderRightRadiusradiusApplies a border radius to both right corners of the element
$borderBottomRadiusradiusApplies a border radius to both bottom corners of the element
$borderTopLeftRadiusradiusApplies a border radius to the top left corner of the element
$borderTopRightRadiusradiusApplies a border radius to the top right corner of the element
$borderBottomLeftRadiusradiusApplies a border radius to the bottom left corner of the element
$borderBottomRightRadiusradiusApplies a border radius to the bottom right corner of the element