# library icon

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

- Category: Files & folders
- Use it for: library, books, bookshelf, collection, my library
- Tags: library, books, bookshelf, shelf, collection, reading, catalog
- Family: book, book-arrow-down, book-bookmark, book-check, book-clock, book-open, book-plus, book-search, book-x, library-check, library-plus
- Component name: LibraryIcon
- Added: 2026-10-14

## Alternatives

- `book`: a single closed book (ebook)
- `folders`: a set of folders (folders)
- `bookmarks`: saved links (bookmark-list)
- `images`: a photo library or album (photo-library)

## Also fits

- ebook: a collection of books (books)
- shelves: books on a shelf: a library or a bookshelf

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

The SVG of every style: https://gentleface.com/icons/library.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 2.144C1.241 2.048 1.359 2 1.5 2C1.641 2 1.759 2.048 1.856 2.144C1.952 2.241 2 2.359 2 2.5L2 13.5C2 13.641 1.952 13.759 1.856 13.856C1.759 13.952 1.641 14 1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 2.5C1 2.359 1.048 2.241 1.144 2.144ZM7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3C7.641 3 7.759 3.048 7.856 3.144C7.952 3.241 8 3.359 8 3.5L8 13.5C8 13.641 7.952 13.759 7.856 13.856ZM13.947 13.276C14.01 13.402 14.02 13.53 13.977 13.659C13.934 13.788 13.85 13.884 13.724 13.947C13.598 14.01 13.47 14.02 13.341 13.977C13.212 13.934 13.116 13.85 13.053 13.724L9.053 5.724C8.991 5.6 8.982 5.473 9.026 5.342C9.069 5.211 9.153 5.115 9.276 5.053C9.402 4.99 9.53 4.98 9.659 5.023C9.788 5.066 9.884 5.15 9.947 5.276L13.947 13.276ZM4.144 5.144C4.241 5.048 4.359 5 4.5 5C4.641 5 4.759 5.048 4.856 5.144C4.952 5.241 5 5.359 5 5.5L5 13.5C5 13.641 4.952 13.759 4.856 13.856C4.759 13.952 4.641 14 4.5 14C4.359 14 4.241 13.952 4.144 13.856C4.048 13.759 4 13.641 4 13.5L4 5.5C4 5.359 4.048 5.241 4.144 5.144Z"/></svg>
```

### React

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

export function LibraryIcon(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 2.144C1.241 2.048 1.359 2 1.5 2C1.641 2 1.759 2.048 1.856 2.144C1.952 2.241 2 2.359 2 2.5L2 13.5C2 13.641 1.952 13.759 1.856 13.856C1.759 13.952 1.641 14 1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 2.5C1 2.359 1.048 2.241 1.144 2.144ZM7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3C7.641 3 7.759 3.048 7.856 3.144C7.952 3.241 8 3.359 8 3.5L8 13.5C8 13.641 7.952 13.759 7.856 13.856ZM13.947 13.276C14.01 13.402 14.02 13.53 13.977 13.659C13.934 13.788 13.85 13.884 13.724 13.947C13.598 14.01 13.47 14.02 13.341 13.977C13.212 13.934 13.116 13.85 13.053 13.724L9.053 5.724C8.991 5.6 8.982 5.473 9.026 5.342C9.069 5.211 9.153 5.115 9.276 5.053C9.402 4.99 9.53 4.98 9.659 5.023C9.788 5.066 9.884 5.15 9.947 5.276L13.947 13.276ZM4.144 5.144C4.241 5.048 4.359 5 4.5 5C4.641 5 4.759 5.048 4.856 5.144C4.952 5.241 5 5.359 5 5.5L5 13.5C5 13.641 4.952 13.759 4.856 13.856C4.759 13.952 4.641 14 4.5 14C4.359 14 4.241 13.952 4.144 13.856C4.048 13.759 4 13.641 4 13.5L4 5.5C4 5.359 4.048 5.241 4.144 5.144Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "library" (line-round), MIT. https://gentleface.com/icons/library -->
<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 2.144C1.241 2.048 1.359 2 1.5 2C1.641 2 1.759 2.048 1.856 2.144C1.952 2.241 2 2.359 2 2.5L2 13.5C2 13.641 1.952 13.759 1.856 13.856C1.759 13.952 1.641 14 1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 2.5C1 2.359 1.048 2.241 1.144 2.144ZM7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3C7.641 3 7.759 3.048 7.856 3.144C7.952 3.241 8 3.359 8 3.5L8 13.5C8 13.641 7.952 13.759 7.856 13.856ZM13.947 13.276C14.01 13.402 14.02 13.53 13.977 13.659C13.934 13.788 13.85 13.884 13.724 13.947C13.598 14.01 13.47 14.02 13.341 13.977C13.212 13.934 13.116 13.85 13.053 13.724L9.053 5.724C8.991 5.6 8.982 5.473 9.026 5.342C9.069 5.211 9.153 5.115 9.276 5.053C9.402 4.99 9.53 4.98 9.659 5.023C9.788 5.066 9.884 5.15 9.947 5.276L13.947 13.276ZM4.144 5.144C4.241 5.048 4.359 5 4.5 5C4.641 5 4.759 5.048 4.856 5.144C4.952 5.241 5 5.359 5 5.5L5 13.5C5 13.641 4.952 13.759 4.856 13.856C4.759 13.952 4.641 14 4.5 14C4.359 14 4.241 13.952 4.144 13.856C4.048 13.759 4 13.641 4 13.5L4 5.5C4 5.359 4.048 5.241 4.144 5.144Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "library" (line-round), MIT. https://gentleface.com/icons/library -->
<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 2.144C1.241 2.048 1.359 2 1.5 2C1.641 2 1.759 2.048 1.856 2.144C1.952 2.241 2 2.359 2 2.5L2 13.5C2 13.641 1.952 13.759 1.856 13.856C1.759 13.952 1.641 14 1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 2.5C1 2.359 1.048 2.241 1.144 2.144ZM7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3C7.641 3 7.759 3.048 7.856 3.144C7.952 3.241 8 3.359 8 3.5L8 13.5C8 13.641 7.952 13.759 7.856 13.856ZM13.947 13.276C14.01 13.402 14.02 13.53 13.977 13.659C13.934 13.788 13.85 13.884 13.724 13.947C13.598 14.01 13.47 14.02 13.341 13.977C13.212 13.934 13.116 13.85 13.053 13.724L9.053 5.724C8.991 5.6 8.982 5.473 9.026 5.342C9.069 5.211 9.153 5.115 9.276 5.053C9.402 4.99 9.53 4.98 9.659 5.023C9.788 5.066 9.884 5.15 9.947 5.276L13.947 13.276ZM4.144 5.144C4.241 5.048 4.359 5 4.5 5C4.641 5 4.759 5.048 4.856 5.144C4.952 5.241 5 5.359 5 5.5L5 13.5C5 13.641 4.952 13.759 4.856 13.856C4.759 13.952 4.641 14 4.5 14C4.359 14 4.241 13.952 4.144 13.856C4.048 13.759 4 13.641 4 13.5L4 5.5C4 5.359 4.048 5.241 4.144 5.144Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "library" (line-round), MIT. https://gentleface.com/icons/library. Takes the text color. */
.icon-library {
  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 2.144C1.241 2.048 1.359 2 1.5 2C1.641 2 1.759 2.048 1.856 2.144C1.952 2.241 2 2.359 2 2.5L2 13.5C2 13.641 1.952 13.759 1.856 13.856C1.759 13.952 1.641 14 1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 2.5C1 2.359 1.048 2.241 1.144 2.144ZM7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3C7.641 3 7.759 3.048 7.856 3.144C7.952 3.241 8 3.359 8 3.5L8 13.5C8 13.641 7.952 13.759 7.856 13.856ZM13.947 13.276C14.01 13.402 14.02 13.53 13.977 13.659C13.934 13.788 13.85 13.884 13.724 13.947C13.598 14.01 13.47 14.02 13.341 13.977C13.212 13.934 13.116 13.85 13.053 13.724L9.053 5.724C8.991 5.6 8.982 5.473 9.026 5.342C9.069 5.211 9.153 5.115 9.276 5.053C9.402 4.99 9.53 4.98 9.659 5.023C9.788 5.066 9.884 5.15 9.947 5.276L13.947 13.276ZM4.144 5.144C4.241 5.048 4.359 5 4.5 5C4.641 5 4.759 5.048 4.856 5.144C4.952 5.241 5 5.359 5 5.5L5 13.5C5 13.641 4.952 13.759 4.856 13.856C4.759 13.952 4.641 14 4.5 14C4.359 14 4.241 13.952 4.144 13.856C4.048 13.759 4 13.641 4 13.5L4 5.5C4 5.359 4.048 5.241 4.144 5.144Z'/%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 2.144C1.241 2.048 1.359 2 1.5 2C1.641 2 1.759 2.048 1.856 2.144C1.952 2.241 2 2.359 2 2.5L2 13.5C2 13.641 1.952 13.759 1.856 13.856C1.759 13.952 1.641 14 1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 2.5C1 2.359 1.048 2.241 1.144 2.144ZM7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3C7.641 3 7.759 3.048 7.856 3.144C7.952 3.241 8 3.359 8 3.5L8 13.5C8 13.641 7.952 13.759 7.856 13.856ZM13.947 13.276C14.01 13.402 14.02 13.53 13.977 13.659C13.934 13.788 13.85 13.884 13.724 13.947C13.598 14.01 13.47 14.02 13.341 13.977C13.212 13.934 13.116 13.85 13.053 13.724L9.053 5.724C8.991 5.6 8.982 5.473 9.026 5.342C9.069 5.211 9.153 5.115 9.276 5.053C9.402 4.99 9.53 4.98 9.659 5.023C9.788 5.066 9.884 5.15 9.947 5.276L13.947 13.276ZM4.144 5.144C4.241 5.048 4.359 5 4.5 5C4.641 5 4.759 5.048 4.856 5.144C4.952 5.241 5 5.359 5 5.5L5 13.5C5 13.641 4.952 13.759 4.856 13.856C4.759 13.952 4.641 14 4.5 14C4.359 14 4.241 13.952 4.144 13.856C4.048 13.759 4 13.641 4 13.5L4 5.5C4 5.359 4.048 5.241 4.144 5.144Z'/%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 2.144C1.241 2.048 1.359 2 1.5 2C1.641 2 1.759 2.048 1.856 2.144C1.952 2.241 2 2.359 2 2.5L2 13.5C2 13.641 1.952 13.759 1.856 13.856C1.759 13.952 1.641 14 1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 2.5C1 2.359 1.048 2.241 1.144 2.144ZM7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3C7.641 3 7.759 3.048 7.856 3.144C7.952 3.241 8 3.359 8 3.5L8 13.5C8 13.641 7.952 13.759 7.856 13.856ZM13.947 13.276C14.01 13.402 14.02 13.53 13.977 13.659C13.934 13.788 13.85 13.884 13.724 13.947C13.598 14.01 13.47 14.02 13.341 13.977C13.212 13.934 13.116 13.85 13.053 13.724L9.053 5.724C8.991 5.6 8.982 5.473 9.026 5.342C9.069 5.211 9.153 5.115 9.276 5.053C9.402 4.99 9.53 4.98 9.659 5.023C9.788 5.066 9.884 5.15 9.947 5.276L13.947 13.276ZM4.144 5.144C4.241 5.048 4.359 5 4.5 5C4.641 5 4.759 5.048 4.856 5.144C4.952 5.241 5 5.359 5 5.5L5 13.5C5 13.641 4.952 13.759 4.856 13.856C4.759 13.952 4.641 14 4.5 14C4.359 14 4.241 13.952 4.144 13.856C4.048 13.759 4 13.641 4 13.5L4 5.5C4 5.359 4.048 5.241 4.144 5.144Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct LibraryIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 1.144, y: 2.144))
        p.addCurve(to: CGPoint(x: 1.5, y: 2), control1: CGPoint(x: 1.241, y: 2.048), control2: CGPoint(x: 1.359, y: 2))
        p.addCurve(to: CGPoint(x: 1.856, y: 2.144), control1: CGPoint(x: 1.641, y: 2), control2: CGPoint(x: 1.759, y: 2.048))
        p.addCurve(to: CGPoint(x: 2, y: 2.5), control1: CGPoint(x: 1.952, y: 2.241), control2: CGPoint(x: 2, y: 2.359))
        p.addLine(to: CGPoint(x: 2, y: 13.5))
        p.addCurve(to: CGPoint(x: 1.856, y: 13.856), control1: CGPoint(x: 2, y: 13.641), control2: CGPoint(x: 1.952, y: 13.759))
        p.addCurve(to: CGPoint(x: 1.5, y: 14), control1: CGPoint(x: 1.759, y: 13.952), control2: CGPoint(x: 1.641, 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: 2.5))
        p.addCurve(to: CGPoint(x: 1.144, y: 2.144), control1: CGPoint(x: 1, y: 2.359), control2: CGPoint(x: 1.048, y: 2.241))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7.856, y: 13.856))
        p.addCurve(to: CGPoint(x: 7.5, y: 14), control1: CGPoint(x: 7.759, y: 13.952), control2: CGPoint(x: 7.641, y: 14))
        p.addCurve(to: CGPoint(x: 7.144, y: 13.856), control1: CGPoint(x: 7.359, y: 14), control2: CGPoint(x: 7.241, y: 13.952))
        p.addCurve(to: CGPoint(x: 7, y: 13.5), control1: CGPoint(x: 7.048, y: 13.759), control2: CGPoint(x: 7, y: 13.641))
        p.addLine(to: CGPoint(x: 7, y: 3.5))
        p.addCurve(to: CGPoint(x: 7.144, y: 3.144), control1: CGPoint(x: 7, y: 3.359), control2: CGPoint(x: 7.048, y: 3.241))
        p.addCurve(to: CGPoint(x: 7.5, y: 3), control1: CGPoint(x: 7.241, y: 3.048), control2: CGPoint(x: 7.359, y: 3))
        p.addCurve(to: CGPoint(x: 7.856, y: 3.144), control1: CGPoint(x: 7.641, y: 3), control2: CGPoint(x: 7.759, y: 3.048))
        p.addCurve(to: CGPoint(x: 8, y: 3.5), control1: CGPoint(x: 7.952, y: 3.241), control2: CGPoint(x: 8, y: 3.359))
        p.addLine(to: CGPoint(x: 8, y: 13.5))
        p.addCurve(to: CGPoint(x: 7.856, y: 13.856), control1: CGPoint(x: 8, y: 13.641), control2: CGPoint(x: 7.952, y: 13.759))
        p.closeSubpath()
        p.move(to: CGPoint(x: 13.947, y: 13.276))
        p.addCurve(to: CGPoint(x: 13.977, y: 13.659), control1: CGPoint(x: 14.01, y: 13.402), control2: CGPoint(x: 14.02, y: 13.53))
        p.addCurve(to: CGPoint(x: 13.724, y: 13.947), control1: CGPoint(x: 13.934, y: 13.788), control2: CGPoint(x: 13.85, y: 13.884))
        p.addCurve(to: CGPoint(x: 13.341, y: 13.977), control1: CGPoint(x: 13.598, y: 14.01), control2: CGPoint(x: 13.47, y: 14.02))
        p.addCurve(to: CGPoint(x: 13.053, y: 13.724), control1: CGPoint(x: 13.212, y: 13.934), control2: CGPoint(x: 13.116, y: 13.85))
        p.addLine(to: CGPoint(x: 9.053, y: 5.724))
        p.addCurve(to: CGPoint(x: 9.026, y: 5.342), control1: CGPoint(x: 8.991, y: 5.6), control2: CGPoint(x: 8.982, y: 5.473))
        p.addCurve(to: CGPoint(x: 9.276, y: 5.053), control1: CGPoint(x: 9.069, y: 5.211), control2: CGPoint(x: 9.153, y: 5.115))
        p.addCurve(to: CGPoint(x: 9.659, y: 5.023), control1: CGPoint(x: 9.402, y: 4.99), control2: CGPoint(x: 9.53, y: 4.98))
        p.addCurve(to: CGPoint(x: 9.947, y: 5.276), control1: CGPoint(x: 9.788, y: 5.066), control2: CGPoint(x: 9.884, y: 5.15))
        p.addLine(to: CGPoint(x: 13.947, y: 13.276))
        p.closeSubpath()
        p.move(to: CGPoint(x: 4.144, y: 5.144))
        p.addCurve(to: CGPoint(x: 4.5, y: 5), control1: CGPoint(x: 4.241, y: 5.048), control2: CGPoint(x: 4.359, y: 5))
        p.addCurve(to: CGPoint(x: 4.856, y: 5.144), control1: CGPoint(x: 4.641, y: 5), control2: CGPoint(x: 4.759, y: 5.048))
        p.addCurve(to: CGPoint(x: 5, y: 5.5), control1: CGPoint(x: 4.952, y: 5.241), control2: CGPoint(x: 5, y: 5.359))
        p.addLine(to: CGPoint(x: 5, y: 13.5))
        p.addCurve(to: CGPoint(x: 4.856, y: 13.856), control1: CGPoint(x: 5, y: 13.641), control2: CGPoint(x: 4.952, y: 13.759))
        p.addCurve(to: CGPoint(x: 4.5, y: 14), control1: CGPoint(x: 4.759, y: 13.952), control2: CGPoint(x: 4.641, y: 14))
        p.addCurve(to: CGPoint(x: 4.144, y: 13.856), control1: CGPoint(x: 4.359, y: 14), control2: CGPoint(x: 4.241, y: 13.952))
        p.addCurve(to: CGPoint(x: 4, y: 13.5), control1: CGPoint(x: 4.048, y: 13.759), control2: CGPoint(x: 4, y: 13.641))
        p.addLine(to: CGPoint(x: 4, y: 5.5))
        p.addCurve(to: CGPoint(x: 4.144, y: 5.144), control1: CGPoint(x: 4, y: 5.359), control2: CGPoint(x: 4.048, y: 5.241))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "library" (line-round), MIT. https://gentleface.com/icons/library
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 LibraryIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "library", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M1.144 2.144C1.241 2.048 1.359 2 1.5 2C1.641 2 1.759 2.048 1.856 2.144C1.952 2.241 2 2.359 2 2.5L2 13.5C2 13.641 1.952 13.759 1.856 13.856C1.759 13.952 1.641 14 1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 2.5C1 2.359 1.048 2.241 1.144 2.144ZM7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3C7.641 3 7.759 3.048 7.856 3.144C7.952 3.241 8 3.359 8 3.5L8 13.5C8 13.641 7.952 13.759 7.856 13.856ZM13.947 13.276C14.01 13.402 14.02 13.53 13.977 13.659C13.934 13.788 13.85 13.884 13.724 13.947C13.598 14.01 13.47 14.02 13.341 13.977C13.212 13.934 13.116 13.85 13.053 13.724L9.053 5.724C8.991 5.6 8.982 5.473 9.026 5.342C9.069 5.211 9.153 5.115 9.276 5.053C9.402 4.99 9.53 4.98 9.659 5.023C9.788 5.066 9.884 5.15 9.947 5.276L13.947 13.276ZM4.144 5.144C4.241 5.048 4.359 5 4.5 5C4.641 5 4.759 5.048 4.856 5.144C4.952 5.241 5 5.359 5 5.5L5 13.5C5 13.641 4.952 13.759 4.856 13.856C4.759 13.952 4.641 14 4.5 14C4.359 14 4.241 13.952 4.144 13.856C4.048 13.759 4 13.641 4 13.5L4 5.5C4 5.359 4.048 5.241 4.144 5.144Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_library.xml · Gentleface "library" (line-round), MIT. https://gentleface.com/icons/library -->
<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 2.144C1.241 2.048 1.359 2 1.5 2C1.641 2 1.759 2.048 1.856 2.144C1.952 2.241 2 2.359 2 2.5L2 13.5C2 13.641 1.952 13.759 1.856 13.856C1.759 13.952 1.641 14 1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 2.5C1 2.359 1.048 2.241 1.144 2.144ZM7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3C7.641 3 7.759 3.048 7.856 3.144C7.952 3.241 8 3.359 8 3.5L8 13.5C8 13.641 7.952 13.759 7.856 13.856ZM13.947 13.276C14.01 13.402 14.02 13.53 13.977 13.659C13.934 13.788 13.85 13.884 13.724 13.947C13.598 14.01 13.47 14.02 13.341 13.977C13.212 13.934 13.116 13.85 13.053 13.724L9.053 5.724C8.991 5.6 8.982 5.473 9.026 5.342C9.069 5.211 9.153 5.115 9.276 5.053C9.402 4.99 9.53 4.98 9.659 5.023C9.788 5.066 9.884 5.15 9.947 5.276L13.947 13.276ZM4.144 5.144C4.241 5.048 4.359 5 4.5 5C4.641 5 4.759 5.048 4.856 5.144C4.952 5.241 5 5.359 5 5.5L5 13.5C5 13.641 4.952 13.759 4.856 13.856C4.759 13.952 4.641 14 4.5 14C4.359 14 4.241 13.952 4.144 13.856C4.048 13.759 4 13.641 4 13.5L4 5.5C4 5.359 4.048 5.241 4.144 5.144Z"/>
</vector>
```

### Flutter

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

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

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

class _LibraryIconPainter extends CustomPainter {
  _LibraryIconPainter(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, 2.144)
      ..cubicTo(1.241, 2.048, 1.359, 2, 1.5, 2)
      ..cubicTo(1.641, 2, 1.759, 2.048, 1.856, 2.144)
      ..cubicTo(1.952, 2.241, 2, 2.359, 2, 2.5)
      ..lineTo(2, 13.5)
      ..cubicTo(2, 13.641, 1.952, 13.759, 1.856, 13.856)
      ..cubicTo(1.759, 13.952, 1.641, 14, 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, 2.5)
      ..cubicTo(1, 2.359, 1.048, 2.241, 1.144, 2.144)
      ..close()
      ..moveTo(7.856, 13.856)
      ..cubicTo(7.759, 13.952, 7.641, 14, 7.5, 14)
      ..cubicTo(7.359, 14, 7.241, 13.952, 7.144, 13.856)
      ..cubicTo(7.048, 13.759, 7, 13.641, 7, 13.5)
      ..lineTo(7, 3.5)
      ..cubicTo(7, 3.359, 7.048, 3.241, 7.144, 3.144)
      ..cubicTo(7.241, 3.048, 7.359, 3, 7.5, 3)
      ..cubicTo(7.641, 3, 7.759, 3.048, 7.856, 3.144)
      ..cubicTo(7.952, 3.241, 8, 3.359, 8, 3.5)
      ..lineTo(8, 13.5)
      ..cubicTo(8, 13.641, 7.952, 13.759, 7.856, 13.856)
      ..close()
      ..moveTo(13.947, 13.276)
      ..cubicTo(14.01, 13.402, 14.02, 13.53, 13.977, 13.659)
      ..cubicTo(13.934, 13.788, 13.85, 13.884, 13.724, 13.947)
      ..cubicTo(13.598, 14.01, 13.47, 14.02, 13.341, 13.977)
      ..cubicTo(13.212, 13.934, 13.116, 13.85, 13.053, 13.724)
      ..lineTo(9.053, 5.724)
      ..cubicTo(8.991, 5.6, 8.982, 5.473, 9.026, 5.342)
      ..cubicTo(9.069, 5.211, 9.153, 5.115, 9.276, 5.053)
      ..cubicTo(9.402, 4.99, 9.53, 4.98, 9.659, 5.023)
      ..cubicTo(9.788, 5.066, 9.884, 5.15, 9.947, 5.276)
      ..lineTo(13.947, 13.276)
      ..close()
      ..moveTo(4.144, 5.144)
      ..cubicTo(4.241, 5.048, 4.359, 5, 4.5, 5)
      ..cubicTo(4.641, 5, 4.759, 5.048, 4.856, 5.144)
      ..cubicTo(4.952, 5.241, 5, 5.359, 5, 5.5)
      ..lineTo(5, 13.5)
      ..cubicTo(5, 13.641, 4.952, 13.759, 4.856, 13.856)
      ..cubicTo(4.759, 13.952, 4.641, 14, 4.5, 14)
      ..cubicTo(4.359, 14, 4.241, 13.952, 4.144, 13.856)
      ..cubicTo(4.048, 13.759, 4, 13.641, 4, 13.5)
      ..lineTo(4, 5.5)
      ..cubicTo(4, 5.359, 4.048, 5.241, 4.144, 5.144)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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