An upcoming holidays web part for SharePoint

A small list of the next public holidays is a nice touch on an intranet, and it earns its place when your teams are in different countries. Here is a web part for it.

Upcoming holidays web part showing public holidays with dates and region tags on SharePoint
The next public holidays, with a region tag.

It reads a SharePoint list. The holiday name is the Title, the date is a date column named HolidayDate, and an optional text column named Region shows a small tag like US or IN or Global. Only holidays from today onward are shown. The Provision-IntranetLists.ps1 script creates the Holidays list.

Upcoming Holidays property pane showing the Holidays list and how many to show
Point it at the Holidays list and set how many to show.

In the property pane you point it at the list and set how many holidays to show. The region tag helps people see which holidays apply to them.

The Upcoming Holidays web part is part of my open source SPFx Intranet Suite, a set of web parts for a modern SharePoint intranet. Install the package once and it shows up in the toolbox under Intranet Suite.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.