edit doc

buttonIcons

Icons that will be displayed in buttons of the headerToolbar/footerToolbar.

Object, default:

{
  prev: 'chevron-left',
  next: 'chevron-right',
  prevYear: 'chevrons-left', // double chevron
  nextYear: 'chevrons-right' // double chevron
}

A hash must be supplied that maps button names (from the headerToolbar) to icon strings. These icon string are transformed into classNames which are styled by FullCalendar’s CSS. The values supplied depend on the themeSystem:

  • when themeSystem is 'standard', the following icons are available:
    • 'chevron-left'
    • 'chevron-right'
    • 'chevrons-left' (double chevron)
    • 'chevrons-right' (double chevron)
  • when themeSystem is 'bootstrap5', use the icon names you see on the Bootstrap Icons directory, for example:
    • 'arrow-left-square-fill'
    • 'arrow-right-square-fill'
  • when themeSystem is 'bootstrap' (Bootstrap 4), do not use this setting. Use bootstrapFontAwesome instead.

If a button does not have an entry, it falls back to using buttonText.

If you would prefer not to display any icons and would rather use buttonText instead, you can set the buttonIcons option to false.