Summary
Web Components are a set of web platform APIs that allow you to create new custom, reusable, encapsulated HTML tags to use in web pages and web apps. If you are familiar with building components in libraries like React or Angular, Web Components should feel similar. Thanks to them, developers are no longer limited to the existing HTML tags that the browser vendors provide.
Here is an exemple using Open Street Map and Leaflet.js. DevTool console commands are available in the 'readme' from the Github repository.