# border-outer icon

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

- Category: Text & formatting
- Use it for: outer borders, outside borders
- Tags: border, outer, outside, outline, frame, cell, table, spreadsheet, format
- Family: border-all, border-bottom, border-horizontal, border-inner, border-left, border-none, border-right, border-top, border-vertical
- Component name: BorderOuterIcon
- Added: 2026-11-05
- Since: version 0.4.0
- npm: `import { BorderOuterIcon } from '@gentleface/react';` (@gentleface/react 0.6.0)
- Changed: 2026-11-06 (released in 0.4.0)

## Files

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too.

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

The SVG of every style: https://gentleface.com/icons/border-outer.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.144ZM13 13L13 2L2 2L2 13L13 13ZM7 4L8 4L8 5L7 5L7 4ZM4 7L5 7L5 8L4 8L4 7ZM8 7L8 8L7 8L7 7L8 7ZM10 8L10 7L11 7L11 8L10 8ZM7 10L8 10L8 11L7 11L7 10Z"/></svg>
```

### React

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

export function BorderOuterIcon(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.144ZM13 13L13 2L2 2L2 13L13 13ZM7 4L8 4L8 5L7 5L7 4ZM4 7L5 7L5 8L4 8L4 7ZM8 7L8 8L7 8L7 7L8 7ZM10 8L10 7L11 7L11 8L10 8ZM7 10L8 10L8 11L7 11L7 10Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "border-outer" (line-round), MIT. https://gentleface.com/icons/border-outer -->
<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.144ZM13 13L13 2L2 2L2 13L13 13ZM7 4L8 4L8 5L7 5L7 4ZM4 7L5 7L5 8L4 8L4 7ZM8 7L8 8L7 8L7 7L8 7ZM10 8L10 7L11 7L11 8L10 8ZM7 10L8 10L8 11L7 11L7 10Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "border-outer" (line-round), MIT. https://gentleface.com/icons/border-outer -->
<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.144ZM13 13L13 2L2 2L2 13L13 13ZM7 4L8 4L8 5L7 5L7 4ZM4 7L5 7L5 8L4 8L4 7ZM8 7L8 8L7 8L7 7L8 7ZM10 8L10 7L11 7L11 8L10 8ZM7 10L8 10L8 11L7 11L7 10Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "border-outer" (line-round), MIT. https://gentleface.com/icons/border-outer. Takes the text color. */
.icon-border-outer {
  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.144ZM13 13L13 2L2 2L2 13L13 13ZM7 4L8 4L8 5L7 5L7 4ZM4 7L5 7L5 8L4 8L4 7ZM8 7L8 8L7 8L7 7L8 7ZM10 8L10 7L11 7L11 8L10 8ZM7 10L8 10L8 11L7 11L7 10Z'/%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.144ZM13 13L13 2L2 2L2 13L13 13ZM7 4L8 4L8 5L7 5L7 4ZM4 7L5 7L5 8L4 8L4 7ZM8 7L8 8L7 8L7 7L8 7ZM10 8L10 7L11 7L11 8L10 8ZM7 10L8 10L8 11L7 11L7 10Z'/%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.144ZM13 13L13 2L2 2L2 13L13 13ZM7 4L8 4L8 5L7 5L7 4ZM4 7L5 7L5 8L4 8L4 7ZM8 7L8 8L7 8L7 7L8 7ZM10 8L10 7L11 7L11 8L10 8ZM7 10L8 10L8 11L7 11L7 10Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct BorderOuterIcon: 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: 13, y: 13))
        p.addLine(to: CGPoint(x: 13, y: 2))
        p.addLine(to: CGPoint(x: 2, y: 2))
        p.addLine(to: CGPoint(x: 2, y: 13))
        p.addLine(to: CGPoint(x: 13, y: 13))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7, y: 4))
        p.addLine(to: CGPoint(x: 8, y: 4))
        p.addLine(to: CGPoint(x: 8, y: 5))
        p.addLine(to: CGPoint(x: 7, y: 5))
        p.addLine(to: CGPoint(x: 7, y: 4))
        p.closeSubpath()
        p.move(to: CGPoint(x: 4, y: 7))
        p.addLine(to: CGPoint(x: 5, y: 7))
        p.addLine(to: CGPoint(x: 5, y: 8))
        p.addLine(to: CGPoint(x: 4, y: 8))
        p.addLine(to: CGPoint(x: 4, y: 7))
        p.closeSubpath()
        p.move(to: CGPoint(x: 8, y: 7))
        p.addLine(to: CGPoint(x: 8, y: 8))
        p.addLine(to: CGPoint(x: 7, y: 8))
        p.addLine(to: CGPoint(x: 7, y: 7))
        p.addLine(to: CGPoint(x: 8, y: 7))
        p.closeSubpath()
        p.move(to: CGPoint(x: 10, y: 8))
        p.addLine(to: CGPoint(x: 10, y: 7))
        p.addLine(to: CGPoint(x: 11, y: 7))
        p.addLine(to: CGPoint(x: 11, y: 8))
        p.addLine(to: CGPoint(x: 10, y: 8))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7, y: 10))
        p.addLine(to: CGPoint(x: 8, y: 10))
        p.addLine(to: CGPoint(x: 8, y: 11))
        p.addLine(to: CGPoint(x: 7, y: 11))
        p.addLine(to: CGPoint(x: 7, y: 10))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "border-outer" (line-round), MIT. https://gentleface.com/icons/border-outer
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 BorderOuterIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "border-outer", 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.144ZM13 13L13 2L2 2L2 13L13 13ZM7 4L8 4L8 5L7 5L7 4ZM4 7L5 7L5 8L4 8L4 7ZM8 7L8 8L7 8L7 7L8 7ZM10 8L10 7L11 7L11 8L10 8ZM7 10L8 10L8 11L7 11L7 10Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_border_outer.xml · Gentleface "border-outer" (line-round), MIT. https://gentleface.com/icons/border-outer -->
<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.144ZM13 13L13 2L2 2L2 13L13 13ZM7 4L8 4L8 5L7 5L7 4ZM4 7L5 7L5 8L4 8L4 7ZM8 7L8 8L7 8L7 7L8 7ZM10 8L10 7L11 7L11 8L10 8ZM7 10L8 10L8 11L7 11L7 10Z"/>
</vector>
```

### Flutter

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

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

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

class _BorderOuterIconPainter extends CustomPainter {
  _BorderOuterIconPainter(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(13, 13)
      ..lineTo(13, 2)
      ..lineTo(2, 2)
      ..lineTo(2, 13)
      ..lineTo(13, 13)
      ..close()
      ..moveTo(7, 4)
      ..lineTo(8, 4)
      ..lineTo(8, 5)
      ..lineTo(7, 5)
      ..lineTo(7, 4)
      ..close()
      ..moveTo(4, 7)
      ..lineTo(5, 7)
      ..lineTo(5, 8)
      ..lineTo(4, 8)
      ..lineTo(4, 7)
      ..close()
      ..moveTo(8, 7)
      ..lineTo(8, 8)
      ..lineTo(7, 8)
      ..lineTo(7, 7)
      ..lineTo(8, 7)
      ..close()
      ..moveTo(10, 8)
      ..lineTo(10, 7)
      ..lineTo(11, 7)
      ..lineTo(11, 8)
      ..lineTo(10, 8)
      ..close()
      ..moveTo(7, 10)
      ..lineTo(8, 10)
      ..lineTo(8, 11)
      ..lineTo(7, 11)
      ..lineTo(7, 10)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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