Border Utilities
Control borders, dividers, and outlines.
Border Width
Control the thickness of borders.
Available classes:
sb-border
: 1px bordersb-border-0
: No bordersb-border-2
: 2px bordersb-border-4
: 4px bordersb-border-8
: 8px border
Individual sides:
- sb-border-t-{size}
: Top
- sb-border-r-{size}
: Right
- sb-border-b-{size}
: Bottom
- sb-border-l-{size}
: Left
Border Style
Control the style of borders.
Available classes:
sb-border-solid
: Solid linesb-border-dashed
: Dashed linesb-border-dotted
: Dotted linesb-border-double
: Double linesb-border-none
: No border
Border Radius
sb-border-radius-none
: 0sb-border-radius-sm
: 0.125remsb-border-radius
: 0.25remsb-border-radius-md
: 0.375remsb-border-radius-lg
: 0.5remsb-border-radius-xl
: 0.75remsb-border-radius-2xl
: 1remsb-border-radius-3xl
: 1.5remsb-border-radius-full
: 9999px
Border Color
Control the color of borders.
Available classes:
sb-border-black
: A black bordersb-border-white
: A white bordersb-border-primary
: Theme primary colorsb-border-secondary
: Theme secondary colorsb-border-accent
: Theme accent colorsb-border-neutral
: Theme neutral colorsb-border-info
: Theme info colorsb-border-success
: Theme success colorsb-border-warning
: Theme warning colorsb-border-error
: Theme error colorsb-border-transparent
: Transparent border
Each color has a corresponding opacity variant:
sb-border-color-25
: 25% opacitysb-border-color-50
: 50% opacitysb-border-color-75
: 75% opacity
Continue to Color Utilities