files/en-us/web/api/customelementregistry/index.md
{{APIRef("Web Components")}}
The CustomElementRegistry interface provides methods for registering custom elements and querying registered elements. To get an instance of it, use the {{domxref("window.customElements")}} property. To create a scoped registry, use the {{domxref("CustomElementRegistry.CustomElementRegistry()", "CustomElementRegistry()")}} constructor.
CustomElementRegistry object, for scoped usage.null if the custom element is not defined.See the Examples section in our guide to using custom elements.
{{Specifications}}
{{Compat}}