gentleface

Gentleface › Travel › backpack

backpack icon

Backpack: backpack, school bag, rucksack, knapsack. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated backpack-lift · line-round

The top handle pulls taut, then the bag lifts off and swings from the hand as it is carried a step to the side and back. It is set down again and the handle flops onto it.

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.2 s to 2.75 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="M5.293 1.293C5.488 1.098 5.724 1 6 1L9 1C9.276 1 9.512 1.098 9.707 1.293C9.902 1.488 10 1.724 10 2L10 3.757C10.243 3.92 10.471 4.107 10.682 4.318C11.121 4.757 11.455 5.266 11.684 5.844C11.833 6.219 11.929 6.605 11.973 7L13.5 7C13.641 7 13.759 7.048 13.856 7.144C13.952 7.241 14 7.359 14 7.5L14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13L12 13C12 13.254 11.953 13.5 11.86 13.736C11.758 13.993 11.609 14.219 11.414 14.414C11.219 14.609 10.993 14.758 10.736 14.86C10.5 14.953 10.254 15 10 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 7.5C1 7.359 1.048 7.241 1.144 7.144C1.241 7.048 1.359 7 1.5 7L3.027 7C3.071 6.605 3.167 6.219 3.316 5.844C3.545 5.266 3.879 4.757 4.318 4.318C4.529 4.107 4.757 3.92 5 3.757L5 2C5 1.724 5.098 1.488 5.293 1.293ZM6 2L6 3.257C6.484 3.086 6.984 3 7.5 3C8.016 3 8.516 3.086 9 3.257L9 2L6 2ZM5.586 9.586C5.781 9.391 6.007 9.242 6.264 9.14C6.5 9.047 6.746 9 7 9L8 9C8.254 9 8.5 9.047 8.736 9.14C8.993 9.242 9.219 9.391 9.414 9.586C9.609 9.781 9.758 10.007 9.86 10.264C9.953 10.5 10 10.746 10 11L10 14C10.276 14 10.512 13.902 10.707 13.707C10.902 13.512 11 13.276 11 13L11 7.5C11 7.055 10.918 6.625 10.754 6.212C10.576 5.762 10.317 5.367 9.975 5.025C9.633 4.683 9.238 4.424 8.788 4.246C8.375 4.082 7.945 4 7.5 4C7.055 4 6.625 4.082 6.212 4.246C5.762 4.424 5.367 4.683 5.025 5.025C4.683 5.367 4.424 5.762 4.246 6.212C4.082 6.625 4 7.055 4 7.5L4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L5 11C5 10.746 5.047 10.5 5.14 10.264C5.242 10.007 5.391 9.781 5.586 9.586ZM2 12L3 12L3 8L2 8L2 12ZM12 8L12 12L13 12L13 8L12 8ZM8 10L7 10C6.724 10 6.488 10.098 6.293 10.293C6.098 10.488 6 10.724 6 11L9 11C9 10.724 8.902 10.488 8.707 10.293C8.512 10.098 8.276 10 8 10ZM9 14L9 12L6 12L6 14L9 14Z"/></svg>
React
// Gentleface "backpack" (line-round), MIT. https://gentleface.com/icons/backpack
import type { SVGProps } from 'react';

export function BackpackIcon(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="M5.293 1.293C5.488 1.098 5.724 1 6 1L9 1C9.276 1 9.512 1.098 9.707 1.293C9.902 1.488 10 1.724 10 2L10 3.757C10.243 3.92 10.471 4.107 10.682 4.318C11.121 4.757 11.455 5.266 11.684 5.844C11.833 6.219 11.929 6.605 11.973 7L13.5 7C13.641 7 13.759 7.048 13.856 7.144C13.952 7.241 14 7.359 14 7.5L14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13L12 13C12 13.254 11.953 13.5 11.86 13.736C11.758 13.993 11.609 14.219 11.414 14.414C11.219 14.609 10.993 14.758 10.736 14.86C10.5 14.953 10.254 15 10 15L5 15C4.746 15 4.5 14.953 4.264 14.86C4.007 14.758 3.781 14.609 3.586 14.414C3.391 14.219 3.242 13.993 3.14 13.736C3.047 13.5 3 13.254 3 13L1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 7.5C1 7.359 1.048 7.241 1.144 7.144C1.241 7.048 1.359 7 1.5 7L3.027 7C3.071 6.605 3.167 6.219 3.316 5.844C3.545 5.266 3.879 4.757 4.318 4.318C4.529 4.107 4.757 3.92 5 3.757L5 2C5 1.724 5.098 1.488 5.293 1.293ZM6 2L6 3.257C6.484 3.086 6.984 3 7.5 3C8.016 3 8.516 3.086 9 3.257L9 2L6 2ZM5.586 9.586C5.781 9.391 6.007 9.242 6.264 9.14C6.5 9.047 6.746 9 7 9L8 9C8.254 9 8.5 9.047 8.736 9.14C8.993 9.242 9.219 9.391 9.414 9.586C9.609 9.781 9.758 10.007 9.86 10.264C9.953 10.5 10 10.746 10 11L10 14C10.276 14 10.512 13.902 10.707 13.707C10.902 13.512 11 13.276 11 13L11 7.5C11 7.055 10.918 6.625 10.754 6.212C10.576 5.762 10.317 5.367 9.975 5.025C9.633 4.683 9.238 4.424 8.788 4.246C8.375 4.082 7.945 4 7.5 4C7.055 4 6.625 4.082 6.212 4.246C5.762 4.424 5.367 4.683 5.025 5.025C4.683 5.367 4.424 5.762 4.246 6.212C4.082 6.625 4 7.055 4 7.5L4 13C4 13.276 4.098 13.512 4.293 13.707C4.488 13.902 4.724 14 5 14L5 11C5 10.746 5.047 10.5 5.14 10.264C5.242 10.007 5.391 9.781 5.586 9.586ZM2 12L3 12L3 8L2 8L2 12ZM12 8L12 12L13 12L13 8L12 8ZM8 10L7 10C6.724 10 6.488 10.098 6.293 10.293C6.098 10.488 6 10.724 6 11L9 11C9 10.724 8.902 10.488 8.707 10.293C8.512 10.098 8.276 10 8 10ZM9 14L9 12L6 12L6 14L9 14Z" />
    </svg>
  );
}
Vue
Vue: see /icons/backpack.md
Svelte
Svelte: see /icons/backpack.md
HTML img
HTML img: see /icons/backpack.md
CSS
CSS: see /icons/backpack.md
Data URL
Data URL: see /icons/backpack.md
Sprite
Sprite: see /icons/backpack.md
SwiftUI
SwiftUI: see /icons/backpack.md
Compose
Compose: see /icons/backpack.md
Android XML
Android XML: see /icons/backpack.md
Flutter
Flutter: see /icons/backpack.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 { BackpackIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
backpack, school bag, rucksack, knapsack, personal item, back to school, game inventory, player inventory
Alternatives
Don’t confuse with
Also fits
  • luggage: a backpack or carry-on
Tags
backpack, rucksack, knapsack, school-bag, bag, hiking, travel, school
Category
Travel
Component name
BackpackIcon
History
  • added
  • released in 0.1.0
  • 20 px drawn, 24 px drawn
Since
version 0.1.0

Family 1

More travel icons

For agents

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