calendar icon
calendar from Codicons by Microsoft Corporation · Regular · CC-BY-4.0 Attribution required.
- Name
- calendar
- Set
- Codicons
- Style
- Regular
- Viewbox
- 16×16
- License
- CC BY 4.0
The same icon in other sets
calendarAkar Iconscalendar-filledAnt Design IconscalendarBootstrap IconscalendarBoxIcons v2calendarBoxIcons v2 SolidcalendarCarboncalendarEmoji One (Colored)calendarElement Pluscalendar-fillEva IconscalendarFramework7 IconscalendarFont Awesome 6 RegularcalendarFont Awesome 6 SolidcalendarFont Awesome RegularcalendarFont Awesome SolidcalendarFeather Iconscalendar-12-filledFluent UI System Iconscalendar-16Fluent UI System Color IconscalendarFluent EmojicalendarFluent Emoji FlatcalendarFluent Emoji High ContrastcalendarFirefox OS Emojicalendarcss.ggcalendarHealth IconscalendarHeroIcons
Use the calendar icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M12 1H4a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3m2 11a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5h12zM2 4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2zm2 7a1 1 0 1 1 2 0a1 1 0 0 1-2 0m3 0a1 1 0 1 1 2 0a1 1 0 0 1-2 0M4 8a1 1 0 1 1 2 0a1 1 0 0 1-2 0m3 0a1 1 0 1 1 2 0a1 1 0 0 1-2 0m3 0a1 1 0 1 1 2 0a1 1 0 0 1-2 0"/></svg>
React
import type { SVGProps } from "react";
export function CodiconCalendar(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M12 1H4a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3m2 11a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5h12zM2 4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2zm2 7a1 1 0 1 1 2 0a1 1 0 0 1-2 0m3 0a1 1 0 1 1 2 0a1 1 0 0 1-2 0M4 8a1 1 0 1 1 2 0a1 1 0 0 1-2 0m3 0a1 1 0 1 1 2 0a1 1 0 0 1-2 0m3 0a1 1 0 1 1 2 0a1 1 0 0 1-2 0"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M12 1H4a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3m2 11a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5h12zM2 4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2zm2 7a1 1 0 1 1 2 0a1 1 0 0 1-2 0m3 0a1 1 0 1 1 2 0a1 1 0 0 1-2 0M4 8a1 1 0 1 1 2 0a1 1 0 0 1-2 0m3 0a1 1 0 1 1 2 0a1 1 0 0 1-2 0m3 0a1 1 0 1 1 2 0a1 1 0 0 1-2 0"/></svg> </template>
CSS
.icon-calendar {
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%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M12%201H4a3%203%200%200%200-3%203v8a3%203%200%200%200%203%203h8a3%203%200%200%200%203-3V4a3%203%200%200%200-3-3m2%2011a2%202%200%200%201-2%202H4a2%202%200%200%201-2-2V5h12zM2%204a2%202%200%200%201%202-2h8a2%202%200%200%201%202%202zm2%207a1%201%200%201%201%202%200a1%201%200%200%201-2%200m3%200a1%201%200%201%201%202%200a1%201%200%200%201-2%200M4%208a1%201%200%201%201%202%200a1%201%200%200%201-2%200m3%200a1%201%200%201%201%202%200a1%201%200%200%201-2%200m3%200a1%201%200%201%201%202%200a1%201%200%200%201-2%200%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%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M12%201H4a3%203%200%200%200-3%203v8a3%203%200%200%200%203%203h8a3%203%200%200%200%203-3V4a3%203%200%200%200-3-3m2%2011a2%202%200%200%201-2%202H4a2%202%200%200%201-2-2V5h12zM2%204a2%202%200%200%201%202-2h8a2%202%200%200%201%202%202zm2%207a1%201%200%201%201%202%200a1%201%200%200%201-2%200m3%200a1%201%200%201%201%202%200a1%201%200%200%201-2%200M4%208a1%201%200%201%201%202%200a1%201%200%200%201-2%200m3%200a1%201%200%201%201%202%200a1%201%200%200%201-2%200m3%200a1%201%200%201%201%202%200a1%201%200%200%201-2%200%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/codicon/calendar.svg?color=%231a73e8&size=48