---
title: Borders
status: New release
status_issue: https://github.com/github/design-systems/issues/72
---
Utilities for borders, border radius, and box shadows.
{:toc}
## Default border
The default border utility applies a solid, 1px border, with a default gray color.
```html
.border
```
Borders can be applied to a specific edge or to the Y axis.
```html
.border-left
.border-top
.border-bottom
.border-right
.border-y
```
Remove borders from all sides or a single side with `.border-0`, `.border-top-0`, `.border-right-0`, `.border-bottom-0`, `.border-left-0`.
```html
.border-top-0
```
## Border colors
Override default border colors with blue, green, red, purple, yellow, and gray border color utilities.
```html
.border-blue
.border-blue-light
.border-green
.border-green-light
.border-red
.border-red-light
.border-purple
.border-yellow
.border-gray-light
.border-gray-dark
```
### Borders with alpha transparency
Use `border-black-fade` to add an rgba black border with an alpha transparency of `0.15`. This is useful when you want a border that tints the background color. The shade of black we use matches the hue of the GitHub dark header and our gray color palette: `rgba(27,31,35, 0.15)`.
```html
.border-black-fade .bg-blue-light
.border-black-fade .bg-red-light
```
## Border style
Use `border-dashed` to give an element a dashed border.
```html
.border-dashed
```
## Rounded corners
Add or remove rounded corners: `rounded-0` removes rounded corners, `rounded-1` applies a border radius of 3px, `rounded-2` applies a border radius of 6px.
```html
.rounded-0
.rounded-1
.rounded-2
```