HTML Web Components
Quite an oldy (from 2023), but it describes an approach that is accompanied with an example in another article with an example on HTML web components. I believe this is the right approach for implementing web components. I should give up on my idea that XSLT will ever lead to XSLT components :)