# boom-barrier icon

Boom barrier. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/boom-barrier

- Category: Transportation
- Use it for: boom barrier, boom gate, parking barrier, checkpoint
- Example: Parking entry gate or checkpoint in a map or parking app
- Tags: barrier, boom barrier, boom gate, road barrier, parking, gate, checkpoint, toll, entry, exit, traffic
- Family: barricade
- Component name: BoomBarrierIcon
- Added: 2026-11-06
- Since: version 0.4.0
- npm: `import { BoomBarrierIcon } from '@gentleface/react';` (@gentleface/react 0.6.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/boom-barrier.svg · PNG https://gentleface.com/png/line-round/16/boom-barrier.png · https://gentleface.com/png/line-round/32/boom-barrier.png · https://gentleface.com/png/line-round/48/boom-barrier.png
- line-soft: https://gentleface.com/svg/line-soft/16/boom-barrier.svg · PNG https://gentleface.com/png/line-soft/16/boom-barrier.png · https://gentleface.com/png/line-soft/32/boom-barrier.png · https://gentleface.com/png/line-soft/48/boom-barrier.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/boom-barrier.svg · PNG https://gentleface.com/png/line-sharp/16/boom-barrier.png · https://gentleface.com/png/line-sharp/32/boom-barrier.png · https://gentleface.com/png/line-sharp/48/boom-barrier.png
- solid-round: https://gentleface.com/svg/solid-round/16/boom-barrier.svg · PNG https://gentleface.com/png/solid-round/16/boom-barrier.png · https://gentleface.com/png/solid-round/32/boom-barrier.png · https://gentleface.com/png/solid-round/48/boom-barrier.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/boom-barrier.svg · PNG https://gentleface.com/png/solid-soft/16/boom-barrier.png · https://gentleface.com/png/solid-soft/32/boom-barrier.png · https://gentleface.com/png/solid-soft/48/boom-barrier.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/boom-barrier.svg · PNG https://gentleface.com/png/solid-sharp/16/boom-barrier.png · https://gentleface.com/png/solid-sharp/32/boom-barrier.png · https://gentleface.com/png/solid-sharp/48/boom-barrier.png

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

## Animated

`boom-barrier-lift`: The arm swings up on its pivot at the post, overshoots and bobs at the top, and holds. It comes down again and bounces once on its rest.

File: https://gentleface.com/motion/boom-barrier-lift.svg (line-round, 16 px). Native SVG animation that loops by itself. To play it once, run 0.25 s to 2.95 s. Patterns: https://gentleface.com/animated-icons.md

```svg
<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.001" stroke-linecap="round" stroke-linejoin="round"><path fill="currentColor" stroke="none" d="M1 2L3 2L3 14L6 14L6 15L1 15L1 2Z"></path><g><animateTransform attributeName="transform" type="rotate" dur="3.2s" repeatCount="indefinite" keyTimes="0;0.094;0.313;0.359;0.4;0.625;0.806;0.838;0.872;0.906;1" values="0 2 6;0 2 6;-84 2 6;-78.5 2 6;-80 2 6;-80 2 6;0 2 6;2.4 2 6;-.6 2 6;0 2 6;0 2 6" calcMode="spline" keySplines="0 0 1 1;.6 0 .25 1;.37 0 .63 1;.37 0 .63 1;0 0 1 1;.6 0 .25 1;.15 .75 .25 1;.37 0 .63 1;.37 0 .63 1;0 0 1 1"/><path d="M2.5 4.5L14.5 4.5L14.5 7.5L2.5 7.5"></path><path d="M4.5 4.5L7.5 7.5"></path><path d="M8.5 4.5L11.5 7.5"></path><path d="M12.5 4.5L14.5 6.5"></path></g></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="M14.856 4.144C14.952 4.241 15 4.359 15 4.5L15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L3 8L3 14L6 14L6 15L1 15L1 2L3 2L3 4L14.5 4C14.641 4 14.759 4.048 14.856 4.144ZM6.293 7L4.293 5L3 5L3 7L6.293 7ZM8.293 5L5.707 5L7.707 7L10.293 7L8.293 5ZM14 6.707L12.293 5L9.707 5L11.707 7L14 7L14 6.707ZM13.707 5L14 5.293L14 5L13.707 5Z"/></svg>
```

### React

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

export function BoomBarrierIcon(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="M14.856 4.144C14.952 4.241 15 4.359 15 4.5L15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L3 8L3 14L6 14L6 15L1 15L1 2L3 2L3 4L14.5 4C14.641 4 14.759 4.048 14.856 4.144ZM6.293 7L4.293 5L3 5L3 7L6.293 7ZM8.293 5L5.707 5L7.707 7L10.293 7L8.293 5ZM14 6.707L12.293 5L9.707 5L11.707 7L14 7L14 6.707ZM13.707 5L14 5.293L14 5L13.707 5Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "boom-barrier" (line-round), MIT. https://gentleface.com/icons/boom-barrier -->
<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="M14.856 4.144C14.952 4.241 15 4.359 15 4.5L15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L3 8L3 14L6 14L6 15L1 15L1 2L3 2L3 4L14.5 4C14.641 4 14.759 4.048 14.856 4.144ZM6.293 7L4.293 5L3 5L3 7L6.293 7ZM8.293 5L5.707 5L7.707 7L10.293 7L8.293 5ZM14 6.707L12.293 5L9.707 5L11.707 7L14 7L14 6.707ZM13.707 5L14 5.293L14 5L13.707 5Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "boom-barrier" (line-round), MIT. https://gentleface.com/icons/boom-barrier -->
<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="M14.856 4.144C14.952 4.241 15 4.359 15 4.5L15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L3 8L3 14L6 14L6 15L1 15L1 2L3 2L3 4L14.5 4C14.641 4 14.759 4.048 14.856 4.144ZM6.293 7L4.293 5L3 5L3 7L6.293 7ZM8.293 5L5.707 5L7.707 7L10.293 7L8.293 5ZM14 6.707L12.293 5L9.707 5L11.707 7L14 7L14 6.707ZM13.707 5L14 5.293L14 5L13.707 5Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "boom-barrier" (line-round), MIT. https://gentleface.com/icons/boom-barrier. Takes the text color. */
.icon-boom-barrier {
  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='M14.856 4.144C14.952 4.241 15 4.359 15 4.5L15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L3 8L3 14L6 14L6 15L1 15L1 2L3 2L3 4L14.5 4C14.641 4 14.759 4.048 14.856 4.144ZM6.293 7L4.293 5L3 5L3 7L6.293 7ZM8.293 5L5.707 5L7.707 7L10.293 7L8.293 5ZM14 6.707L12.293 5L9.707 5L11.707 7L14 7L14 6.707ZM13.707 5L14 5.293L14 5L13.707 5Z'/%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='M14.856 4.144C14.952 4.241 15 4.359 15 4.5L15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L3 8L3 14L6 14L6 15L1 15L1 2L3 2L3 4L14.5 4C14.641 4 14.759 4.048 14.856 4.144ZM6.293 7L4.293 5L3 5L3 7L6.293 7ZM8.293 5L5.707 5L7.707 7L10.293 7L8.293 5ZM14 6.707L12.293 5L9.707 5L11.707 7L14 7L14 6.707ZM13.707 5L14 5.293L14 5L13.707 5Z'/%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='M14.856 4.144C14.952 4.241 15 4.359 15 4.5L15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L3 8L3 14L6 14L6 15L1 15L1 2L3 2L3 4L14.5 4C14.641 4 14.759 4.048 14.856 4.144ZM6.293 7L4.293 5L3 5L3 7L6.293 7ZM8.293 5L5.707 5L7.707 7L10.293 7L8.293 5ZM14 6.707L12.293 5L9.707 5L11.707 7L14 7L14 6.707ZM13.707 5L14 5.293L14 5L13.707 5Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct BoomBarrierIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 14.856, y: 4.144))
        p.addCurve(to: CGPoint(x: 15, y: 4.5), control1: CGPoint(x: 14.952, y: 4.241), control2: CGPoint(x: 15, y: 4.359))
        p.addLine(to: CGPoint(x: 15, y: 7.5))
        p.addCurve(to: CGPoint(x: 14.856, y: 7.856), control1: CGPoint(x: 15, y: 7.641), control2: CGPoint(x: 14.952, y: 7.759))
        p.addCurve(to: CGPoint(x: 14.5, y: 8), control1: CGPoint(x: 14.759, y: 7.952), control2: CGPoint(x: 14.641, y: 8))
        p.addLine(to: CGPoint(x: 3, y: 8))
        p.addLine(to: CGPoint(x: 3, y: 14))
        p.addLine(to: CGPoint(x: 6, y: 14))
        p.addLine(to: CGPoint(x: 6, y: 15))
        p.addLine(to: CGPoint(x: 1, y: 15))
        p.addLine(to: CGPoint(x: 1, y: 2))
        p.addLine(to: CGPoint(x: 3, y: 2))
        p.addLine(to: CGPoint(x: 3, y: 4))
        p.addLine(to: CGPoint(x: 14.5, y: 4))
        p.addCurve(to: CGPoint(x: 14.856, y: 4.144), control1: CGPoint(x: 14.641, y: 4), control2: CGPoint(x: 14.759, y: 4.048))
        p.closeSubpath()
        p.move(to: CGPoint(x: 6.293, y: 7))
        p.addLine(to: CGPoint(x: 4.293, y: 5))
        p.addLine(to: CGPoint(x: 3, y: 5))
        p.addLine(to: CGPoint(x: 3, y: 7))
        p.addLine(to: CGPoint(x: 6.293, y: 7))
        p.closeSubpath()
        p.move(to: CGPoint(x: 8.293, y: 5))
        p.addLine(to: CGPoint(x: 5.707, y: 5))
        p.addLine(to: CGPoint(x: 7.707, y: 7))
        p.addLine(to: CGPoint(x: 10.293, y: 7))
        p.addLine(to: CGPoint(x: 8.293, y: 5))
        p.closeSubpath()
        p.move(to: CGPoint(x: 14, y: 6.707))
        p.addLine(to: CGPoint(x: 12.293, y: 5))
        p.addLine(to: CGPoint(x: 9.707, y: 5))
        p.addLine(to: CGPoint(x: 11.707, y: 7))
        p.addLine(to: CGPoint(x: 14, y: 7))
        p.addLine(to: CGPoint(x: 14, y: 6.707))
        p.closeSubpath()
        p.move(to: CGPoint(x: 13.707, y: 5))
        p.addLine(to: CGPoint(x: 14, y: 5.293))
        p.addLine(to: CGPoint(x: 14, y: 5))
        p.addLine(to: CGPoint(x: 13.707, y: 5))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "boom-barrier" (line-round), MIT. https://gentleface.com/icons/boom-barrier
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 BoomBarrierIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "boom-barrier", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M14.856 4.144C14.952 4.241 15 4.359 15 4.5L15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L3 8L3 14L6 14L6 15L1 15L1 2L3 2L3 4L14.5 4C14.641 4 14.759 4.048 14.856 4.144ZM6.293 7L4.293 5L3 5L3 7L6.293 7ZM8.293 5L5.707 5L7.707 7L10.293 7L8.293 5ZM14 6.707L12.293 5L9.707 5L11.707 7L14 7L14 6.707ZM13.707 5L14 5.293L14 5L13.707 5Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_boom_barrier.xml · Gentleface "boom-barrier" (line-round), MIT. https://gentleface.com/icons/boom-barrier -->
<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="M14.856 4.144C14.952 4.241 15 4.359 15 4.5L15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L3 8L3 14L6 14L6 15L1 15L1 2L3 2L3 4L14.5 4C14.641 4 14.759 4.048 14.856 4.144ZM6.293 7L4.293 5L3 5L3 7L6.293 7ZM8.293 5L5.707 5L7.707 7L10.293 7L8.293 5ZM14 6.707L12.293 5L9.707 5L11.707 7L14 7L14 6.707ZM13.707 5L14 5.293L14 5L13.707 5Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(14.856, 4.144)
      ..cubicTo(14.952, 4.241, 15, 4.359, 15, 4.5)
      ..lineTo(15, 7.5)
      ..cubicTo(15, 7.641, 14.952, 7.759, 14.856, 7.856)
      ..cubicTo(14.759, 7.952, 14.641, 8, 14.5, 8)
      ..lineTo(3, 8)
      ..lineTo(3, 14)
      ..lineTo(6, 14)
      ..lineTo(6, 15)
      ..lineTo(1, 15)
      ..lineTo(1, 2)
      ..lineTo(3, 2)
      ..lineTo(3, 4)
      ..lineTo(14.5, 4)
      ..cubicTo(14.641, 4, 14.759, 4.048, 14.856, 4.144)
      ..close()
      ..moveTo(6.293, 7)
      ..lineTo(4.293, 5)
      ..lineTo(3, 5)
      ..lineTo(3, 7)
      ..lineTo(6.293, 7)
      ..close()
      ..moveTo(8.293, 5)
      ..lineTo(5.707, 5)
      ..lineTo(7.707, 7)
      ..lineTo(10.293, 7)
      ..lineTo(8.293, 5)
      ..close()
      ..moveTo(14, 6.707)
      ..lineTo(12.293, 5)
      ..lineTo(9.707, 5)
      ..lineTo(11.707, 7)
      ..lineTo(14, 7)
      ..lineTo(14, 6.707)
      ..close()
      ..moveTo(13.707, 5)
      ..lineTo(14, 5.293)
      ..lineTo(14, 5)
      ..lineTo(13.707, 5)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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