gentleface

Gentleface › Files & folders › book-code

book-code icon

Book code: developer guide, developer docs, api reference. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

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="M2 3C2 2.746 2.047 2.5 2.14 2.264C2.242 2.007 2.391 1.781 2.586 1.586C2.781 1.391 3.007 1.242 3.264 1.14C3.5 1.047 3.746 1 4 1L9 1C9.254 1 9.5 1.047 9.736 1.14C9.993 1.242 10.219 1.391 10.414 1.586C10.609 1.781 10.758 2.007 10.86 2.264C10.953 2.5 11 2.746 11 3L11 5.5C11 5.641 10.952 5.759 10.856 5.856C10.759 5.952 10.641 6 10.5 6C10.359 6 10.241 5.952 10.144 5.856C10.048 5.759 10 5.641 10 5.5L10 3C10 2.724 9.902 2.488 9.707 2.293C9.512 2.098 9.276 2 9 2L5 2L5 9L5.5 9C5.641 9 5.759 9.048 5.856 9.144C5.952 9.241 6 9.359 6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L4 10C3.724 10 3.488 10.098 3.293 10.293C3.098 10.488 3 10.723 3 10.999L3 11C3 11.276 3.098 11.512 3.293 11.707C3.488 11.902 3.724 12 4 12L5.5 12C5.641 12 5.759 12.048 5.856 12.144C5.952 12.241 6 12.359 6 12.5C6 12.641 5.952 12.759 5.856 12.856C5.759 12.952 5.641 13 5.5 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 3ZM3.293 2.293C3.098 2.488 3 2.724 3 3L3 9.268C3.084 9.219 3.172 9.177 3.264 9.14C3.5 9.047 3.746 9 4 9L4 2C3.724 2 3.488 2.098 3.293 2.293ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM8.5 10.793C8.305 10.988 8.207 11.224 8.207 11.5C8.207 11.776 8.305 12.012 8.5 12.207L10.146 13.854C10.342 14.049 10.658 14.049 10.854 13.854C11.049 13.658 11.049 13.342 10.854 13.146L9.207 11.5L10.854 9.854C11.049 9.658 11.049 9.342 10.854 9.146C10.658 8.951 10.342 8.951 10.146 9.146L8.5 10.793ZM12.854 9.146C12.658 8.951 12.342 8.951 12.146 9.146C11.951 9.342 11.951 9.658 12.146 9.854L13.793 11.5L12.146 13.146C11.951 13.342 11.951 13.658 12.146 13.854C12.342 14.049 12.658 14.049 12.854 13.854L14.5 12.207C14.695 12.012 14.793 11.776 14.793 11.5C14.793 11.224 14.695 10.988 14.5 10.793L12.854 9.146Z"/></svg>
React
// Gentleface "book-code" (line-round), MIT. https://gentleface.com/icons/book-code
import type { SVGProps } from 'react';

export function BookCodeIcon(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="M2 3C2 2.746 2.047 2.5 2.14 2.264C2.242 2.007 2.391 1.781 2.586 1.586C2.781 1.391 3.007 1.242 3.264 1.14C3.5 1.047 3.746 1 4 1L9 1C9.254 1 9.5 1.047 9.736 1.14C9.993 1.242 10.219 1.391 10.414 1.586C10.609 1.781 10.758 2.007 10.86 2.264C10.953 2.5 11 2.746 11 3L11 5.5C11 5.641 10.952 5.759 10.856 5.856C10.759 5.952 10.641 6 10.5 6C10.359 6 10.241 5.952 10.144 5.856C10.048 5.759 10 5.641 10 5.5L10 3C10 2.724 9.902 2.488 9.707 2.293C9.512 2.098 9.276 2 9 2L5 2L5 9L5.5 9C5.641 9 5.759 9.048 5.856 9.144C5.952 9.241 6 9.359 6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L4 10C3.724 10 3.488 10.098 3.293 10.293C3.098 10.488 3 10.723 3 10.999L3 11C3 11.276 3.098 11.512 3.293 11.707C3.488 11.902 3.724 12 4 12L5.5 12C5.641 12 5.759 12.048 5.856 12.144C5.952 12.241 6 12.359 6 12.5C6 12.641 5.952 12.759 5.856 12.856C5.759 12.952 5.641 13 5.5 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 3ZM3.293 2.293C3.098 2.488 3 2.724 3 3L3 9.268C3.084 9.219 3.172 9.177 3.264 9.14C3.5 9.047 3.746 9 4 9L4 2C3.724 2 3.488 2.098 3.293 2.293ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM8.5 10.793C8.305 10.988 8.207 11.224 8.207 11.5C8.207 11.776 8.305 12.012 8.5 12.207L10.146 13.854C10.342 14.049 10.658 14.049 10.854 13.854C11.049 13.658 11.049 13.342 10.854 13.146L9.207 11.5L10.854 9.854C11.049 9.658 11.049 9.342 10.854 9.146C10.658 8.951 10.342 8.951 10.146 9.146L8.5 10.793ZM12.854 9.146C12.658 8.951 12.342 8.951 12.146 9.146C11.951 9.342 11.951 9.658 12.146 9.854L13.793 11.5L12.146 13.146C11.951 13.342 11.951 13.658 12.146 13.854C12.342 14.049 12.658 14.049 12.854 13.854L14.5 12.207C14.695 12.012 14.793 11.776 14.793 11.5C14.793 11.224 14.695 10.988 14.5 10.793L12.854 9.146Z" />
    </svg>
  );
}
Vue
Vue: see /icons/book-code.md
Svelte
Svelte: see /icons/book-code.md
HTML img
HTML img: see /icons/book-code.md
CSS
CSS: see /icons/book-code.md
Data URL
Data URL: see /icons/book-code.md
Sprite
Sprite: see /icons/book-code.md
SwiftUI
SwiftUI: see /icons/book-code.md
Compose
Compose: see /icons/book-code.md
Android XML
Android XML: see /icons/book-code.md
Flutter
Flutter: see /icons/book-code.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 { BookCodeIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
developer guide, developer docs, api reference
Example
Developer documentation link in a dev portal
Built from
book + code
Tags
book, closed-book, ebook, read, publication, novel, guide, manual, code
Category
Files & folders
Component name
BookCodeIcon
History
  • added, released in 0.4.0
Since
version 0.4.0

Family 24

More files & folders icons

For agents

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