Calendar icon
prime:calendar
The Calendar icon (prime:calendar) is a free SVG icon from the Prime Icons set by PrimeTek. It is drawn on a 24 × 24 grid. Prime Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Prime Icons
- Author
- PrimeTek
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M9 2.25a.75.75 0 0 1 .75.75v1.25h4.5V3a.75.75 0 0 1 1.5 0v1.25H17A2.75 2.75 0 0 1 19.75 7v11A2.75 2.75 0 0 1 17 20.75H7A2.75 2.75 0 0 1 4.25 18V7A2.75 2.75 0 0 1 7 4.25h1.25V3A.75.75 0 0 1 9 2.25m5.25 3.5V7a.75.75 0 0 0 1.5 0V5.75H17c.69 0 1.25.56 1.25 1.25v2.75H5.75V7c0-.69.56-1.25 1.25-1.25h1.25V7a.75.75 0 0 0 1.5 0V5.75zm-8.5 5.5V18c0 .69.56 1.25 1.25 1.25h10c.69 0 1.25-.56 1.25-1.25v-6.75z" clip-rule="evenodd"/></svg>How to use the Calendar icon
React
import { Icon } from "@iconify/react";
<Icon icon="prime:calendar" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="prime:calendar" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="prime:calendar" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[prime--calendar]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/prime -->
<div class="i-prime:calendar"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="prime:calendar"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/prime/calendar.svg" alt="Calendar icon" width="24" height="24">Related icons in Prime Icons
Calendar icon in other icon sets
Calendar icon FAQ
Is the Calendar icon free for commercial use?
Yes. Prime Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Calendar icon in React?
Install @iconify/react and render <Icon icon="prime:calendar" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Calendar icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/prime/calendar.svg" alt="Calendar icon">, or paste the SVG code inline to style it with CSS.