Overview
Control border appearance with style utilities. Border style works together with border width, color, and radius to create complete border styling.Border Style Utilities
Border Style
.border-solid | Solid | border-style: solid; | Solid line border |
.border-dashed | Dashed | border-style: dashed; | Dashed line border |
.border-none | None | border-style: none; | No border style |
Examples
Basic Border Styles
Combined with Colors
Common Patterns
Form Inputs
Button Variants
Card Borders
Best Practices
- Solid for standard: Use solid borders for most UI elements
- Dashed for optional: Use dashed borders to indicate optional or less important elements
- None to remove: Use
border-noneto remove borders when needed - Consistent usage: Use the same border style for similar elements

