Gentleface › Files & folders › book-star
book-star icon
book-starBook star: favorite book, featured book. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated book-star-clap · line-round
The star is tossed up off the book and falls onto its badge, tilted, landing on one point and slapping flat. The blow springs the book's cover open a little toward you, and it claps shut again.
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 1.45 s. Examples and helper.
Code line-round
<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 12L7.5 12C7.532 12 7.563 12.003 7.593 12.008L7.992 12.407C7.997 12.437 8 12.468 8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.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.293ZM15.071 10.084C15.155 10.139 15.216 10.214 15.255 10.309C15.294 10.403 15.304 10.499 15.284 10.598C15.265 10.696 15.219 10.781 15.146 10.854L13.719 12.281C13.652 12.348 13.607 12.428 13.585 12.52C13.564 12.612 13.568 12.703 13.598 12.793L14.049 14.147C14.082 14.247 14.084 14.346 14.053 14.446C14.023 14.545 13.965 14.626 13.882 14.69C13.798 14.754 13.704 14.788 13.6 14.791C13.497 14.795 13.401 14.767 13.313 14.709L11.777 13.685C11.693 13.629 11.601 13.601 11.5 13.601C11.399 13.601 11.307 13.629 11.223 13.685L9.687 14.709C9.599 14.767 9.503 14.795 9.4 14.791C9.296 14.788 9.202 14.754 9.118 14.69C9.035 14.626 8.977 14.545 8.947 14.446C8.916 14.346 8.918 14.247 8.951 14.147L9.402 12.793C9.432 12.703 9.436 12.612 9.415 12.52C9.393 12.428 9.348 12.348 9.281 12.281L7.854 10.854C7.781 10.781 7.735 10.696 7.716 10.598C7.696 10.499 7.706 10.403 7.745 10.309C7.784 10.214 7.845 10.139 7.929 10.084C8.012 10.028 8.105 10 8.207 10L10.14 10C10.247 10 10.345 9.969 10.432 9.906C10.519 9.843 10.58 9.76 10.614 9.658L11.057 8.329C11.089 8.233 11.145 8.156 11.227 8.098C11.308 8.039 11.399 8.01 11.5 8.01C11.601 8.01 11.692 8.039 11.773 8.098C11.855 8.156 11.911 8.233 11.943 8.329L12.386 9.658C12.42 9.76 12.481 9.843 12.568 9.906C12.655 9.969 12.753 10 12.86 10L14.793 10C14.895 10 14.988 10.028 15.071 10.084Z"/></svg>
// Gentleface "book-star" (line-round), MIT. https://gentleface.com/icons/book-star
import type { SVGProps } from 'react';
export function BookStarIcon(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 12L7.5 12C7.532 12 7.563 12.003 7.593 12.008L7.992 12.407C7.997 12.437 8 12.468 8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.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.293ZM15.071 10.084C15.155 10.139 15.216 10.214 15.255 10.309C15.294 10.403 15.304 10.499 15.284 10.598C15.265 10.696 15.219 10.781 15.146 10.854L13.719 12.281C13.652 12.348 13.607 12.428 13.585 12.52C13.564 12.612 13.568 12.703 13.598 12.793L14.049 14.147C14.082 14.247 14.084 14.346 14.053 14.446C14.023 14.545 13.965 14.626 13.882 14.69C13.798 14.754 13.704 14.788 13.6 14.791C13.497 14.795 13.401 14.767 13.313 14.709L11.777 13.685C11.693 13.629 11.601 13.601 11.5 13.601C11.399 13.601 11.307 13.629 11.223 13.685L9.687 14.709C9.599 14.767 9.503 14.795 9.4 14.791C9.296 14.788 9.202 14.754 9.118 14.69C9.035 14.626 8.977 14.545 8.947 14.446C8.916 14.346 8.918 14.247 8.951 14.147L9.402 12.793C9.432 12.703 9.436 12.612 9.415 12.52C9.393 12.428 9.348 12.348 9.281 12.281L7.854 10.854C7.781 10.781 7.735 10.696 7.716 10.598C7.696 10.499 7.706 10.403 7.745 10.309C7.784 10.214 7.845 10.139 7.929 10.084C8.012 10.028 8.105 10 8.207 10L10.14 10C10.247 10 10.345 9.969 10.432 9.906C10.519 9.843 10.58 9.76 10.614 9.658L11.057 8.329C11.089 8.233 11.145 8.156 11.227 8.098C11.308 8.039 11.399 8.01 11.5 8.01C11.601 8.01 11.692 8.039 11.773 8.098C11.855 8.156 11.911 8.233 11.943 8.329L12.386 9.658C12.42 9.76 12.481 9.843 12.568 9.906C12.655 9.969 12.753 10 12.86 10L14.793 10C14.895 10 14.988 10.028 15.071 10.084Z" />
</svg>
);
}Vue: see /icons/book-star.md
Svelte: see /icons/book-star.md
HTML img: see /icons/book-star.md
CSS: see /icons/book-star.md
Data URL: see /icons/book-star.md
Sprite: see /icons/book-star.md
SwiftUI: see /icons/book-star.md
Compose: see /icons/book-star.md
Android XML: see /icons/book-star.md
Flutter: see /icons/book-star.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 { BookStarIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- favorite book, featured book
- Example
- Favourite books shelf in a reading app
- Built from
book+ star- Tags
- book, closed-book, ebook, read, publication, novel, guide, manual, star
- Category
- Files & folders
- Component name
BookStarIcon- History
- added, released in 0.4.0
- Since
- version 0.4.0
Family 24
More files & folders icons
archive archive-arrow-up archive-clock archive-lock archive-off archive-search archive-x contract contract-alert contract-check contract-clock contract-lock contract-pencil contract-plus contract-sparkle contract-user · all files & folders icons
For agents
Metadata: /icons/book-star.json · Markdown: /icons/book-star.md · SVG: https://gentleface.com/svg/{style}/16/book-star.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/book-star.png