There are ways to load them dynamically as needed while hinting to the browser to prefetch and cache for performance gains. Basically a combination of promise-based import() and <script type="importmap"></script>
I’ll see about creating a PoC soon.
Anything ARIA-related is a prime candidate. Liveview has an implementation of this for wrapping tab focus on things like dropdown menus






















