# brackets icon

Brackets. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/brackets

- Category: Development
- Use it for: square brackets, array
- Tags: brackets, square-brackets, array, list, code, developer, programming, json
- Family: binary, braces, code, code-alert, code-block, code-eye, code-off, code-pencil, code-play, code-search, code-sparkle, parentheses
- Component name: BracketsIcon
- Added: 2026-10-15

## Alternatives

- `braces`: an object or JSON (curly-brackets)
- `parentheses`: parameters, arguments or grouping (parentheses)

## Also fits

- braces: an array or square brackets (array)
- parentheses: square brackets (array)
- bracket: square brackets in code or text

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/brackets.svg · PNG https://gentleface.com/png/line-round/16/brackets.png · https://gentleface.com/png/line-round/32/brackets.png · https://gentleface.com/png/line-round/48/brackets.png
- line-soft: https://gentleface.com/svg/line-soft/16/brackets.svg · PNG https://gentleface.com/png/line-soft/16/brackets.png · https://gentleface.com/png/line-soft/32/brackets.png · https://gentleface.com/png/line-soft/48/brackets.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/brackets.svg · PNG https://gentleface.com/png/line-sharp/16/brackets.png · https://gentleface.com/png/line-sharp/32/brackets.png · https://gentleface.com/png/line-sharp/48/brackets.png
- solid-round: https://gentleface.com/svg/solid-round/16/brackets.svg · PNG https://gentleface.com/png/solid-round/16/brackets.png · https://gentleface.com/png/solid-round/32/brackets.png · https://gentleface.com/png/solid-round/48/brackets.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/brackets.svg · PNG https://gentleface.com/png/solid-soft/16/brackets.png · https://gentleface.com/png/solid-soft/32/brackets.png · https://gentleface.com/png/solid-soft/48/brackets.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/brackets.svg · PNG https://gentleface.com/png/solid-sharp/16/brackets.png · https://gentleface.com/png/solid-sharp/32/brackets.png · https://gentleface.com/png/solid-sharp/48/brackets.png

The SVG of every style: https://gentleface.com/icons/brackets.json (`svg`).

## Code (line-round)

The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M5.5 13C5.641 13 5.759 13.048 5.856 13.144C5.952 13.241 6 13.359 6 13.5C6 13.641 5.952 13.759 5.856 13.856C5.759 13.952 5.641 14 5.5 14L3.5 14C3.359 14 3.241 13.952 3.144 13.856C3.048 13.759 3 13.641 3 13.5L3 1.5C3 1.359 3.048 1.241 3.144 1.144C3.241 1.048 3.359 1 3.5 1L5.5 1C5.641 1 5.759 1.048 5.856 1.144C5.952 1.241 6 1.359 6 1.5C6 1.641 5.952 1.759 5.856 1.856C5.759 1.952 5.641 2 5.5 2L4 2L4 13L5.5 13ZM12.856 1.144C12.952 1.241 13 1.359 13 1.5L13 13.5C13 13.641 12.952 13.759 12.856 13.856C12.759 13.952 12.641 14 12.5 14L10.5 14C10.359 14 10.241 13.952 10.144 13.856C10.048 13.759 10 13.641 10 13.5C10 13.359 10.048 13.241 10.144 13.144C10.241 13.048 10.359 13 10.5 13L12 13L12 2L10.5 2C10.359 2 10.241 1.952 10.144 1.856C10.048 1.759 10 1.641 10 1.5C10 1.359 10.048 1.241 10.144 1.144C10.241 1.048 10.359 1 10.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144Z"/></svg>
```

### React

```tsx
// Gentleface "brackets" (line-round), MIT. https://gentleface.com/icons/brackets
import type { SVGProps } from 'react';

export function BracketsIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M5.5 13C5.641 13 5.759 13.048 5.856 13.144C5.952 13.241 6 13.359 6 13.5C6 13.641 5.952 13.759 5.856 13.856C5.759 13.952 5.641 14 5.5 14L3.5 14C3.359 14 3.241 13.952 3.144 13.856C3.048 13.759 3 13.641 3 13.5L3 1.5C3 1.359 3.048 1.241 3.144 1.144C3.241 1.048 3.359 1 3.5 1L5.5 1C5.641 1 5.759 1.048 5.856 1.144C5.952 1.241 6 1.359 6 1.5C6 1.641 5.952 1.759 5.856 1.856C5.759 1.952 5.641 2 5.5 2L4 2L4 13L5.5 13ZM12.856 1.144C12.952 1.241 13 1.359 13 1.5L13 13.5C13 13.641 12.952 13.759 12.856 13.856C12.759 13.952 12.641 14 12.5 14L10.5 14C10.359 14 10.241 13.952 10.144 13.856C10.048 13.759 10 13.641 10 13.5C10 13.359 10.048 13.241 10.144 13.144C10.241 13.048 10.359 13 10.5 13L12 13L12 2L10.5 2C10.359 2 10.241 1.952 10.144 1.856C10.048 1.759 10 1.641 10 1.5C10 1.359 10.048 1.241 10.144 1.144C10.241 1.048 10.359 1 10.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "brackets" (line-round), MIT. https://gentleface.com/icons/brackets -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M5.5 13C5.641 13 5.759 13.048 5.856 13.144C5.952 13.241 6 13.359 6 13.5C6 13.641 5.952 13.759 5.856 13.856C5.759 13.952 5.641 14 5.5 14L3.5 14C3.359 14 3.241 13.952 3.144 13.856C3.048 13.759 3 13.641 3 13.5L3 1.5C3 1.359 3.048 1.241 3.144 1.144C3.241 1.048 3.359 1 3.5 1L5.5 1C5.641 1 5.759 1.048 5.856 1.144C5.952 1.241 6 1.359 6 1.5C6 1.641 5.952 1.759 5.856 1.856C5.759 1.952 5.641 2 5.5 2L4 2L4 13L5.5 13ZM12.856 1.144C12.952 1.241 13 1.359 13 1.5L13 13.5C13 13.641 12.952 13.759 12.856 13.856C12.759 13.952 12.641 14 12.5 14L10.5 14C10.359 14 10.241 13.952 10.144 13.856C10.048 13.759 10 13.641 10 13.5C10 13.359 10.048 13.241 10.144 13.144C10.241 13.048 10.359 13 10.5 13L12 13L12 2L10.5 2C10.359 2 10.241 1.952 10.144 1.856C10.048 1.759 10 1.641 10 1.5C10 1.359 10.048 1.241 10.144 1.144C10.241 1.048 10.359 1 10.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "brackets" (line-round), MIT. https://gentleface.com/icons/brackets -->
<script>
  let props = $props();
</script>

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
  <path d="M5.5 13C5.641 13 5.759 13.048 5.856 13.144C5.952 13.241 6 13.359 6 13.5C6 13.641 5.952 13.759 5.856 13.856C5.759 13.952 5.641 14 5.5 14L3.5 14C3.359 14 3.241 13.952 3.144 13.856C3.048 13.759 3 13.641 3 13.5L3 1.5C3 1.359 3.048 1.241 3.144 1.144C3.241 1.048 3.359 1 3.5 1L5.5 1C5.641 1 5.759 1.048 5.856 1.144C5.952 1.241 6 1.359 6 1.5C6 1.641 5.952 1.759 5.856 1.856C5.759 1.952 5.641 2 5.5 2L4 2L4 13L5.5 13ZM12.856 1.144C12.952 1.241 13 1.359 13 1.5L13 13.5C13 13.641 12.952 13.759 12.856 13.856C12.759 13.952 12.641 14 12.5 14L10.5 14C10.359 14 10.241 13.952 10.144 13.856C10.048 13.759 10 13.641 10 13.5C10 13.359 10.048 13.241 10.144 13.144C10.241 13.048 10.359 13 10.5 13L12 13L12 2L10.5 2C10.359 2 10.241 1.952 10.144 1.856C10.048 1.759 10 1.641 10 1.5C10 1.359 10.048 1.241 10.144 1.144C10.241 1.048 10.359 1 10.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "brackets" (line-round), MIT. https://gentleface.com/icons/brackets. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/brackets.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "brackets" (line-round), MIT. https://gentleface.com/icons/brackets. Takes the text color. */
.icon-brackets {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M5.5 13C5.641 13 5.759 13.048 5.856 13.144C5.952 13.241 6 13.359 6 13.5C6 13.641 5.952 13.759 5.856 13.856C5.759 13.952 5.641 14 5.5 14L3.5 14C3.359 14 3.241 13.952 3.144 13.856C3.048 13.759 3 13.641 3 13.5L3 1.5C3 1.359 3.048 1.241 3.144 1.144C3.241 1.048 3.359 1 3.5 1L5.5 1C5.641 1 5.759 1.048 5.856 1.144C5.952 1.241 6 1.359 6 1.5C6 1.641 5.952 1.759 5.856 1.856C5.759 1.952 5.641 2 5.5 2L4 2L4 13L5.5 13ZM12.856 1.144C12.952 1.241 13 1.359 13 1.5L13 13.5C13 13.641 12.952 13.759 12.856 13.856C12.759 13.952 12.641 14 12.5 14L10.5 14C10.359 14 10.241 13.952 10.144 13.856C10.048 13.759 10 13.641 10 13.5C10 13.359 10.048 13.241 10.144 13.144C10.241 13.048 10.359 13 10.5 13L12 13L12 2L10.5 2C10.359 2 10.241 1.952 10.144 1.856C10.048 1.759 10 1.641 10 1.5C10 1.359 10.048 1.241 10.144 1.144C10.241 1.048 10.359 1 10.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M5.5 13C5.641 13 5.759 13.048 5.856 13.144C5.952 13.241 6 13.359 6 13.5C6 13.641 5.952 13.759 5.856 13.856C5.759 13.952 5.641 14 5.5 14L3.5 14C3.359 14 3.241 13.952 3.144 13.856C3.048 13.759 3 13.641 3 13.5L3 1.5C3 1.359 3.048 1.241 3.144 1.144C3.241 1.048 3.359 1 3.5 1L5.5 1C5.641 1 5.759 1.048 5.856 1.144C5.952 1.241 6 1.359 6 1.5C6 1.641 5.952 1.759 5.856 1.856C5.759 1.952 5.641 2 5.5 2L4 2L4 13L5.5 13ZM12.856 1.144C12.952 1.241 13 1.359 13 1.5L13 13.5C13 13.641 12.952 13.759 12.856 13.856C12.759 13.952 12.641 14 12.5 14L10.5 14C10.359 14 10.241 13.952 10.144 13.856C10.048 13.759 10 13.641 10 13.5C10 13.359 10.048 13.241 10.144 13.144C10.241 13.048 10.359 13 10.5 13L12 13L12 2L10.5 2C10.359 2 10.241 1.952 10.144 1.856C10.048 1.759 10 1.641 10 1.5C10 1.359 10.048 1.241 10.144 1.144C10.241 1.048 10.359 1 10.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M5.5 13C5.641 13 5.759 13.048 5.856 13.144C5.952 13.241 6 13.359 6 13.5C6 13.641 5.952 13.759 5.856 13.856C5.759 13.952 5.641 14 5.5 14L3.5 14C3.359 14 3.241 13.952 3.144 13.856C3.048 13.759 3 13.641 3 13.5L3 1.5C3 1.359 3.048 1.241 3.144 1.144C3.241 1.048 3.359 1 3.5 1L5.5 1C5.641 1 5.759 1.048 5.856 1.144C5.952 1.241 6 1.359 6 1.5C6 1.641 5.952 1.759 5.856 1.856C5.759 1.952 5.641 2 5.5 2L4 2L4 13L5.5 13ZM12.856 1.144C12.952 1.241 13 1.359 13 1.5L13 13.5C13 13.641 12.952 13.759 12.856 13.856C12.759 13.952 12.641 14 12.5 14L10.5 14C10.359 14 10.241 13.952 10.144 13.856C10.048 13.759 10 13.641 10 13.5C10 13.359 10.048 13.241 10.144 13.144C10.241 13.048 10.359 13 10.5 13L12 13L12 2L10.5 2C10.359 2 10.241 1.952 10.144 1.856C10.048 1.759 10 1.641 10 1.5C10 1.359 10.048 1.241 10.144 1.144C10.241 1.048 10.359 1 10.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "brackets" (line-round), MIT. https://gentleface.com/icons/brackets
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#brackets"/></svg>
```

### SwiftUI

```swift
// Gentleface "brackets" (line-round), MIT. https://gentleface.com/icons/brackets
import SwiftUI

struct BracketsIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 5.5, y: 13))
        p.addCurve(to: CGPoint(x: 5.856, y: 13.144), control1: CGPoint(x: 5.641, y: 13), control2: CGPoint(x: 5.759, y: 13.048))
        p.addCurve(to: CGPoint(x: 6, y: 13.5), control1: CGPoint(x: 5.952, y: 13.241), control2: CGPoint(x: 6, y: 13.359))
        p.addCurve(to: CGPoint(x: 5.856, y: 13.856), control1: CGPoint(x: 6, y: 13.641), control2: CGPoint(x: 5.952, y: 13.759))
        p.addCurve(to: CGPoint(x: 5.5, y: 14), control1: CGPoint(x: 5.759, y: 13.952), control2: CGPoint(x: 5.641, y: 14))
        p.addLine(to: CGPoint(x: 3.5, y: 14))
        p.addCurve(to: CGPoint(x: 3.144, y: 13.856), control1: CGPoint(x: 3.359, y: 14), control2: CGPoint(x: 3.241, y: 13.952))
        p.addCurve(to: CGPoint(x: 3, y: 13.5), control1: CGPoint(x: 3.048, y: 13.759), control2: CGPoint(x: 3, y: 13.641))
        p.addLine(to: CGPoint(x: 3, y: 1.5))
        p.addCurve(to: CGPoint(x: 3.144, y: 1.144), control1: CGPoint(x: 3, y: 1.359), control2: CGPoint(x: 3.048, y: 1.241))
        p.addCurve(to: CGPoint(x: 3.5, y: 1), control1: CGPoint(x: 3.241, y: 1.048), control2: CGPoint(x: 3.359, y: 1))
        p.addLine(to: CGPoint(x: 5.5, y: 1))
        p.addCurve(to: CGPoint(x: 5.856, y: 1.144), control1: CGPoint(x: 5.641, y: 1), control2: CGPoint(x: 5.759, y: 1.048))
        p.addCurve(to: CGPoint(x: 6, y: 1.5), control1: CGPoint(x: 5.952, y: 1.241), control2: CGPoint(x: 6, y: 1.359))
        p.addCurve(to: CGPoint(x: 5.856, y: 1.856), control1: CGPoint(x: 6, y: 1.641), control2: CGPoint(x: 5.952, y: 1.759))
        p.addCurve(to: CGPoint(x: 5.5, y: 2), control1: CGPoint(x: 5.759, y: 1.952), control2: CGPoint(x: 5.641, y: 2))
        p.addLine(to: CGPoint(x: 4, y: 2))
        p.addLine(to: CGPoint(x: 4, y: 13))
        p.addLine(to: CGPoint(x: 5.5, y: 13))
        p.closeSubpath()
        p.move(to: CGPoint(x: 12.856, y: 1.144))
        p.addCurve(to: CGPoint(x: 13, y: 1.5), control1: CGPoint(x: 12.952, y: 1.241), control2: CGPoint(x: 13, y: 1.359))
        p.addLine(to: CGPoint(x: 13, y: 13.5))
        p.addCurve(to: CGPoint(x: 12.856, y: 13.856), control1: CGPoint(x: 13, y: 13.641), control2: CGPoint(x: 12.952, y: 13.759))
        p.addCurve(to: CGPoint(x: 12.5, y: 14), control1: CGPoint(x: 12.759, y: 13.952), control2: CGPoint(x: 12.641, y: 14))
        p.addLine(to: CGPoint(x: 10.5, y: 14))
        p.addCurve(to: CGPoint(x: 10.144, y: 13.856), control1: CGPoint(x: 10.359, y: 14), control2: CGPoint(x: 10.241, y: 13.952))
        p.addCurve(to: CGPoint(x: 10, y: 13.5), control1: CGPoint(x: 10.048, y: 13.759), control2: CGPoint(x: 10, y: 13.641))
        p.addCurve(to: CGPoint(x: 10.144, y: 13.144), control1: CGPoint(x: 10, y: 13.359), control2: CGPoint(x: 10.048, y: 13.241))
        p.addCurve(to: CGPoint(x: 10.5, y: 13), control1: CGPoint(x: 10.241, y: 13.048), control2: CGPoint(x: 10.359, y: 13))
        p.addLine(to: CGPoint(x: 12, y: 13))
        p.addLine(to: CGPoint(x: 12, y: 2))
        p.addLine(to: CGPoint(x: 10.5, y: 2))
        p.addCurve(to: CGPoint(x: 10.144, y: 1.856), control1: CGPoint(x: 10.359, y: 2), control2: CGPoint(x: 10.241, y: 1.952))
        p.addCurve(to: CGPoint(x: 10, y: 1.5), control1: CGPoint(x: 10.048, y: 1.759), control2: CGPoint(x: 10, y: 1.641))
        p.addCurve(to: CGPoint(x: 10.144, y: 1.144), control1: CGPoint(x: 10, y: 1.359), control2: CGPoint(x: 10.048, y: 1.241))
        p.addCurve(to: CGPoint(x: 10.5, y: 1), control1: CGPoint(x: 10.241, y: 1.048), control2: CGPoint(x: 10.359, y: 1))
        p.addLine(to: CGPoint(x: 12.5, y: 1))
        p.addCurve(to: CGPoint(x: 12.856, y: 1.144), control1: CGPoint(x: 12.641, y: 1), control2: CGPoint(x: 12.759, y: 1.048))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// BracketsIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "brackets" (line-round), MIT. https://gentleface.com/icons/brackets
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val BracketsIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "brackets", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M5.5 13C5.641 13 5.759 13.048 5.856 13.144C5.952 13.241 6 13.359 6 13.5C6 13.641 5.952 13.759 5.856 13.856C5.759 13.952 5.641 14 5.5 14L3.5 14C3.359 14 3.241 13.952 3.144 13.856C3.048 13.759 3 13.641 3 13.5L3 1.5C3 1.359 3.048 1.241 3.144 1.144C3.241 1.048 3.359 1 3.5 1L5.5 1C5.641 1 5.759 1.048 5.856 1.144C5.952 1.241 6 1.359 6 1.5C6 1.641 5.952 1.759 5.856 1.856C5.759 1.952 5.641 2 5.5 2L4 2L4 13L5.5 13ZM12.856 1.144C12.952 1.241 13 1.359 13 1.5L13 13.5C13 13.641 12.952 13.759 12.856 13.856C12.759 13.952 12.641 14 12.5 14L10.5 14C10.359 14 10.241 13.952 10.144 13.856C10.048 13.759 10 13.641 10 13.5C10 13.359 10.048 13.241 10.144 13.144C10.241 13.048 10.359 13 10.5 13L12 13L12 2L10.5 2C10.359 2 10.241 1.952 10.144 1.856C10.048 1.759 10 1.641 10 1.5C10 1.359 10.048 1.241 10.144 1.144C10.241 1.048 10.359 1 10.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(BracketsIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_brackets.xml · Gentleface "brackets" (line-round), MIT. https://gentleface.com/icons/brackets -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M5.5 13C5.641 13 5.759 13.048 5.856 13.144C5.952 13.241 6 13.359 6 13.5C6 13.641 5.952 13.759 5.856 13.856C5.759 13.952 5.641 14 5.5 14L3.5 14C3.359 14 3.241 13.952 3.144 13.856C3.048 13.759 3 13.641 3 13.5L3 1.5C3 1.359 3.048 1.241 3.144 1.144C3.241 1.048 3.359 1 3.5 1L5.5 1C5.641 1 5.759 1.048 5.856 1.144C5.952 1.241 6 1.359 6 1.5C6 1.641 5.952 1.759 5.856 1.856C5.759 1.952 5.641 2 5.5 2L4 2L4 13L5.5 13ZM12.856 1.144C12.952 1.241 13 1.359 13 1.5L13 13.5C13 13.641 12.952 13.759 12.856 13.856C12.759 13.952 12.641 14 12.5 14L10.5 14C10.359 14 10.241 13.952 10.144 13.856C10.048 13.759 10 13.641 10 13.5C10 13.359 10.048 13.241 10.144 13.144C10.241 13.048 10.359 13 10.5 13L12 13L12 2L10.5 2C10.359 2 10.241 1.952 10.144 1.856C10.048 1.759 10 1.641 10 1.5C10 1.359 10.048 1.241 10.144 1.144C10.241 1.048 10.359 1 10.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "brackets" (line-round), MIT. https://gentleface.com/icons/brackets
import 'package:flutter/widgets.dart';

class BracketsIcon extends StatelessWidget {
  const BracketsIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _BracketsIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _BracketsIconPainter extends CustomPainter {
  _BracketsIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(5.5, 13)
      ..cubicTo(5.641, 13, 5.759, 13.048, 5.856, 13.144)
      ..cubicTo(5.952, 13.241, 6, 13.359, 6, 13.5)
      ..cubicTo(6, 13.641, 5.952, 13.759, 5.856, 13.856)
      ..cubicTo(5.759, 13.952, 5.641, 14, 5.5, 14)
      ..lineTo(3.5, 14)
      ..cubicTo(3.359, 14, 3.241, 13.952, 3.144, 13.856)
      ..cubicTo(3.048, 13.759, 3, 13.641, 3, 13.5)
      ..lineTo(3, 1.5)
      ..cubicTo(3, 1.359, 3.048, 1.241, 3.144, 1.144)
      ..cubicTo(3.241, 1.048, 3.359, 1, 3.5, 1)
      ..lineTo(5.5, 1)
      ..cubicTo(5.641, 1, 5.759, 1.048, 5.856, 1.144)
      ..cubicTo(5.952, 1.241, 6, 1.359, 6, 1.5)
      ..cubicTo(6, 1.641, 5.952, 1.759, 5.856, 1.856)
      ..cubicTo(5.759, 1.952, 5.641, 2, 5.5, 2)
      ..lineTo(4, 2)
      ..lineTo(4, 13)
      ..lineTo(5.5, 13)
      ..close()
      ..moveTo(12.856, 1.144)
      ..cubicTo(12.952, 1.241, 13, 1.359, 13, 1.5)
      ..lineTo(13, 13.5)
      ..cubicTo(13, 13.641, 12.952, 13.759, 12.856, 13.856)
      ..cubicTo(12.759, 13.952, 12.641, 14, 12.5, 14)
      ..lineTo(10.5, 14)
      ..cubicTo(10.359, 14, 10.241, 13.952, 10.144, 13.856)
      ..cubicTo(10.048, 13.759, 10, 13.641, 10, 13.5)
      ..cubicTo(10, 13.359, 10.048, 13.241, 10.144, 13.144)
      ..cubicTo(10.241, 13.048, 10.359, 13, 10.5, 13)
      ..lineTo(12, 13)
      ..lineTo(12, 2)
      ..lineTo(10.5, 2)
      ..cubicTo(10.359, 2, 10.241, 1.952, 10.144, 1.856)
      ..cubicTo(10.048, 1.759, 10, 1.641, 10, 1.5)
      ..cubicTo(10, 1.359, 10.048, 1.241, 10.144, 1.144)
      ..cubicTo(10.241, 1.048, 10.359, 1, 10.5, 1)
      ..lineTo(12.5, 1)
      ..cubicTo(12.641, 1, 12.759, 1.048, 12.856, 1.144)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_BracketsIconPainter old) => old.color != color;
}
```
