Polaris Unified Admin Action extension in vanilla-js flavor

We’re migrating from admin links to the admin action extension and would like to use the new Polaris web components in our implementation. However, when I try to scaffold an extension with the vanilla JS flavor, it seems to only supports the preact version.

Does anyone know how to scaffold a vanilla JS or Typescript version of these extensions, or if there’s a timeline for when one will be available?

We do not recommend writing “vanilla” UI Extensions in the new Polaris Unified / Remote-DOM environment.

If you really want to write the DOM code you can just use the Preact template and remove the JSX and import it generates, there is nothing else Preact specific in there. But for the cost of Preact, we determined most extensions are actually both smaller and better authored when using JSX and Preact than writing the UI from scratch. It’s also nearly impossible to get LLMs to write good DOM code without a framework - they will produce code that looks okay at first glance but is riddled with performance and security flaws.