The Holy Grail Of Reusable Components: Custom Elements, Shadow DOM, And NPM

Oliver Williams / filed under Accessibility, HTML & CSS, Javascript

This article looks at augmenting HTML with components that have built-in functionality and styles. We’ll also learn how to make these custom elements reusable across projects using NPM.

Join thousands of product people and get the latest articles and resources from my curation every day or week.