gentleface

Gentleface › Files & folders › library

library icon

Library: library, books, bookshelf, collection. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated library-lean · line-round

The leaning book is stood upright on its foot and wobbles there. It tips back over, knocks the tall book beside it, and the books rock on the shelf and settle.

Download SVG

Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.25 s to 2.3 s. Examples and helper.

Code line-round

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
// 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: see /icons/library.md
Svelte
Svelte: see /icons/library.md
HTML img
HTML img: see /icons/library.md
CSS
CSS: see /icons/library.md
Data URL
Data URL: see /icons/library.md
Sprite
Sprite: see /icons/library.md
SwiftUI
SwiftUI: see /icons/library.md
Compose
Compose: see /icons/library.md
Android XML
Android XML: see /icons/library.md
Flutter
Flutter: see /icons/library.md

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. 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. More in how to use.

With npm: import { LibraryIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
library, books, bookshelf, collection, my library, clause library, course catalog
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
Tags
library, books, bookshelf, shelf, collection, reading, catalog
Category
Files & folders
Component name
LibraryIcon
History
  • added
  • released in 0.1.0
  • 20 px drawn, 24 px drawn
Since
version 0.1.0

Family 26

More files & folders icons

For agents

Metadata: /icons/library.json · Markdown: /icons/library.md · SVG: https://gentleface.com/svg/{style}/16/library.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/library.png