Gentleface › Layout & interface › checkbox
checkbox icon
checkboxCheckbox: checkbox, checked, multi select, check box. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed. Part of the free toolbar icon set.
Animated checkbox-write · line-round
The tick wipes out of the filled box, which presses in as if clicked. As the box springs back the tick writes itself again, short arm first.
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.2 s to 1.6 s. Examples and helper.
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="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>
// 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: see /icons/checkbox.md
Svelte: see /icons/checkbox.md
HTML img: see /icons/checkbox.md
CSS: see /icons/checkbox.md
Data URL: see /icons/checkbox.md
Sprite: see /icons/checkbox.md
SwiftUI: see /icons/checkbox.md
Compose: see /icons/checkbox.md
Android XML: see /icons/checkbox.md
Flutter: see /icons/checkbox.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 { CheckboxIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- checkbox, checked, multi select, check box, tickbox, task
- Alternatives
checkbox-off: the empty, unchecked boxcheckbox-indeterminate: a partly selected group (mixed state)radio-button: pick exactly one option (single-select)checklist: a list of items with check marks (checklist)
- 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
- released in 0.1.0
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
Family 2
More layout & interface icons
accordion app apps apps-alert apps-check apps-clock apps-gear apps-link apps-pencil apps-plus apps-search apps-sparkle apps-x breadcrumb breadcrumb-chevrons browser · all 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