calendar 2 icon
calendar-2 from TDesign Icons by TDesign · Outline · MIT Free for personal and commercial use.
- Name
- calendar-2
- Set
- TDesign Icons
- Style
- Outline
- Viewbox
- 24×24
- License
- MIT
1 other variant in TDesign Icons
The same icon in other sets
Related icons in TDesign Icons
Use the calendar 2 icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path d="M3 21h18V10H3zm18-11V5H3v5z"/><path stroke="currentColor" stroke-linecap="square" stroke-width="2" d="M21 10V5H3v5m18 0H3m18 0v11H3V10m4-5V2m10 3V2"/><path stroke="currentColor" stroke-linecap="square" stroke-width="2" d="m15.5 13.25l-4.243 4.243l-2.121-2.122"/></g></svg>
React
import type { SVGProps } from "react";
export function TdesignCalendar2(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="M3 21h18V10H3zm18-11V5H3v5z"/><path stroke="currentColor" strokeLinecap="square" strokeWidth="2" d="M21 10V5H3v5m18 0H3m18 0v11H3V10m4-5V2m10 3V2"/><path stroke="currentColor" strokeLinecap="square" strokeWidth="2" d="m15.5 13.25l-4.243 4.243l-2.121-2.122"/></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="M3 21h18V10H3zm18-11V5H3v5z"/><path stroke="currentColor" stroke-linecap="square" stroke-width="2" d="M21 10V5H3v5m18 0H3m18 0v11H3V10m4-5V2m10 3V2"/><path stroke="currentColor" stroke-linecap="square" stroke-width="2" d="m15.5 13.25l-4.243 4.243l-2.121-2.122"/></g></svg> </template>
CSS
.icon-calendar-2 {
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%22M3%2021h18V10H3zm18-11V5H3v5z%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22square%22%20stroke-width%3D%222%22%20d%3D%22M21%2010V5H3v5m18%200H3m18%200v11H3V10m4-5V2m10%203V2%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22square%22%20stroke-width%3D%222%22%20d%3D%22m15.5%2013.25l-4.243%204.243l-2.121-2.122%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%22M3%2021h18V10H3zm18-11V5H3v5z%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22square%22%20stroke-width%3D%222%22%20d%3D%22M21%2010V5H3v5m18%200H3m18%200v11H3V10m4-5V2m10%203V2%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22square%22%20stroke-width%3D%222%22%20d%3D%22m15.5%2013.25l-4.243%204.243l-2.121-2.122%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/calendar-2.svg?color=%231a73e8&size=48