GitHub

Shift Calendar

Weekly shift scheduling grid with time slots, color-coded shift blocks, navigation, filtering, and a legend bar.

Weekly View with Shifts

Preview
Feb 3 - 9, 2026 ERPlora HQ
Mon 3
Tue 4
Wed 5
Thu 6
Fri 7
Sat 8
Sun 9
06:00
A. Martinez
06:00 - 14:00
Engineering
C. Ruiz
06:00 - 14:00
Design
L. Garcia
06:00 - 14:00
Sales
08:00
P. Lopez
08:00 - 20:00
HR
M. Fernandez
08:00 - 16:00
Finance
10:00
14:00
J. Sanchez
14:00 - 22:00
Marketing
A. Martinez
14:00 - 22:00
Engineering
22:00
R. Torres
22:00 - 06:00
Operations
Morning
Afternoon
Night

Compact Variant

Preview
Feb 3 - 9, 2026
Mon 3
Tue 4
Wed 5
Thu 6
Fri 7
Sat 8
Sun 9
06:00
A. Martinez
06:00 - 14:00
C. Ruiz
06:00 - 14:00
14:00
J. Sanchez
14:00 - 22:00
L. Garcia
14:00 - 22:00
22:00
R. Torres
22:00 - 06:00

Glass Variant

Preview
Feb 3 - 9, 2026
Mon 3
Tue 4
Wed 5
Thu 6
Fri 7
Sat 8
Sun 9
06:00
A. Martinez
06:00 - 14:00
C. Ruiz
08:00 - 16:00
14:00
R. Torres
14:00 - 22:00
Morning
Afternoon
Night

Classes Reference

Class Description
.shift-calendarBase container with border and overflow hidden
.shift-calendar-compactCompact variant (smaller rows, hidden department)
.shift-calendar.glassGlass morphism variant
.shift-calendar-headerTop header with nav, title, and filters
.shift-calendar-header-startLeft section of header
.shift-calendar-header-centerCenter section of header
.shift-calendar-header-endRight section of header
.shift-calendar-titleWeek range title text
.shift-calendar-subtitleSubtitle below title
.shift-calendar-navNavigation button group
.shift-calendar-nav-btnPrevious/next navigation button
.shift-calendar-today-btn"Today" button
.shift-calendar-filterFilter container
.shift-calendar-filter-btnFilter dropdown trigger button
.shift-calendar-filter-badgeActive filter count badge
.shift-calendar-grid-wrapperScrollable wrapper for the grid
.shift-calendar-gridCSS grid (time col + 7 day cols)
.shift-calendar-cornerTop-left empty corner cell
.shift-calendar-day-headerDay column header (name + number)
.shift-calendar-day-header-todayToday highlight on day header
.shift-calendar-day-header-weekendWeekend shaded header
.shift-calendar-day-nameDay abbreviation (MON, TUE, etc.)
.shift-calendar-day-numberDay of month number
.shift-calendar-time-slotTime label in left column
.shift-calendar-cellIndividual grid cell
.shift-calendar-cell-weekendWeekend cell shading
.shift-calendar-shiftPositioned shift block
.shift-calendar-shift-morningMorning shift (amber gradient)
.shift-calendar-shift-afternoonAfternoon shift (blue gradient)
.shift-calendar-shift-nightNight shift (indigo gradient)
.shift-calendar-shift-full-dayFull day shift (green gradient)
.shift-calendar-shift-overtimeOvertime shift (orange gradient)
.shift-calendar-shift-offDay off (gray gradient)
.shift-calendar-shift-nameEmployee name inside shift
.shift-calendar-shift-timeTime range inside shift
.shift-calendar-shift-departmentDepartment label inside shift
.shift-calendar-legendBottom legend bar
.shift-calendar-legend-itemLegend item (color + label)
.shift-calendar-legend-colorLegend color swatch