About this sample
This is a sample of customizing the group header when grouping by a Status column. This format displays a different color and icon according to the Status.
Products & metadata
SharePointMicrosoft ListsViewSharePoint OnlineIcons, Grouped@group.countgroupProps, headerFormatterms-fontWeight-bold, sp-css-backgroundColor-BgCoral, sp-css-backgroundColor-BgGold, sp-css-backgroundColor-BgMintGreen, sp-css-backgroundColor-BgCornflowerBlue, sp-field-borderAllRegular, sp-field-borderAllSolidView Formatting