class CustomAccordion extends HTMLElement { constructor() { super(); this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = `
What components are available?

We offer a wide range of components including cards, navigation bars, forms, accordions, testimonials, and more. Each component is fully responsive and customizable.

How do I use these components?

Simply include the component script in your HTML file and use the custom element tag. All components are documented with usage examples.

Are these components free to use?

Yes! All components are MIT licensed and free to use in both personal and commercial projects. Attribution is appreciated but not required.

`; this.shadowRoot.querySelectorAll('.accordion-header').forEach(header => { header.addEventListener('click', () => { const item = header.parentElement; item.classList.toggle('active'); }); }); } } customElements.define('custom-accordion', CustomAccordion);