Web Components

{{Short description|Software}}

{{distinguish|HTML Components}}

{{multiple issues|

{{original research|date=June 2021}}

{{notability|date=June 2021}}

}}

Web Components are a set of features that provide a standard component model for the web{{Citation|title=GitHub - w3c/webcomponents: Web Components specifications.|date=2019-01-03|url=https://github.com/w3c/webcomponents|publisher=World Wide Web Consortium|access-date=2019-01-03}} allowing for encapsulation and interoperability of individual HTML elements. Web Components are a popular approach when building microfrontends.

Primary technologies used to create Web Components include:{{Cite web|url=https://developer.mozilla.org/en-US/docs/Web/Web_Components|title=Web Components|website=MDN Web Docs|access-date=2019-01-03}}

; Custom Elements

: APIs to define new HTML elements

; Shadow DOM

: encapsulated DOM and styling, with composition

; HTML Templates

: HTML fragments that are not rendered, but stored until instantiated via JavaScript{{cite web |url=https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template |title=