boolean on icon

boolean-on-24 from Octicons by GitHub · 24 · MIT Free for personal and commercial use.

Name
boolean-on-24
Set
Octicons
Style
24
Viewbox
24×24
License
MIT

1 other variant in Octicons

Related icons in Octicons

Use the boolean on icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M2 3.75C2 2.784 2.784 2 3.75 2h16.5c.966 0 1.75.784 1.75 1.75v16.5c0 .464-.184.909-.513 1.237A1.75 1.75 0 0 1 20.25 22H3.75c-.464 0-.909-.184-1.237-.513A1.75 1.75 0 0 1 2 20.25zm1.75-.25a.25.25 0 0 0-.25.25v16.5c0 .138.112.25.25.25h16.5a.25.25 0 0 0 .25-.25V3.75a.25.25 0 0 0-.25-.25z"/><path fill="currentColor" d="M12.75 8.75a.75.75 0 0 0-1.5 0v6.5a.75.75 0 0 0 1.5 0z"/></svg>

React

import type { SVGProps } from "react";

export function OcticonBooleanOn24(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="M2 3.75C2 2.784 2.784 2 3.75 2h16.5c.966 0 1.75.784 1.75 1.75v16.5c0 .464-.184.909-.513 1.237A1.75 1.75 0 0 1 20.25 22H3.75c-.464 0-.909-.184-1.237-.513A1.75 1.75 0 0 1 2 20.25zm1.75-.25a.25.25 0 0 0-.25.25v16.5c0 .138.112.25.25.25h16.5a.25.25 0 0 0 .25-.25V3.75a.25.25 0 0 0-.25-.25z"/><path fill="currentColor" d="M12.75 8.75a.75.75 0 0 0-1.5 0v6.5a.75.75 0 0 0 1.5 0z"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M2 3.75C2 2.784 2.784 2 3.75 2h16.5c.966 0 1.75.784 1.75 1.75v16.5c0 .464-.184.909-.513 1.237A1.75 1.75 0 0 1 20.25 22H3.75c-.464 0-.909-.184-1.237-.513A1.75 1.75 0 0 1 2 20.25zm1.75-.25a.25.25 0 0 0-.25.25v16.5c0 .138.112.25.25.25h16.5a.25.25 0 0 0 .25-.25V3.75a.25.25 0 0 0-.25-.25z"/><path fill="currentColor" d="M12.75 8.75a.75.75 0 0 0-1.5 0v6.5a.75.75 0 0 0 1.5 0z"/></svg>
</template>

CSS

.icon-boolean-on-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%22M2%203.75C2%202.784%202.784%202%203.75%202h16.5c.966%200%201.75.784%201.75%201.75v16.5c0%20.464-.184.909-.513%201.237A1.75%201.75%200%200%201%2020.25%2022H3.75c-.464%200-.909-.184-1.237-.513A1.75%201.75%200%200%201%202%2020.25zm1.75-.25a.25.25%200%200%200-.25.25v16.5c0%20.138.112.25.25.25h16.5a.25.25%200%200%200%20.25-.25V3.75a.25.25%200%200%200-.25-.25z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M12.75%208.75a.75.75%200%200%200-1.5%200v6.5a.75.75%200%200%200%201.5%200z%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%22M2%203.75C2%202.784%202.784%202%203.75%202h16.5c.966%200%201.75.784%201.75%201.75v16.5c0%20.464-.184.909-.513%201.237A1.75%201.75%200%200%201%2020.25%2022H3.75c-.464%200-.909-.184-1.237-.513A1.75%201.75%200%200%201%202%2020.25zm1.75-.25a.25.25%200%200%200-.25.25v16.5c0%20.138.112.25.25.25h16.5a.25.25%200%200%200%20.25-.25V3.75a.25.25%200%200%200-.25-.25z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M12.75%208.75a.75.75%200%200%200-1.5%200v6.5a.75.75%200%200%200%201.5%200z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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