Web Components
Software / From Wikipedia, the free encyclopedia
Not to be confused with HTML Components.
Web Components are a set of features that provide a standard component model for the web[1] allowing for encapsulation and interoperability of individual HTML elements. Web Components are a popular approach when building microfrontends.
![]() | This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
|
Primary technologies used to create Web Components include:[2]
- 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[3]