checkbox fill icon

checkbox-fill-24 from Octicons by GitHub · 24 · MIT Free for personal and commercial use.

Name
checkbox-fill-24
Set
Octicons
Style
24
Viewbox
24×24
License
MIT

1 other variant in Octicons

Use the checkbox fill icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M20.25 2c.966 0 1.75.783 1.75 1.75v16.5A1.75 1.75 0 0 1 20.25 22H3.75A1.75 1.75 0 0 1 2 20.25V3.75C2 2.783 2.783 2 3.75 2Zm-2.97 6.22a.75.75 0 0 0-1.06 0l-5.97 5.969l-2.47-2.469a.749.749 0 1 0-1.06 1.06l3 3a.75.75 0 0 0 1.06 0l6.5-6.5a.75.75 0 0 0 0-1.06"/></svg>

React

import type { SVGProps } from "react";

export function OcticonCheckboxFill24(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M20.25 2c.966 0 1.75.783 1.75 1.75v16.5A1.75 1.75 0 0 1 20.25 22H3.75A1.75 1.75 0 0 1 2 20.25V3.75C2 2.783 2.783 2 3.75 2Zm-2.97 6.22a.75.75 0 0 0-1.06 0l-5.97 5.969l-2.47-2.469a.749.749 0 1 0-1.06 1.06l3 3a.75.75 0 0 0 1.06 0l6.5-6.5a.75.75 0 0 0 0-1.06"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M20.25 2c.966 0 1.75.783 1.75 1.75v16.5A1.75 1.75 0 0 1 20.25 22H3.75A1.75 1.75 0 0 1 2 20.25V3.75C2 2.783 2.783 2 3.75 2Zm-2.97 6.22a.75.75 0 0 0-1.06 0l-5.97 5.969l-2.47-2.469a.749.749 0 1 0-1.06 1.06l3 3a.75.75 0 0 0 1.06 0l6.5-6.5a.75.75 0 0 0 0-1.06"/></svg>
</template>

CSS

.icon-checkbox-fill-24 {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M20.25%202c.966%200%201.75.783%201.75%201.75v16.5A1.75%201.75%200%200%201%2020.25%2022H3.75A1.75%201.75%200%200%201%202%2020.25V3.75C2%202.783%202.783%202%203.75%202Zm-2.97%206.22a.75.75%200%200%200-1.06%200l-5.97%205.969l-2.47-2.469a.749.749%200%201%200-1.06%201.06l3%203a.75.75%200%200%200%201.06%200l6.5-6.5a.75.75%200%200%200%200-1.06%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M20.25%202c.966%200%201.75.783%201.75%201.75v16.5A1.75%201.75%200%200%201%2020.25%2022H3.75A1.75%201.75%200%200%201%202%2020.25V3.75C2%202.783%202.783%202%203.75%202Zm-2.97%206.22a.75.75%200%200%200-1.06%200l-5.97%205.969l-2.47-2.469a.749.749%200%201%200-1.06%201.06l3%203a.75.75%200%200%200%201.06%200l6.5-6.5a.75.75%200%200%200%200-1.06%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/octicon/checkbox-fill-24.svg?color=%231a73e8&size=48