gentleface

Gentleface › Layout & interface › sidebar

sidebar icon

Sidebar: sidebar, side panel, toggle sidebar, left sidebar. 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="M13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L12 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 12C14 12.254 13.953 12.5 13.86 12.736ZM3.293 12.707C3.488 12.902 3.724 13 4 13L6 13L6 3L4 3C3.724 3 3.488 3.098 3.293 3.293C3.098 3.488 3 3.724 3 4L3 12C3 12.276 3.098 12.512 3.293 12.707ZM12 13C12.276 13 12.512 12.902 12.707 12.707C12.902 12.512 13 12.276 13 12L13 4C13 3.724 12.902 3.488 12.707 3.293C12.512 3.098 12.276 3 12 3L7 3L7 13L12 13Z"/></svg>
React
// Gentleface "sidebar" (line-round), MIT. https://gentleface.com/icons/sidebar
import type { SVGProps } from 'react';

export function SidebarIcon(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="M13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L12 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 12C14 12.254 13.953 12.5 13.86 12.736ZM3.293 12.707C3.488 12.902 3.724 13 4 13L6 13L6 3L4 3C3.724 3 3.488 3.098 3.293 3.293C3.098 3.488 3 3.724 3 4L3 12C3 12.276 3.098 12.512 3.293 12.707ZM12 13C12.276 13 12.512 12.902 12.707 12.707C12.902 12.512 13 12.276 13 12L13 4C13 3.724 12.902 3.488 12.707 3.293C12.512 3.098 12.276 3 12 3L7 3L7 13L12 13Z" />
    </svg>
  );
}
Vue
Vue: see /icons/sidebar.md
Svelte
Svelte: see /icons/sidebar.md
HTML img
HTML img: see /icons/sidebar.md
CSS
CSS: see /icons/sidebar.md
Data URL
Data URL: see /icons/sidebar.md
Sprite
Sprite: see /icons/sidebar.md
SwiftUI
SwiftUI: see /icons/sidebar.md
Compose
Compose: see /icons/sidebar.md
Android XML
Android XML: see /icons/sidebar.md
Flutter
Flutter: see /icons/sidebar.md

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. 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.

Meaning

Use it for
sidebar, side panel, toggle sidebar, left sidebar, left panel
Alternatives
  • sidebar-collapse: a button that only hides the sidebar (collapse-sidebar)
  • sidebar-right: a panel on the right, e.g. an inspector (right-sidebar)
  • menu: the hamburger navigation menu on narrow screens (menu)
Also fits
  • columns: one side panel next to the content (sidebar)
  • menu: a persistent side navigation (sidebar)
  • bottom panel: a panel along the side (sidebar)
  • drawer: a navigation drawer that slides in from the side (Material navigation drawer)
  • right sidebar: a left sidebar (sidebar)
Tags
sidebar, panel, layout, window, pane
Category
Layout & interface
Component name
SidebarIcon
History
  • added

Family 32

More layout & interface icons

For agents

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

Feedback