I do think that using either web components or Lit offers a nice layer of encapsulation and reuse as well as some convenience.
There are a lot of options nowadays.