gentleface

Gentleface › Layout & interface › button

button icon

Button: button element, insert button, button, button component. 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="M14.414 10.414C14.219 10.609 13.993 10.758 13.736 10.86C13.5 10.953 13.254 11 13 11L3 11C2.746 11 2.5 10.953 2.264 10.86C2.007 10.758 1.781 10.609 1.586 10.414C1.391 10.219 1.242 9.993 1.14 9.736C1.047 9.5 1 9.254 1 9L1 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 9C15 9.254 14.953 9.5 14.86 9.736C14.758 9.993 14.609 10.219 14.414 10.414ZM2.293 9.707C2.488 9.902 2.724 10 3 10L13 10C13.276 10 13.512 9.902 13.707 9.707C13.902 9.512 14 9.276 14 9L14 6C14 5.724 13.902 5.488 13.707 5.293C13.512 5.098 13.276 5 13 5L3 5C2.724 5 2.488 5.098 2.293 5.293C2.098 5.488 2 5.724 2 6L2 9C2 9.276 2.098 9.512 2.293 9.707ZM5.144 7.856C5.048 7.759 5 7.641 5 7.5C5 7.359 5.048 7.241 5.144 7.144C5.241 7.048 5.359 7 5.5 7L10.5 7C10.641 7 10.759 7.048 10.856 7.144C10.952 7.241 11 7.359 11 7.5C11 7.641 10.952 7.759 10.856 7.856C10.759 7.952 10.641 8 10.5 8L5.5 8C5.359 8 5.241 7.952 5.144 7.856Z"/></svg>
React
// Gentleface "button" (line-round), MIT. https://gentleface.com/icons/button
import type { SVGProps } from 'react';

export function ButtonIcon(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="M14.414 10.414C14.219 10.609 13.993 10.758 13.736 10.86C13.5 10.953 13.254 11 13 11L3 11C2.746 11 2.5 10.953 2.264 10.86C2.007 10.758 1.781 10.609 1.586 10.414C1.391 10.219 1.242 9.993 1.14 9.736C1.047 9.5 1 9.254 1 9L1 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 9C15 9.254 14.953 9.5 14.86 9.736C14.758 9.993 14.609 10.219 14.414 10.414ZM2.293 9.707C2.488 9.902 2.724 10 3 10L13 10C13.276 10 13.512 9.902 13.707 9.707C13.902 9.512 14 9.276 14 9L14 6C14 5.724 13.902 5.488 13.707 5.293C13.512 5.098 13.276 5 13 5L3 5C2.724 5 2.488 5.098 2.293 5.293C2.098 5.488 2 5.724 2 6L2 9C2 9.276 2.098 9.512 2.293 9.707ZM5.144 7.856C5.048 7.759 5 7.641 5 7.5C5 7.359 5.048 7.241 5.144 7.144C5.241 7.048 5.359 7 5.5 7L10.5 7C10.641 7 10.759 7.048 10.856 7.144C10.952 7.241 11 7.359 11 7.5C11 7.641 10.952 7.759 10.856 7.856C10.759 7.952 10.641 8 10.5 8L5.5 8C5.359 8 5.241 7.952 5.144 7.856Z" />
    </svg>
  );
}
Vue
Vue: see /icons/button.md
Svelte
Svelte: see /icons/button.md
HTML img
HTML img: see /icons/button.md
CSS
CSS: see /icons/button.md
Data URL
Data URL: see /icons/button.md
Sprite
Sprite: see /icons/button.md
SwiftUI
SwiftUI: see /icons/button.md
Compose
Compose: see /icons/button.md
Android XML
Android XML: see /icons/button.md
Flutter
Flutter: see /icons/button.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
button element, insert button, button, button component
Alternatives
Tags
button, ui, component, form control, cta, call to action, submit, action button, control, wireframe, form
Category
Layout & interface
Component name
ButtonIcon
History
  • added

Family 58

More layout & interface icons

For agents

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

Feedback