Description
The Web Components polyfills are a suite of JavaScript libraries that implement Web Components APIs in browsers that do not have built-in support. They cover the features you need if you use Custom Elements, Shadow DOM or the template element, whether directly or through a library such as Lit. The project's README has sections on getting started, usage, the packages in the suite, and the roadmap, with the core package named webcomponentsjs. The listing focuses on the HTML Custom Elements polyfill. The source is on GitHub at webcomponents/polyfills.…
Highlights
- Polyfills for Web Components in older browsers
- Custom Elements polyfill
- Shadow DOM and template support
- Usage guide and package list
- Roadmap in the README
Ratings & Reviews
No ratings yet
Be the first to rate @webcomponents/custom-elements.
People also visit

custom-element-vs-code-integration
Tools for integrating web components/custom elements into VS Code
@webcomponents/custom-elements FAQ
What are these polyfills for?
Adding Web Components APIs to browsers that do not support them natively.
Which APIs are covered?
Custom Elements, Shadow DOM and the template element.
Do I need them if I use Lit?
The README says the polyfills matter when you use these APIs, directly or through a library such as Lit.
What is in the package suite?
The README lists the packages, including webcomponentsjs.
Where is the source?
On GitHub at webcomponents/polyfills.
What are the best @webcomponents/custom-elements alternatives?
Popular alternatives to @webcomponents/custom-elements include @webcomponents/custom-elements, @webcomponents/template and @webcomponents/shadydom. See all @webcomponents/custom-elements alternatives









