Gentleface › Layout & interface › checkbox-indeterminate
checkbox-indeterminate icon
checkbox-indeterminateCheckbox indeterminate: indeterminate, partially selected, partial selection, mixed state. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated checkbox-indeterminate-resolve · line-round
The filled box is clicked and the dash bends down at its middle into a tick, as the mixed state resolves to all selected. A second click straightens the tick back into the dash, which overshoots its length and settles.
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.4 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 2ZM5.5 7C5.224 7 5 7.224 5 7.5C5 7.776 5.224 8 5.5 8L10.5 8C10.776 8 11 7.776 11 7.5C11 7.224 10.776 7 10.5 7L5.5 7Z"/></svg>
// Gentleface "checkbox-indeterminate" (line-round), MIT. https://gentleface.com/icons/checkbox-indeterminate
import type { SVGProps } from 'react';
export function CheckboxIndeterminateIcon(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 2ZM5.5 7C5.224 7 5 7.224 5 7.5C5 7.776 5.224 8 5.5 8L10.5 8C10.776 8 11 7.776 11 7.5C11 7.224 10.776 7 10.5 7L5.5 7Z" />
</svg>
);
}Vue: see /icons/checkbox-indeterminate.md
Svelte: see /icons/checkbox-indeterminate.md
HTML img: see /icons/checkbox-indeterminate.md
CSS: see /icons/checkbox-indeterminate.md
Data URL: see /icons/checkbox-indeterminate.md
Sprite: see /icons/checkbox-indeterminate.md
SwiftUI: see /icons/checkbox-indeterminate.md
Compose: see /icons/checkbox-indeterminate.md
Android XML: see /icons/checkbox-indeterminate.md
Flutter: see /icons/checkbox-indeterminate.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 { CheckboxIndeterminateIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- indeterminate, partially selected, partial selection, mixed state
- Don’t confuse with
minus: minus means subtract; the indeterminate dash sits inside the box
- Also fits
- checkbox: a partly selected group (mixed state)
- Tags
- checkbox, indeterminate, partial, partially-selected, mixed, some-selected, select-all, form, multi-select
- Category
- Layout & interface
- Component name
CheckboxIndeterminateIcon- History
- added
- released in 0.1.0
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
Family 7
More layout & interface icons
accordion app apps apps-alert apps-check apps-clock apps-gear apps-link apps-off apps-pencil apps-plus apps-search apps-shield apps-sparkle apps-x breadcrumb · all layout & interface icons
For agents
Metadata: /icons/checkbox-indeterminate.json · Markdown: /icons/checkbox-indeterminate.md · SVG: https://gentleface.com/svg/{style}/16/checkbox-indeterminate.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/checkbox-indeterminate.png