Gentleface › Layout & interface › sidebar-collapse
sidebar-collapse icon
sidebar-collapseSidebar collapse: collapse sidebar, hide sidebar, close sidebar. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
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="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 13ZM10.854 9.146C10.953 9.246 11.003 9.364 11.003 9.5C11.003 9.636 10.953 9.754 10.854 9.854C10.754 9.953 10.636 10.003 10.5 10.003C10.364 10.003 10.246 9.953 10.146 9.854L8.146 7.854C8.047 7.754 7.997 7.636 7.997 7.5C7.997 7.364 8.047 7.246 8.146 7.146L10.146 5.146C10.246 5.047 10.364 4.997 10.5 4.997C10.636 4.997 10.754 5.047 10.854 5.146C10.951 5.244 11 5.362 11 5.5C11 5.638 10.951 5.756 10.854 5.854L9.207 7.5L10.854 9.146Z"/></svg>
// Gentleface "sidebar-collapse" (line-round), MIT. https://gentleface.com/icons/sidebar-collapse
import type { SVGProps } from 'react';
export function SidebarCollapseIcon(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 13ZM10.854 9.146C10.953 9.246 11.003 9.364 11.003 9.5C11.003 9.636 10.953 9.754 10.854 9.854C10.754 9.953 10.636 10.003 10.5 10.003C10.364 10.003 10.246 9.953 10.146 9.854L8.146 7.854C8.047 7.754 7.997 7.636 7.997 7.5C7.997 7.364 8.047 7.246 8.146 7.146L10.146 5.146C10.246 5.047 10.364 4.997 10.5 4.997C10.636 4.997 10.754 5.047 10.854 5.146C10.951 5.244 11 5.362 11 5.5C11 5.638 10.951 5.756 10.854 5.854L9.207 7.5L10.854 9.146Z" />
</svg>
);
}Vue: see /icons/sidebar-collapse.md
Svelte: see /icons/sidebar-collapse.md
HTML img: see /icons/sidebar-collapse.md
CSS: see /icons/sidebar-collapse.md
Data URL: see /icons/sidebar-collapse.md
Sprite: see /icons/sidebar-collapse.md
SwiftUI: see /icons/sidebar-collapse.md
Compose: see /icons/sidebar-collapse.md
Android XML: see /icons/sidebar-collapse.md
Flutter: see /icons/sidebar-collapse.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
- collapse sidebar, hide sidebar, close sidebar
- Also fits
- sidebar: a button that only hides the sidebar (collapse-sidebar)
- Tags
- sidebar, collapse, hide, close, panel, layout, toggle-sidebar
- Category
- Layout & interface
- Component name
SidebarCollapseIcon- History
- added
Family 32
More layout & interface icons
apps checkbox checkbox-indeterminate checkbox-off cursor cursor-text cursor-user drag-drop grid grip-horizontal grip-vertical hand hand-grab hand-off hand-pointer input-search · all layout & interface icons
For agents
Metadata: /icons/sidebar-collapse.json · Markdown: /icons/sidebar-collapse.md · SVG: https://gentleface.com/svg/{style}/16/sidebar-collapse.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/sidebar-collapse.png