Skip to main navigationSkip to main content
Return to Sky UI homepage

system - border

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

PropTypeDefaultDescription
$borderbooleanundefinedApplies a border to all sides of the element
$borderTopbooleanundefinedApplies a border to the top of the element
$borderBottombooleanundefinedApplies a border to the bottom of the element
$borderLeftbooleanundefinedApplies a border to the left of the element
$borderRightbooleanundefinedApplies a border to the right of the element
$borderXbooleanundefinedApplies a border to the left and right of the element
$borderYbooleanundefinedApplies a border to the top and bottom of the element
$borderColorcolorsundefinedSets the border color which effects all sides
border | Sky UI Design System