Skip to main content

Overview

Border style utilities define how a border line is drawn. The shipped set is intentionally small and covers the common UI cases.

Example

Examples

Best Practices

  • Use border-solid for most buttons, inputs, cards, and structural UI.
  • Use border-dashed sparingly for optional, provisional, or drop-zone style patterns.
  • Pair style with explicit width and color classes so the full border treatment is obvious in markup.
  • Use border-none intentionally when a component preset adds a border you want removed.

Border Width

Border width utilities

Border Radius

Border radius utilities