# integral icon

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

- Category: Math & symbols
- Use it for: integral, calculus
- Tags: integral, calculus, math, equation, formula, antiderivative
- Component name: IntegralIcon
- Added: 2026-11-12

## Alternatives

- `sigma`: a sum (sum)

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

The SVG of every style: https://gentleface.com/icons/integral.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="M7 13.287L7 3.235C7 2.589 7.191 2.055 7.573 1.633C7.956 1.211 8.544 1 9.338 1L10.917 1L10.917 2.713L9.204 2.713L9.204 12.766C9.204 13.411 9.013 13.945 8.631 14.367C8.248 14.789 7.66 15 6.866 15L5.287 15L5.287 13.287L7 13.287Z"/></svg>
```

### React

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

export function IntegralIcon(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="M7 13.287L7 3.235C7 2.589 7.191 2.055 7.573 1.633C7.956 1.211 8.544 1 9.338 1L10.917 1L10.917 2.713L9.204 2.713L9.204 12.766C9.204 13.411 9.013 13.945 8.631 14.367C8.248 14.789 7.66 15 6.866 15L5.287 15L5.287 13.287L7 13.287Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "integral" (line-round), MIT. https://gentleface.com/icons/integral -->
<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="M7 13.287L7 3.235C7 2.589 7.191 2.055 7.573 1.633C7.956 1.211 8.544 1 9.338 1L10.917 1L10.917 2.713L9.204 2.713L9.204 12.766C9.204 13.411 9.013 13.945 8.631 14.367C8.248 14.789 7.66 15 6.866 15L5.287 15L5.287 13.287L7 13.287Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "integral" (line-round), MIT. https://gentleface.com/icons/integral -->
<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="M7 13.287L7 3.235C7 2.589 7.191 2.055 7.573 1.633C7.956 1.211 8.544 1 9.338 1L10.917 1L10.917 2.713L9.204 2.713L9.204 12.766C9.204 13.411 9.013 13.945 8.631 14.367C8.248 14.789 7.66 15 6.866 15L5.287 15L5.287 13.287L7 13.287Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "integral" (line-round), MIT. https://gentleface.com/icons/integral. Takes the text color. */
.icon-integral {
  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='M7 13.287L7 3.235C7 2.589 7.191 2.055 7.573 1.633C7.956 1.211 8.544 1 9.338 1L10.917 1L10.917 2.713L9.204 2.713L9.204 12.766C9.204 13.411 9.013 13.945 8.631 14.367C8.248 14.789 7.66 15 6.866 15L5.287 15L5.287 13.287L7 13.287Z'/%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='M7 13.287L7 3.235C7 2.589 7.191 2.055 7.573 1.633C7.956 1.211 8.544 1 9.338 1L10.917 1L10.917 2.713L9.204 2.713L9.204 12.766C9.204 13.411 9.013 13.945 8.631 14.367C8.248 14.789 7.66 15 6.866 15L5.287 15L5.287 13.287L7 13.287Z'/%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='M7 13.287L7 3.235C7 2.589 7.191 2.055 7.573 1.633C7.956 1.211 8.544 1 9.338 1L10.917 1L10.917 2.713L9.204 2.713L9.204 12.766C9.204 13.411 9.013 13.945 8.631 14.367C8.248 14.789 7.66 15 6.866 15L5.287 15L5.287 13.287L7 13.287Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct IntegralIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 7, y: 13.287))
        p.addLine(to: CGPoint(x: 7, y: 3.235))
        p.addCurve(to: CGPoint(x: 7.573, y: 1.633), control1: CGPoint(x: 7, y: 2.589), control2: CGPoint(x: 7.191, y: 2.055))
        p.addCurve(to: CGPoint(x: 9.338, y: 1), control1: CGPoint(x: 7.956, y: 1.211), control2: CGPoint(x: 8.544, y: 1))
        p.addLine(to: CGPoint(x: 10.917, y: 1))
        p.addLine(to: CGPoint(x: 10.917, y: 2.713))
        p.addLine(to: CGPoint(x: 9.204, y: 2.713))
        p.addLine(to: CGPoint(x: 9.204, y: 12.766))
        p.addCurve(to: CGPoint(x: 8.631, y: 14.367), control1: CGPoint(x: 9.204, y: 13.411), control2: CGPoint(x: 9.013, y: 13.945))
        p.addCurve(to: CGPoint(x: 6.866, y: 15), control1: CGPoint(x: 8.248, y: 14.789), control2: CGPoint(x: 7.66, y: 15))
        p.addLine(to: CGPoint(x: 5.287, y: 15))
        p.addLine(to: CGPoint(x: 5.287, y: 13.287))
        p.addLine(to: CGPoint(x: 7, y: 13.287))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "integral" (line-round), MIT. https://gentleface.com/icons/integral
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 IntegralIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "integral", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M7 13.287L7 3.235C7 2.589 7.191 2.055 7.573 1.633C7.956 1.211 8.544 1 9.338 1L10.917 1L10.917 2.713L9.204 2.713L9.204 12.766C9.204 13.411 9.013 13.945 8.631 14.367C8.248 14.789 7.66 15 6.866 15L5.287 15L5.287 13.287L7 13.287Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_integral.xml · Gentleface "integral" (line-round), MIT. https://gentleface.com/icons/integral -->
<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="M7 13.287L7 3.235C7 2.589 7.191 2.055 7.573 1.633C7.956 1.211 8.544 1 9.338 1L10.917 1L10.917 2.713L9.204 2.713L9.204 12.766C9.204 13.411 9.013 13.945 8.631 14.367C8.248 14.789 7.66 15 6.866 15L5.287 15L5.287 13.287L7 13.287Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(7, 13.287)
      ..lineTo(7, 3.235)
      ..cubicTo(7, 2.589, 7.191, 2.055, 7.573, 1.633)
      ..cubicTo(7.956, 1.211, 8.544, 1, 9.338, 1)
      ..lineTo(10.917, 1)
      ..lineTo(10.917, 2.713)
      ..lineTo(9.204, 2.713)
      ..lineTo(9.204, 12.766)
      ..cubicTo(9.204, 13.411, 9.013, 13.945, 8.631, 14.367)
      ..cubicTo(8.248, 14.789, 7.66, 15, 6.866, 15)
      ..lineTo(5.287, 15)
      ..lineTo(5.287, 13.287)
      ..lineTo(7, 13.287)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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