This place is a good start to experiment the Lego Webcomponents Library.
Lego is a minimalistic web-component library to write HTML/CSS/JS that is modern, native and future-proof.
Lego is simple to install:
npm install @polight/lego
or
yarn add @polight/lego
npx lego
or
yarn lego
Will transpile HTML components from bricks/ to JS components to dist/.
You should run your favorite local static server to view this demo site.
For example if Python3 is install on your computer you may run python3 -m http.server
and open your browser at http://localhost:8000.
Of course you may use any other static page server like http-server.