Skip to content
On this page

Named Parts

A lot of web components will offer pre-defined themes via props.

css
custom-alert::part(button) {
  color: red;
}
custom-alert::part(button) {
  color: red;
}

Demo

Resources

Licenced MIT