# ligature icon

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

- Category: Text & formatting
- Use it for: ligature, ligatures, font alternates
- Tags: ligature, ligatures, fi, joined letters, typography, opentype, font features, alternates, glyphs, text
- Component name: LigatureIcon
- Added: 2026-11-06
- Since: version 0.4.0
- npm: `import { LigatureIcon } 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/ligature.svg · PNG https://gentleface.com/png/line-round/16/ligature.png · https://gentleface.com/png/line-round/32/ligature.png · https://gentleface.com/png/line-round/48/ligature.png
- line-soft: https://gentleface.com/svg/line-soft/16/ligature.svg · PNG https://gentleface.com/png/line-soft/16/ligature.png · https://gentleface.com/png/line-soft/32/ligature.png · https://gentleface.com/png/line-soft/48/ligature.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/ligature.svg · PNG https://gentleface.com/png/line-sharp/16/ligature.png · https://gentleface.com/png/line-sharp/32/ligature.png · https://gentleface.com/png/line-sharp/48/ligature.png
- solid-round: https://gentleface.com/svg/solid-round/16/ligature.svg · PNG https://gentleface.com/png/solid-round/16/ligature.png · https://gentleface.com/png/solid-round/32/ligature.png · https://gentleface.com/png/solid-round/48/ligature.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/ligature.svg · PNG https://gentleface.com/png/solid-soft/16/ligature.png · https://gentleface.com/png/solid-soft/32/ligature.png · https://gentleface.com/png/solid-soft/48/ligature.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/ligature.svg · PNG https://gentleface.com/png/solid-sharp/16/ligature.png · https://gentleface.com/png/solid-sharp/32/ligature.png · https://gentleface.com/png/solid-sharp/48/ligature.png

The SVG of every style: https://gentleface.com/icons/ligature.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="M9.956 4.087C9.793 3.919 9.712 3.704 9.712 3.441L9.712 3.173C9.712 2.91 9.793 2.695 9.956 2.527C10.119 2.359 10.374 2.275 10.721 2.275C11.088 2.275 11.351 2.359 11.509 2.527C11.666 2.695 11.745 2.91 11.745 3.173L11.745 3.441C11.745 3.704 11.666 3.919 11.509 4.087C11.351 4.256 11.088 4.34 10.721 4.34C10.374 4.34 10.119 4.256 9.956 4.087ZM3.755 7.208L3.755 5.805L5 5.805L5 4.45C5 3.788 5.176 3.271 5.528 2.898C5.88 2.525 6.397 2.338 7.08 2.338L8.436 2.338L8.436 3.741L6.718 3.741L6.718 5.805L11.587 5.805L11.587 14L9.87 14L9.87 7.208L6.718 7.208L6.718 14L5 14L5 7.208L3.755 7.208Z"/></svg>
```

### React

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

export function LigatureIcon(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="M9.956 4.087C9.793 3.919 9.712 3.704 9.712 3.441L9.712 3.173C9.712 2.91 9.793 2.695 9.956 2.527C10.119 2.359 10.374 2.275 10.721 2.275C11.088 2.275 11.351 2.359 11.509 2.527C11.666 2.695 11.745 2.91 11.745 3.173L11.745 3.441C11.745 3.704 11.666 3.919 11.509 4.087C11.351 4.256 11.088 4.34 10.721 4.34C10.374 4.34 10.119 4.256 9.956 4.087ZM3.755 7.208L3.755 5.805L5 5.805L5 4.45C5 3.788 5.176 3.271 5.528 2.898C5.88 2.525 6.397 2.338 7.08 2.338L8.436 2.338L8.436 3.741L6.718 3.741L6.718 5.805L11.587 5.805L11.587 14L9.87 14L9.87 7.208L6.718 7.208L6.718 14L5 14L5 7.208L3.755 7.208Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "ligature" (line-round), MIT. https://gentleface.com/icons/ligature -->
<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="M9.956 4.087C9.793 3.919 9.712 3.704 9.712 3.441L9.712 3.173C9.712 2.91 9.793 2.695 9.956 2.527C10.119 2.359 10.374 2.275 10.721 2.275C11.088 2.275 11.351 2.359 11.509 2.527C11.666 2.695 11.745 2.91 11.745 3.173L11.745 3.441C11.745 3.704 11.666 3.919 11.509 4.087C11.351 4.256 11.088 4.34 10.721 4.34C10.374 4.34 10.119 4.256 9.956 4.087ZM3.755 7.208L3.755 5.805L5 5.805L5 4.45C5 3.788 5.176 3.271 5.528 2.898C5.88 2.525 6.397 2.338 7.08 2.338L8.436 2.338L8.436 3.741L6.718 3.741L6.718 5.805L11.587 5.805L11.587 14L9.87 14L9.87 7.208L6.718 7.208L6.718 14L5 14L5 7.208L3.755 7.208Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "ligature" (line-round), MIT. https://gentleface.com/icons/ligature -->
<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="M9.956 4.087C9.793 3.919 9.712 3.704 9.712 3.441L9.712 3.173C9.712 2.91 9.793 2.695 9.956 2.527C10.119 2.359 10.374 2.275 10.721 2.275C11.088 2.275 11.351 2.359 11.509 2.527C11.666 2.695 11.745 2.91 11.745 3.173L11.745 3.441C11.745 3.704 11.666 3.919 11.509 4.087C11.351 4.256 11.088 4.34 10.721 4.34C10.374 4.34 10.119 4.256 9.956 4.087ZM3.755 7.208L3.755 5.805L5 5.805L5 4.45C5 3.788 5.176 3.271 5.528 2.898C5.88 2.525 6.397 2.338 7.08 2.338L8.436 2.338L8.436 3.741L6.718 3.741L6.718 5.805L11.587 5.805L11.587 14L9.87 14L9.87 7.208L6.718 7.208L6.718 14L5 14L5 7.208L3.755 7.208Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "ligature" (line-round), MIT. https://gentleface.com/icons/ligature. Takes the text color. */
.icon-ligature {
  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='M9.956 4.087C9.793 3.919 9.712 3.704 9.712 3.441L9.712 3.173C9.712 2.91 9.793 2.695 9.956 2.527C10.119 2.359 10.374 2.275 10.721 2.275C11.088 2.275 11.351 2.359 11.509 2.527C11.666 2.695 11.745 2.91 11.745 3.173L11.745 3.441C11.745 3.704 11.666 3.919 11.509 4.087C11.351 4.256 11.088 4.34 10.721 4.34C10.374 4.34 10.119 4.256 9.956 4.087ZM3.755 7.208L3.755 5.805L5 5.805L5 4.45C5 3.788 5.176 3.271 5.528 2.898C5.88 2.525 6.397 2.338 7.08 2.338L8.436 2.338L8.436 3.741L6.718 3.741L6.718 5.805L11.587 5.805L11.587 14L9.87 14L9.87 7.208L6.718 7.208L6.718 14L5 14L5 7.208L3.755 7.208Z'/%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='M9.956 4.087C9.793 3.919 9.712 3.704 9.712 3.441L9.712 3.173C9.712 2.91 9.793 2.695 9.956 2.527C10.119 2.359 10.374 2.275 10.721 2.275C11.088 2.275 11.351 2.359 11.509 2.527C11.666 2.695 11.745 2.91 11.745 3.173L11.745 3.441C11.745 3.704 11.666 3.919 11.509 4.087C11.351 4.256 11.088 4.34 10.721 4.34C10.374 4.34 10.119 4.256 9.956 4.087ZM3.755 7.208L3.755 5.805L5 5.805L5 4.45C5 3.788 5.176 3.271 5.528 2.898C5.88 2.525 6.397 2.338 7.08 2.338L8.436 2.338L8.436 3.741L6.718 3.741L6.718 5.805L11.587 5.805L11.587 14L9.87 14L9.87 7.208L6.718 7.208L6.718 14L5 14L5 7.208L3.755 7.208Z'/%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='M9.956 4.087C9.793 3.919 9.712 3.704 9.712 3.441L9.712 3.173C9.712 2.91 9.793 2.695 9.956 2.527C10.119 2.359 10.374 2.275 10.721 2.275C11.088 2.275 11.351 2.359 11.509 2.527C11.666 2.695 11.745 2.91 11.745 3.173L11.745 3.441C11.745 3.704 11.666 3.919 11.509 4.087C11.351 4.256 11.088 4.34 10.721 4.34C10.374 4.34 10.119 4.256 9.956 4.087ZM3.755 7.208L3.755 5.805L5 5.805L5 4.45C5 3.788 5.176 3.271 5.528 2.898C5.88 2.525 6.397 2.338 7.08 2.338L8.436 2.338L8.436 3.741L6.718 3.741L6.718 5.805L11.587 5.805L11.587 14L9.87 14L9.87 7.208L6.718 7.208L6.718 14L5 14L5 7.208L3.755 7.208Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct LigatureIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 9.956, y: 4.087))
        p.addCurve(to: CGPoint(x: 9.712, y: 3.441), control1: CGPoint(x: 9.793, y: 3.919), control2: CGPoint(x: 9.712, y: 3.704))
        p.addLine(to: CGPoint(x: 9.712, y: 3.173))
        p.addCurve(to: CGPoint(x: 9.956, y: 2.527), control1: CGPoint(x: 9.712, y: 2.91), control2: CGPoint(x: 9.793, y: 2.695))
        p.addCurve(to: CGPoint(x: 10.721, y: 2.275), control1: CGPoint(x: 10.119, y: 2.359), control2: CGPoint(x: 10.374, y: 2.275))
        p.addCurve(to: CGPoint(x: 11.509, y: 2.527), control1: CGPoint(x: 11.088, y: 2.275), control2: CGPoint(x: 11.351, y: 2.359))
        p.addCurve(to: CGPoint(x: 11.745, y: 3.173), control1: CGPoint(x: 11.666, y: 2.695), control2: CGPoint(x: 11.745, y: 2.91))
        p.addLine(to: CGPoint(x: 11.745, y: 3.441))
        p.addCurve(to: CGPoint(x: 11.509, y: 4.087), control1: CGPoint(x: 11.745, y: 3.704), control2: CGPoint(x: 11.666, y: 3.919))
        p.addCurve(to: CGPoint(x: 10.721, y: 4.34), control1: CGPoint(x: 11.351, y: 4.256), control2: CGPoint(x: 11.088, y: 4.34))
        p.addCurve(to: CGPoint(x: 9.956, y: 4.087), control1: CGPoint(x: 10.374, y: 4.34), control2: CGPoint(x: 10.119, y: 4.256))
        p.closeSubpath()
        p.move(to: CGPoint(x: 3.755, y: 7.208))
        p.addLine(to: CGPoint(x: 3.755, y: 5.805))
        p.addLine(to: CGPoint(x: 5, y: 5.805))
        p.addLine(to: CGPoint(x: 5, y: 4.45))
        p.addCurve(to: CGPoint(x: 5.528, y: 2.898), control1: CGPoint(x: 5, y: 3.788), control2: CGPoint(x: 5.176, y: 3.271))
        p.addCurve(to: CGPoint(x: 7.08, y: 2.338), control1: CGPoint(x: 5.88, y: 2.525), control2: CGPoint(x: 6.397, y: 2.338))
        p.addLine(to: CGPoint(x: 8.436, y: 2.338))
        p.addLine(to: CGPoint(x: 8.436, y: 3.741))
        p.addLine(to: CGPoint(x: 6.718, y: 3.741))
        p.addLine(to: CGPoint(x: 6.718, y: 5.805))
        p.addLine(to: CGPoint(x: 11.587, y: 5.805))
        p.addLine(to: CGPoint(x: 11.587, y: 14))
        p.addLine(to: CGPoint(x: 9.87, y: 14))
        p.addLine(to: CGPoint(x: 9.87, y: 7.208))
        p.addLine(to: CGPoint(x: 6.718, y: 7.208))
        p.addLine(to: CGPoint(x: 6.718, y: 14))
        p.addLine(to: CGPoint(x: 5, y: 14))
        p.addLine(to: CGPoint(x: 5, y: 7.208))
        p.addLine(to: CGPoint(x: 3.755, y: 7.208))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "ligature" (line-round), MIT. https://gentleface.com/icons/ligature
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 LigatureIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "ligature", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M9.956 4.087C9.793 3.919 9.712 3.704 9.712 3.441L9.712 3.173C9.712 2.91 9.793 2.695 9.956 2.527C10.119 2.359 10.374 2.275 10.721 2.275C11.088 2.275 11.351 2.359 11.509 2.527C11.666 2.695 11.745 2.91 11.745 3.173L11.745 3.441C11.745 3.704 11.666 3.919 11.509 4.087C11.351 4.256 11.088 4.34 10.721 4.34C10.374 4.34 10.119 4.256 9.956 4.087ZM3.755 7.208L3.755 5.805L5 5.805L5 4.45C5 3.788 5.176 3.271 5.528 2.898C5.88 2.525 6.397 2.338 7.08 2.338L8.436 2.338L8.436 3.741L6.718 3.741L6.718 5.805L11.587 5.805L11.587 14L9.87 14L9.87 7.208L6.718 7.208L6.718 14L5 14L5 7.208L3.755 7.208Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_ligature.xml · Gentleface "ligature" (line-round), MIT. https://gentleface.com/icons/ligature -->
<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="M9.956 4.087C9.793 3.919 9.712 3.704 9.712 3.441L9.712 3.173C9.712 2.91 9.793 2.695 9.956 2.527C10.119 2.359 10.374 2.275 10.721 2.275C11.088 2.275 11.351 2.359 11.509 2.527C11.666 2.695 11.745 2.91 11.745 3.173L11.745 3.441C11.745 3.704 11.666 3.919 11.509 4.087C11.351 4.256 11.088 4.34 10.721 4.34C10.374 4.34 10.119 4.256 9.956 4.087ZM3.755 7.208L3.755 5.805L5 5.805L5 4.45C5 3.788 5.176 3.271 5.528 2.898C5.88 2.525 6.397 2.338 7.08 2.338L8.436 2.338L8.436 3.741L6.718 3.741L6.718 5.805L11.587 5.805L11.587 14L9.87 14L9.87 7.208L6.718 7.208L6.718 14L5 14L5 7.208L3.755 7.208Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(9.956, 4.087)
      ..cubicTo(9.793, 3.919, 9.712, 3.704, 9.712, 3.441)
      ..lineTo(9.712, 3.173)
      ..cubicTo(9.712, 2.91, 9.793, 2.695, 9.956, 2.527)
      ..cubicTo(10.119, 2.359, 10.374, 2.275, 10.721, 2.275)
      ..cubicTo(11.088, 2.275, 11.351, 2.359, 11.509, 2.527)
      ..cubicTo(11.666, 2.695, 11.745, 2.91, 11.745, 3.173)
      ..lineTo(11.745, 3.441)
      ..cubicTo(11.745, 3.704, 11.666, 3.919, 11.509, 4.087)
      ..cubicTo(11.351, 4.256, 11.088, 4.34, 10.721, 4.34)
      ..cubicTo(10.374, 4.34, 10.119, 4.256, 9.956, 4.087)
      ..close()
      ..moveTo(3.755, 7.208)
      ..lineTo(3.755, 5.805)
      ..lineTo(5, 5.805)
      ..lineTo(5, 4.45)
      ..cubicTo(5, 3.788, 5.176, 3.271, 5.528, 2.898)
      ..cubicTo(5.88, 2.525, 6.397, 2.338, 7.08, 2.338)
      ..lineTo(8.436, 2.338)
      ..lineTo(8.436, 3.741)
      ..lineTo(6.718, 3.741)
      ..lineTo(6.718, 5.805)
      ..lineTo(11.587, 5.805)
      ..lineTo(11.587, 14)
      ..lineTo(9.87, 14)
      ..lineTo(9.87, 7.208)
      ..lineTo(6.718, 7.208)
      ..lineTo(6.718, 14)
      ..lineTo(5, 14)
      ..lineTo(5, 7.208)
      ..lineTo(3.755, 7.208)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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