task from BoxIcons v2 by Boxicons · Regular · MIT Free for personal and commercial use.

Name
task
Set
BoxIcons v2
Style
Regular
Viewbox
24×24
License
MIT
Aliases
bx-task

The same icon in other sets

Related icons in BoxIcons v2

Use the task icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M5 22h14c1.103 0 2-.897 2-2V5c0-1.103-.897-2-2-2h-2a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1H5c-1.103 0-2 .897-2 2v15c0 1.103.897 2 2 2M5 5h2v2h10V5h2v15H5z"/><path fill="currentColor" d="m11 13.586l-1.793-1.793l-1.414 1.414L11 16.414l5.207-5.207l-1.414-1.414z"/></svg>

React

import type { SVGProps } from "react";

export function BxTask(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="M5 22h14c1.103 0 2-.897 2-2V5c0-1.103-.897-2-2-2h-2a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1H5c-1.103 0-2 .897-2 2v15c0 1.103.897 2 2 2M5 5h2v2h10V5h2v15H5z"/><path fill="currentColor" d="m11 13.586l-1.793-1.793l-1.414 1.414L11 16.414l5.207-5.207l-1.414-1.414z"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M5 22h14c1.103 0 2-.897 2-2V5c0-1.103-.897-2-2-2h-2a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1H5c-1.103 0-2 .897-2 2v15c0 1.103.897 2 2 2M5 5h2v2h10V5h2v15H5z"/><path fill="currentColor" d="m11 13.586l-1.793-1.793l-1.414 1.414L11 16.414l5.207-5.207l-1.414-1.414z"/></svg>
</template>

CSS

.icon-task {
  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%22M5%2022h14c1.103%200%202-.897%202-2V5c0-1.103-.897-2-2-2h-2a1%201%200%200%200-1-1H8a1%201%200%200%200-1%201H5c-1.103%200-2%20.897-2%202v15c0%201.103.897%202%202%202M5%205h2v2h10V5h2v15H5z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22m11%2013.586l-1.793-1.793l-1.414%201.414L11%2016.414l5.207-5.207l-1.414-1.414z%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%22M5%2022h14c1.103%200%202-.897%202-2V5c0-1.103-.897-2-2-2h-2a1%201%200%200%200-1-1H8a1%201%200%200%200-1%201H5c-1.103%200-2%20.897-2%202v15c0%201.103.897%202%202%202M5%205h2v2h10V5h2v15H5z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22m11%2013.586l-1.793-1.793l-1.414%201.414L11%2016.414l5.207-5.207l-1.414-1.414z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/bx/task.svg?color=%231a73e8&size=48