New
Use border utilities to add or remove an element's border. Chose from all borders or one at a time, the classes can be combined to create various styles of borders
Border All
Border Top
Border Left
Border Bottom
Border Right
<div class="border-all"></div><div class="border-top"></div><div class="border-left"></div><div class="border-bottom"></div><div class="border-right"></div>Border Top & Bottom
Border Left & Right
<div class="border-top border-bottom" ></div><div class="border-left border-right"></div>0px
Removes the border from the element
<div class=" border-all border-width-0"></div>1px
Most commonly used
<div class=" border-all border-width-100"></div>2px
Used in legacy secondary button
<div class=" border-all border-width-200"></div>3px
Used in tabs
<div class=" border-all border-width-300"></div>4px
Used in legacy SDI account cards, and tabs in key features
<div class=" border-all border-width-400"></div>Below are some of the most common uses cases for having a border radius applied, including examples. Note that this list is not exhaustive and only documents our most common use cases. Specific components will contain UI specs for their specific border radius styling.
0
Basic/structural design elements, any design element that spans full width within its container or the page: nav bar, sidebar, section splitters
<div class="border-radius-none"></dv>2px
For the smallest UI elements that need rounded borders
<div class="border-radius-50"></dv>4px
For standard UI elements like form fields, dropdowns
<div class="border-radius-100"></dv>6px
Used for all button sizes as the standard border radius for actions.
<div class="border-radius-200"></dv>8px
For larger components like cards and tiles.
<div class="border-radius-300"></dv>12px
For larger components like cards and tiles.
<div class="border-radius-400"></dv>16px
For the largest and most obvious border rounding. Some cards and large elements may use this value
<div class="border-radius-500"></dv>9999px
Currently only used in very specific scenario (floating support button), ensures a rounded circle on either end of the given element.
<div class="border-radius-rounded"></dv>