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-solidfor most buttons, inputs, cards, and structural UI. - Use
border-dashedsparingly 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-noneintentionally when a component preset adds a border you want removed.
Related Utilities
Border Width
Border width utilities
Border Radius
Border radius utilities

