class CustomHeader extends HTMLElement { connectedCallback() { this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = `
`; // Initialize Feather icons import('https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js').then(() => { feather.replace(); }); } } customElements.define('custom-header', CustomHeader);