Skip to content
Cuelark UI

Hover the icon or press Play. Suggested motion: spin. Pick another to preview it and update the animated code:

VS Code Icons · VscCalendar

Calendar icon

A free calendar icon from VS Code Icons, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.

License
CC BY 4.0 license
Project
github.com
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/vscode-codicons/calendar.json
components/icons/vscode-codicons-calendar.tsx
import * as React from "react";

/**
 * Calendar from VS Code Icons (https://github.com/microsoft/vscode-codicons), CC BY 4.0.
 * Via Cuelark UI: ui.cuelark.com/icons/vscode-codicons/calendar. Sized in em, colored by currentColor.
 */
export function VscCalendarIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      viewBox="0 0 16 16"
      stroke="currentColor"
      fill="currentColor"
      strokeWidth="0"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M12 1H4C2.343 1 1 2.343 1 4V12C1 13.657 2.343 15 4 15H12C13.657 15 15 13.657 15 12V4C15 2.343 13.657 1 12 1ZM14 12C14 13.105 13.105 14 12 14H4C2.895 14 2 13.105 2 12V5H14V12ZM2 4C2 2.895 2.895 2 4 2H12C13.105 2 14 2.895 14 4H2ZM4 11C4 10.448 4.448 10 5 10C5.552 10 6 10.448 6 11C6 11.552 5.552 12 5 12C4.448 12 4 11.552 4 11ZM7 11C7 10.448 7.448 10 8 10C8.552 10 9 10.448 9 11C9 11.552 8.552 12 8 12C7.448 12 7 11.552 7 11ZM4 8C4 7.448 4.448 7 5 7C5.552 7 6 7.448 6 8C6 8.552 5.552 9 5 9C4.448 9 4 8.552 4 8ZM7 8C7 7.448 7.448 7 8 7C8.552 7 9 7.448 9 8C9 8.552 8.552 9 8 9C7.448 9 7 8.552 7 8ZM10 8C10 7.448 10.448 7 11 7C11.552 7 12 7.448 12 8C12 8.552 11.552 9 11 9C10.448 9 10 8.552 10 8Z"
      />
    </svg>
  );
}
With react-icons
import { VscCalendar } from "react-icons/vsc";

export function Example() {
  return <VscCalendar className="size-5" />;
}
calendar.svg
<svg
  viewBox="0 0 16 16"
  stroke="currentColor"
  fill="currentColor"
  stroke-width="0"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <path
    d="M12 1H4C2.343 1 1 2.343 1 4V12C1 13.657 2.343 15 4 15H12C13.657 15 15 13.657 15 12V4C15 2.343 13.657 1 12 1ZM14 12C14 13.105 13.105 14 12 14H4C2.895 14 2 13.105 2 12V5H14V12ZM2 4C2 2.895 2.895 2 4 2H12C13.105 2 14 2.895 14 4H2ZM4 11C4 10.448 4.448 10 5 10C5.552 10 6 10.448 6 11C6 11.552 5.552 12 5 12C4.448 12 4 11.552 4 11ZM7 11C7 10.448 7.448 10 8 10C8.552 10 9 10.448 9 11C9 11.552 8.552 12 8 12C7.448 12 7 11.552 7 11ZM4 8C4 7.448 4.448 7 5 7C5.552 7 6 7.448 6 8C6 8.552 5.552 9 5 9C4.448 9 4 8.552 4 8ZM7 8C7 7.448 7.448 7 8 7C8.552 7 9 7.448 9 8C9 8.552 8.552 9 8 9C7.448 9 7 8.552 7 8ZM10 8C10 7.448 10.448 7 11 7C11.552 7 12 7.448 12 8C12 8.552 11.552 9 11 9C10.448 9 10 8.552 10 8Z"
  />
</svg>
Attribution
"Calendar" icon from VS Code Icons (https://github.com/microsoft/vscode-codicons), licensed under CC BY 4.0 license.

Related icons: date, schedule, event, planner

Calendar icon in other sets