gentleface

Gentleface › Layout & interface › toolbar

toolbar icon

Toolbar: toolbar, tool bar, action bar. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed. Part of the free toolbar icon set.

Animated toolbar-collapse · line-round

The pointer tool is pressed and the bar closes up over its other tool, which shrinks away, leaving a stub with one tool. The press comes again, the bar runs back out past its length, and the frame tool pops open in 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.25 s to 2.5 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="M15 10C15 10.254 14.953 10.5 14.86 10.736C14.758 10.993 14.609 11.219 14.414 11.414C14.219 11.609 13.993 11.758 13.736 11.86C13.5 11.953 13.254 12 13 12L3 12C2.746 12 2.5 11.953 2.264 11.86C2.007 11.758 1.781 11.609 1.586 11.414C1.391 11.219 1.242 10.993 1.14 10.736C1.047 10.5 1 10.254 1 10L1 6C1 5.746 1.047 5.5 1.14 5.264C1.242 5.007 1.391 4.781 1.586 4.586C1.781 4.391 2.007 4.242 2.264 4.14C2.5 4.047 2.746 4 3 4L13 4C13.254 4 13.5 4.047 13.736 4.14C13.993 4.242 14.219 4.391 14.414 4.586C14.609 4.781 14.758 5.007 14.86 5.264C14.953 5.5 15 5.746 15 6L15 10ZM7 8L3 5L3 10L4.5 8.5L5.5 10.5L6.5 10.5L5.5 8L7 8ZM9 6L9 10L13 10L13 6L9 6Z"/></svg>
React
// Gentleface "toolbar" (line-round), MIT. https://gentleface.com/icons/toolbar
import type { SVGProps } from 'react';

export function ToolbarIcon(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="M15 10C15 10.254 14.953 10.5 14.86 10.736C14.758 10.993 14.609 11.219 14.414 11.414C14.219 11.609 13.993 11.758 13.736 11.86C13.5 11.953 13.254 12 13 12L3 12C2.746 12 2.5 11.953 2.264 11.86C2.007 11.758 1.781 11.609 1.586 11.414C1.391 11.219 1.242 10.993 1.14 10.736C1.047 10.5 1 10.254 1 10L1 6C1 5.746 1.047 5.5 1.14 5.264C1.242 5.007 1.391 4.781 1.586 4.586C1.781 4.391 2.007 4.242 2.264 4.14C2.5 4.047 2.746 4 3 4L13 4C13.254 4 13.5 4.047 13.736 4.14C13.993 4.242 14.219 4.391 14.414 4.586C14.609 4.781 14.758 5.007 14.86 5.264C14.953 5.5 15 5.746 15 6L15 10ZM7 8L3 5L3 10L4.5 8.5L5.5 10.5L6.5 10.5L5.5 8L7 8ZM9 6L9 10L13 10L13 6L9 6Z" />
    </svg>
  );
}
Vue
Vue: see /icons/toolbar.md
Svelte
Svelte: see /icons/toolbar.md
HTML img
HTML img: see /icons/toolbar.md
CSS
CSS: see /icons/toolbar.md
Data URL
Data URL: see /icons/toolbar.md
Sprite
Sprite: see /icons/toolbar.md
SwiftUI
SwiftUI: see /icons/toolbar.md
Compose
Compose: see /icons/toolbar.md
Android XML
Android XML: see /icons/toolbar.md
Flutter
Flutter: see /icons/toolbar.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 { ToolbarIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
toolbar, tool bar, action bar
Tags
toolbar, tool bar, action bar, button bar, floating toolbar, tools, tool palette, controls, ribbon, editor
Category
Layout & interface
Component name
ToolbarIcon
History
  • added
  • released in 0.2.0
  • 20 px drawn, 24 px drawn
Since
version 0.2.0

More layout & interface icons

For agents

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