Frontend
What is Web Components?
A set of web standards for creating reusable, encapsulated custom HTML elements.
Definition
Web Components are a set of browser-native APIs that let you create custom, reusable HTML elements with encapsulated functionality. The three main technologies are: Custom Elements (defining new HTML tags), Shadow DOM (encapsulated DOM and styling), and HTML Templates (reusable markup). Web Components work in any framework or with vanilla JS. Libraries like Lit simplify Web Component development.