How to use the Calendar icon
import { CalendarIcon } from "@/assets/icons/calendarIcon"
export default function Example() {
return <CalendarIcon width="32px" height="32px" />
}General icon
Copy the Calendar icon as an optimized JSX SVG component for React, Next.js, dashboards, landing pages and Tailwind interfaces.
Copy-ready code
export const CalendarIcon = ({ width = "40px", height = "40px", color = "#000", ...props }) => (
<svg {...props} width={width} height={height} viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2 12C2 8.22876 2 6.34315 3.17157 5.17157C4.34315 4 6.22876 4 10 4H14C17.7712 4 19.6569 4 20.8284 5.17157C22 6.34315 22 8.22876 22 12V14C22 17.7712 22 19.6569 20.8284 20.8284C19.6569 22 17.7712 22 14 22H10C6.22876 22 4.34315 22 3.17157 20.8284C2 19.6569 2 17.7712 2 14V12Z" stroke={color} strokeWidth="1.5" />
<path d="M7 4V2.5" stroke={color} strokeWidth="1.5" strokeLinecap="round" />
<path d="M17 4V2.5" stroke={color} strokeWidth="1.5" strokeLinecap="round" />
<path d="M2.5 9H21.5" stroke={color} strokeWidth="1.5" strokeLinecap="round" />
</svg>
);
import { CalendarIcon } from "@/assets/icons/calendarIcon"
export default function Example() {
return <CalendarIcon width="32px" height="32px" />
}Built for the web
This copy-ready component works in React and Next.js projects, and the SVG can be adapted for any interface.
Looking for a similar mark? Browse the related icons below or explore the full general collection.
Yes. You can copy the JSX component and use it in React and Next.js projects.
Yes. Edit the SVG attributes or pass className, width, height and color props depending on the component.