Gentleface › Design › mask
mask icon
maskMask: layer mask, clipping mask, clip path, masking. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
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 2ZM8 5C7.619 5 7.25 5.07 6.896 5.211C6.511 5.363 6.172 5.586 5.879 5.879C5.586 6.172 5.363 6.511 5.211 6.896C5.07 7.25 5 7.619 5 8C5 8.381 5.07 8.75 5.211 9.104C5.363 9.489 5.586 9.828 5.879 10.121C6.172 10.414 6.511 10.637 6.896 10.789C7.25 10.93 7.619 11 8 11C8.381 11 8.75 10.93 9.104 10.789C9.489 10.637 9.828 10.414 10.121 10.121C10.414 9.828 10.637 9.489 10.789 9.104C10.93 8.75 11 8.381 11 8C11 7.619 10.93 7.25 10.789 6.896C10.637 6.511 10.414 6.172 10.121 5.879C9.828 5.586 9.489 5.363 9.104 5.211C8.75 5.07 8.381 5 8 5Z"/></svg>
// Gentleface "mask" (line-round), MIT. https://gentleface.com/icons/mask
import type { SVGProps } from 'react';
export function MaskIcon(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 2ZM8 5C7.619 5 7.25 5.07 6.896 5.211C6.511 5.363 6.172 5.586 5.879 5.879C5.586 6.172 5.363 6.511 5.211 6.896C5.07 7.25 5 7.619 5 8C5 8.381 5.07 8.75 5.211 9.104C5.363 9.489 5.586 9.828 5.879 10.121C6.172 10.414 6.511 10.637 6.896 10.789C7.25 10.93 7.619 11 8 11C8.381 11 8.75 10.93 9.104 10.789C9.489 10.637 9.828 10.414 10.121 10.121C10.414 9.828 10.637 9.489 10.789 9.104C10.93 8.75 11 8.381 11 8C11 7.619 10.93 7.25 10.789 6.896C10.637 6.511 10.414 6.172 10.121 5.879C9.828 5.586 9.489 5.363 9.104 5.211C8.75 5.07 8.381 5 8 5Z" />
</svg>
);
}Vue: see /icons/mask.md
Svelte: see /icons/mask.md
HTML img: see /icons/mask.md
CSS: see /icons/mask.md
Data URL: see /icons/mask.md
Sprite: see /icons/mask.md
SwiftUI: see /icons/mask.md
Compose: see /icons/mask.md
Android XML: see /icons/mask.md
Flutter: see /icons/mask.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
More design icons
align-objects-bottom align-objects-bottom-three align-objects-left align-objects-left-three align-objects-right align-objects-right-three align-objects-top align-objects-top-three angle animation animation-off bezier-curve boolean-exclude boolean-intersect boolean-union bounding-box · all design icons
For agents
Metadata: /icons/mask.json · Markdown: /icons/mask.md · SVG: https://gentleface.com/svg/{style}/16/mask.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/mask.png