Web platform features explorer

Shadow parts

The part and exportparts HTML attributes expose elements of a shadow DOM as named parts, which can be selected by the ::part() CSS pseudo-element for styling.

Status

Baseline Widely Available (since 2023-01-28)

Browser support

  • Chrome 73 Released on 2019-03-12
  • Chrome Android 73 Released on 2019-03-12
  • Edge 79 Released on 2020-01-15
  • Firefox 72 Released on 2020-01-07
  • Firefox for Android 79 Released on 2020-07-28
  • Safari 13.1 Released on 2020-03-24
  • Safari on iOS 13.4 Released on 2020-03-24