# border-all icon

Border all. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/border-all

- Category: Text & formatting
- Use it for: all borders, cell borders, borders, border all
- Tags: border, borders, all-borders, cell, table, spreadsheet, grid, format
- Family: border-bottom, border-inner, border-left, border-none, border-right, border-top
- Component name: BorderAllIcon
- Added: 2026-10-15

## 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/border-all.svg · PNG https://gentleface.com/png/line-round/16/border-all.png · https://gentleface.com/png/line-round/32/border-all.png · https://gentleface.com/png/line-round/48/border-all.png
- line-soft: https://gentleface.com/svg/line-soft/16/border-all.svg · PNG https://gentleface.com/png/line-soft/16/border-all.png · https://gentleface.com/png/line-soft/32/border-all.png · https://gentleface.com/png/line-soft/48/border-all.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/border-all.svg · PNG https://gentleface.com/png/line-sharp/16/border-all.png · https://gentleface.com/png/line-sharp/32/border-all.png · https://gentleface.com/png/line-sharp/48/border-all.png
- solid-round: https://gentleface.com/svg/solid-round/16/border-all.svg · PNG https://gentleface.com/png/solid-round/16/border-all.png · https://gentleface.com/png/solid-round/32/border-all.png · https://gentleface.com/png/solid-round/48/border-all.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/border-all.svg · PNG https://gentleface.com/png/solid-soft/16/border-all.png · https://gentleface.com/png/solid-soft/32/border-all.png · https://gentleface.com/png/solid-soft/48/border-all.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/border-all.svg · PNG https://gentleface.com/png/solid-sharp/16/border-all.png · https://gentleface.com/png/solid-sharp/32/border-all.png · https://gentleface.com/png/solid-sharp/48/border-all.png

The SVG of every style: https://gentleface.com/icons/border-all.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="M1.144 1.144C1.241 1.048 1.359 1 1.5 1L13.5 1C13.641 1 13.759 1.048 13.856 1.144C13.952 1.241 14 1.359 14 1.5L14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144ZM7 7L7 2L2 2L2 7L7 7ZM8 7L13 7L13 2L8 2L8 7ZM7 8L2 8L2 13L7 13L7 8ZM8 8L8 13L13 13L13 8L8 8Z"/></svg>
```

### React

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

export function BorderAllIcon(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="M1.144 1.144C1.241 1.048 1.359 1 1.5 1L13.5 1C13.641 1 13.759 1.048 13.856 1.144C13.952 1.241 14 1.359 14 1.5L14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144ZM7 7L7 2L2 2L2 7L7 7ZM8 7L13 7L13 2L8 2L8 7ZM7 8L2 8L2 13L7 13L7 8ZM8 8L8 13L13 13L13 8L8 8Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "border-all" (line-round), MIT. https://gentleface.com/icons/border-all -->
<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="M1.144 1.144C1.241 1.048 1.359 1 1.5 1L13.5 1C13.641 1 13.759 1.048 13.856 1.144C13.952 1.241 14 1.359 14 1.5L14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144ZM7 7L7 2L2 2L2 7L7 7ZM8 7L13 7L13 2L8 2L8 7ZM7 8L2 8L2 13L7 13L7 8ZM8 8L8 13L13 13L13 8L8 8Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "border-all" (line-round), MIT. https://gentleface.com/icons/border-all -->
<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="M1.144 1.144C1.241 1.048 1.359 1 1.5 1L13.5 1C13.641 1 13.759 1.048 13.856 1.144C13.952 1.241 14 1.359 14 1.5L14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144ZM7 7L7 2L2 2L2 7L7 7ZM8 7L13 7L13 2L8 2L8 7ZM7 8L2 8L2 13L7 13L7 8ZM8 8L8 13L13 13L13 8L8 8Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "border-all" (line-round), MIT. https://gentleface.com/icons/border-all. 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/border-all.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "border-all" (line-round), MIT. https://gentleface.com/icons/border-all. Takes the text color. */
.icon-border-all {
  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='M1.144 1.144C1.241 1.048 1.359 1 1.5 1L13.5 1C13.641 1 13.759 1.048 13.856 1.144C13.952 1.241 14 1.359 14 1.5L14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144ZM7 7L7 2L2 2L2 7L7 7ZM8 7L13 7L13 2L8 2L8 7ZM7 8L2 8L2 13L7 13L7 8ZM8 8L8 13L13 13L13 8L8 8Z'/%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='M1.144 1.144C1.241 1.048 1.359 1 1.5 1L13.5 1C13.641 1 13.759 1.048 13.856 1.144C13.952 1.241 14 1.359 14 1.5L14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144ZM7 7L7 2L2 2L2 7L7 7ZM8 7L13 7L13 2L8 2L8 7ZM7 8L2 8L2 13L7 13L7 8ZM8 8L8 13L13 13L13 8L8 8Z'/%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='M1.144 1.144C1.241 1.048 1.359 1 1.5 1L13.5 1C13.641 1 13.759 1.048 13.856 1.144C13.952 1.241 14 1.359 14 1.5L14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144ZM7 7L7 2L2 2L2 7L7 7ZM8 7L13 7L13 2L8 2L8 7ZM7 8L2 8L2 13L7 13L7 8ZM8 8L8 13L13 13L13 8L8 8Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "border-all" (line-round), MIT. https://gentleface.com/icons/border-all
     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#border-all"/></svg>
```

### SwiftUI

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

struct BorderAllIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 1.144, y: 1.144))
        p.addCurve(to: CGPoint(x: 1.5, y: 1), control1: CGPoint(x: 1.241, y: 1.048), control2: CGPoint(x: 1.359, y: 1))
        p.addLine(to: CGPoint(x: 13.5, y: 1))
        p.addCurve(to: CGPoint(x: 13.856, y: 1.144), control1: CGPoint(x: 13.641, y: 1), control2: CGPoint(x: 13.759, y: 1.048))
        p.addCurve(to: CGPoint(x: 14, y: 1.5), control1: CGPoint(x: 13.952, y: 1.241), control2: CGPoint(x: 14, y: 1.359))
        p.addLine(to: CGPoint(x: 14, y: 13.5))
        p.addCurve(to: CGPoint(x: 13.856, y: 13.856), control1: CGPoint(x: 14, y: 13.641), control2: CGPoint(x: 13.952, y: 13.759))
        p.addCurve(to: CGPoint(x: 13.5, y: 14), control1: CGPoint(x: 13.759, y: 13.952), control2: CGPoint(x: 13.641, y: 14))
        p.addLine(to: CGPoint(x: 1.5, y: 14))
        p.addCurve(to: CGPoint(x: 1.144, y: 13.856), control1: CGPoint(x: 1.359, y: 14), control2: CGPoint(x: 1.241, y: 13.952))
        p.addCurve(to: CGPoint(x: 1, y: 13.5), control1: CGPoint(x: 1.048, y: 13.759), control2: CGPoint(x: 1, y: 13.641))
        p.addLine(to: CGPoint(x: 1, y: 1.5))
        p.addCurve(to: CGPoint(x: 1.144, y: 1.144), control1: CGPoint(x: 1, y: 1.359), control2: CGPoint(x: 1.048, y: 1.241))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7, y: 7))
        p.addLine(to: CGPoint(x: 7, y: 2))
        p.addLine(to: CGPoint(x: 2, y: 2))
        p.addLine(to: CGPoint(x: 2, y: 7))
        p.addLine(to: CGPoint(x: 7, y: 7))
        p.closeSubpath()
        p.move(to: CGPoint(x: 8, y: 7))
        p.addLine(to: CGPoint(x: 13, y: 7))
        p.addLine(to: CGPoint(x: 13, y: 2))
        p.addLine(to: CGPoint(x: 8, y: 2))
        p.addLine(to: CGPoint(x: 8, y: 7))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7, y: 8))
        p.addLine(to: CGPoint(x: 2, y: 8))
        p.addLine(to: CGPoint(x: 2, y: 13))
        p.addLine(to: CGPoint(x: 7, y: 13))
        p.addLine(to: CGPoint(x: 7, y: 8))
        p.closeSubpath()
        p.move(to: CGPoint(x: 8, y: 8))
        p.addLine(to: CGPoint(x: 8, y: 13))
        p.addLine(to: CGPoint(x: 13, y: 13))
        p.addLine(to: CGPoint(x: 13, y: 8))
        p.addLine(to: CGPoint(x: 8, y: 8))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "border-all" (line-round), MIT. https://gentleface.com/icons/border-all
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 BorderAllIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "border-all", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M1.144 1.144C1.241 1.048 1.359 1 1.5 1L13.5 1C13.641 1 13.759 1.048 13.856 1.144C13.952 1.241 14 1.359 14 1.5L14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144ZM7 7L7 2L2 2L2 7L7 7ZM8 7L13 7L13 2L8 2L8 7ZM7 8L2 8L2 13L7 13L7 8ZM8 8L8 13L13 13L13 8L8 8Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_border_all.xml · Gentleface "border-all" (line-round), MIT. https://gentleface.com/icons/border-all -->
<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="M1.144 1.144C1.241 1.048 1.359 1 1.5 1L13.5 1C13.641 1 13.759 1.048 13.856 1.144C13.952 1.241 14 1.359 14 1.5L14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144ZM7 7L7 2L2 2L2 7L7 7ZM8 7L13 7L13 2L8 2L8 7ZM7 8L2 8L2 13L7 13L7 8ZM8 8L8 13L13 13L13 8L8 8Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(1.144, 1.144)
      ..cubicTo(1.241, 1.048, 1.359, 1, 1.5, 1)
      ..lineTo(13.5, 1)
      ..cubicTo(13.641, 1, 13.759, 1.048, 13.856, 1.144)
      ..cubicTo(13.952, 1.241, 14, 1.359, 14, 1.5)
      ..lineTo(14, 13.5)
      ..cubicTo(14, 13.641, 13.952, 13.759, 13.856, 13.856)
      ..cubicTo(13.759, 13.952, 13.641, 14, 13.5, 14)
      ..lineTo(1.5, 14)
      ..cubicTo(1.359, 14, 1.241, 13.952, 1.144, 13.856)
      ..cubicTo(1.048, 13.759, 1, 13.641, 1, 13.5)
      ..lineTo(1, 1.5)
      ..cubicTo(1, 1.359, 1.048, 1.241, 1.144, 1.144)
      ..close()
      ..moveTo(7, 7)
      ..lineTo(7, 2)
      ..lineTo(2, 2)
      ..lineTo(2, 7)
      ..lineTo(7, 7)
      ..close()
      ..moveTo(8, 7)
      ..lineTo(13, 7)
      ..lineTo(13, 2)
      ..lineTo(8, 2)
      ..lineTo(8, 7)
      ..close()
      ..moveTo(7, 8)
      ..lineTo(2, 8)
      ..lineTo(2, 13)
      ..lineTo(7, 13)
      ..lineTo(7, 8)
      ..close()
      ..moveTo(8, 8)
      ..lineTo(8, 13)
      ..lineTo(13, 13)
      ..lineTo(13, 8)
      ..lineTo(8, 8)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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