Shadow Parts
CSS Shadow Parts allow web components authors to provide public styling API.
::part and ::theme, an ::explainer
Style encapsulation is great for reusable components, but it adds a barrier for styling and theming them deliberately.
::part()
The ::part pseudo-element represents any element within a shadow tree that has a matching part attribute.
CSS Parts Inspired by BEM
A familiar and intuitive approach to shadow parts naming inspired by BEM.
CSS Shadow Parts
Shadow parts are extremely useful in customizing Ionic Framework Shadow DOM components.
CSS Shadow Parts are coming!
Shadow parts provide API for styling individual elements in Shadow DOM from outside.
Styling in the Shadow DOM With CSS Shadow Parts
Exposing parts of a web component provides flexibility in how it can be used.
Valid Names for CSS Parts
What characters can be used in a part name? Dive into the spec to find out.
When To Create CSS Parts
Every part you expose is an API that you're committing to supporting, so it should be intentional.