gentleface

Gentleface › Layout & interface › checkbox

checkbox icon

Checkbox: checkbox, checked, multi select, check box. 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="M12 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.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 2ZM6.5 9.793L4.854 8.146C4.658 7.951 4.342 7.951 4.146 8.146C3.951 8.342 3.951 8.658 4.146 8.854L5.793 10.5C5.988 10.695 6.224 10.793 6.5 10.793C6.776 10.793 7.012 10.695 7.207 10.5L11.854 5.854C11.947 5.76 12 5.633 12 5.5C12 5.367 11.947 5.24 11.854 5.146C11.658 4.951 11.342 4.951 11.146 5.146L6.5 9.793Z"/></svg>
React
// Gentleface "checkbox" (line-round), MIT. https://gentleface.com/icons/checkbox
import type { SVGProps } from 'react';

export function CheckboxIcon(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="M12 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.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 2ZM6.5 9.793L4.854 8.146C4.658 7.951 4.342 7.951 4.146 8.146C3.951 8.342 3.951 8.658 4.146 8.854L5.793 10.5C5.988 10.695 6.224 10.793 6.5 10.793C6.776 10.793 7.012 10.695 7.207 10.5L11.854 5.854C11.947 5.76 12 5.633 12 5.5C12 5.367 11.947 5.24 11.854 5.146C11.658 4.951 11.342 4.951 11.146 5.146L6.5 9.793Z" />
    </svg>
  );
}
Vue
Vue: see /icons/checkbox.md
Svelte
Svelte: see /icons/checkbox.md
HTML img
HTML img: see /icons/checkbox.md
CSS
CSS: see /icons/checkbox.md
Data URL
Data URL: see /icons/checkbox.md
Sprite
Sprite: see /icons/checkbox.md
SwiftUI
SwiftUI: see /icons/checkbox.md
Compose
Compose: see /icons/checkbox.md
Android XML
Android XML: see /icons/checkbox.md
Flutter
Flutter: see /icons/checkbox.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
checkbox, checked, multi select, check box, tickbox
Alternatives
Don’t confuse with
  • check: check means done or approved, never selected
Also fits
  • selected: a checkbox the user toggles in a list or form
  • select all: the select-all checkbox in a table header
  • radio button: pick several options (multi-select)
  • toggle: a check box in a form (checkbox)
  • square: a ticked box in a form (checkbox)
  • checklist: a single check box in a form (checkbox)
Tags
checkbox, checked, check, tick, selected, option, form, multi-select, todo
Category
Layout & interface
Component name
CheckboxIcon
History
  • added

Family 2

More layout & interface icons

For agents

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

Feedback