draft icon
draft from TDesign Icons by TDesign · Outline · MIT Free for personal and commercial use.
- Name
- draft
- Set
- TDesign Icons
- Style
- Outline
- Viewbox
- 24×24
- License
- MIT
1 other variant in TDesign Icons
The same icon in other sets
Use the draft icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path d="M12 17a4 4 0 0 0 3.874-3H22v7H2v-7h6.126c.444 1.725 2.01 3 3.874 3"/><path d="M12 17a4 4 0 0 0 3.874-3H20V3H4v11h4.126c.444 1.725 2.01 3 3.874 3"/><path stroke="currentColor" stroke-linecap="square" stroke-width="2" d="M4 14V3h16v11m-4.126 0a4.002 4.002 0 0 1-7.748 0H2v7h20v-7zM8 7h8m-8 4h4"/></g></svg>
React
import type { SVGProps } from "react";
export function TdesignDraft(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path d="M12 17a4 4 0 0 0 3.874-3H22v7H2v-7h6.126c.444 1.725 2.01 3 3.874 3"/><path d="M12 17a4 4 0 0 0 3.874-3H20V3H4v11h4.126c.444 1.725 2.01 3 3.874 3"/><path stroke="currentColor" strokeLinecap="square" strokeWidth="2" d="M4 14V3h16v11m-4.126 0a4.002 4.002 0 0 1-7.748 0H2v7h20v-7zM8 7h8m-8 4h4"/></g></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path d="M12 17a4 4 0 0 0 3.874-3H22v7H2v-7h6.126c.444 1.725 2.01 3 3.874 3"/><path d="M12 17a4 4 0 0 0 3.874-3H20V3H4v11h4.126c.444 1.725 2.01 3 3.874 3"/><path stroke="currentColor" stroke-linecap="square" stroke-width="2" d="M4 14V3h16v11m-4.126 0a4.002 4.002 0 0 1-7.748 0H2v7h20v-7zM8 7h8m-8 4h4"/></g></svg> </template>
CSS
.icon-draft {
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%3Cg%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%2017a4%204%200%200%200%203.874-3H22v7H2v-7h6.126c.444%201.725%202.01%203%203.874%203%22%2F%3E%3Cpath%20d%3D%22M12%2017a4%204%200%200%200%203.874-3H20V3H4v11h4.126c.444%201.725%202.01%203%203.874%203%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22square%22%20stroke-width%3D%222%22%20d%3D%22M4%2014V3h16v11m-4.126%200a4.002%204.002%200%200%201-7.748%200H2v7h20v-7zM8%207h8m-8%204h4%22%2F%3E%3C%2Fg%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%3Cg%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%2017a4%204%200%200%200%203.874-3H22v7H2v-7h6.126c.444%201.725%202.01%203%203.874%203%22%2F%3E%3Cpath%20d%3D%22M12%2017a4%204%200%200%200%203.874-3H20V3H4v11h4.126c.444%201.725%202.01%203%203.874%203%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22square%22%20stroke-width%3D%222%22%20d%3D%22M4%2014V3h16v11m-4.126%200a4.002%204.002%200%200%201-7.748%200H2v7h20v-7zM8%207h8m-8%204h4%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/tdesign/draft.svg?color=%231a73e8&size=48