The Heroicons calendar icon visually represents a date or a schedule, commonly used in user interfaces to indicate actions related to date selection, event viewing, or appointment setting.
Common uses
- Date picker input
- Event listing
- Calendar view toggle
Use it in React
Install
npm i @heroicons/reactImport & render
import { CalendarIcon } from '@heroicons/react/24/outline';
<CalendarIcon className="size-6" />Styles
Heroicons ships this icon in 4 styles — each its own import:
24/outline
<CalendarIcon className="size-6" />24/solid
<CalendarIcon className="size-6" />20/solid
<CalendarIcon className="size-6" />16/solid
<CalendarIcon className="size-6" />Details
- Library
- Heroicons (324 icons)
- License
- MIT
- viewBox
0 0 24 24- Keywords
- calendardatescheduleeventplanner
FAQ
- What is the calendar icon used for?
- It's used to represent dates, schedules, or events within an application's interface.
- How do I use the calendar icon in React?
- Import it using `import { CalendarIcon } from '@heroicons/react/24/outline'` and then render it as a component: `<CalendarIcon className="h-6 w-6" />`.
- What is the license for the Heroicons calendar icon?
- The Heroicons library, including the calendar icon, is available under the MIT license.
Related icons
The same idea in other libraries, and near matches in Heroicons.
Looking for something else? Search Heroicons and 4 more libraries by description →
The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →