See all services → Shopify Plus Partner
Polaris Developer

Plan Your Shopify App Migration to Polaris 2.0

Polaris Web Components 2.0 is now on the stable CDN channel and matches the redesigned Shopify admin. Nothing updates automatically, so embedded apps need a deliberate script change and a visual audit.

Executive summary

What changed

Two CDN URLs now serve Polaris 2.0: polaris-2.js, which follows later 2.x releases, and polaris-2.0.js, which pins to this line. The older entry points are unchanged: polaris.js and polaris-1.js keep serving Polaris 1.1, and polaris.js will not move to 2.x, so an app left alone stays where it is.

Polaris 2.0 carries both the current and updated admin appearance and selects between them at runtime, following a signal the admin sends through App Bridge. There is no API to call. Polaris 1 does not contain the updated styling at all, so an app on Polaris 1 renders the old look regardless of the admin around it.

One adoption detail catches teams out: apps scaffolded from the React Router template set the version through polarisUrl in both AppProvider and the server configuration, and the two values must match or the browser preloads one bundle while the app uses another.

Why it matters

For a Plus merchant the apps in question are usually custom ones: the returns console, the ERP exception queue, the merchandising tool the team uses daily. When the admin around them changes and they do not, the seam is visible to the people who use them most, and visual drift reliably generates support questions that have nothing to do with behaviour.

The constraint worth planning around is that Polaris 2.0 only governs what Polaris renders. Anything still built on @shopify/polaris React components keeps the current appearance until it is migrated, and custom CSS or hand rolled layout is yours to audit. A team that flips the URL and ships without that audit usually finds the mismatch in production. If your app surface has grown organically, review how your custom apps are structured rather than patching styling in place.

Role-specific impact

Use-case example

Real-world scenario

A Plus merchant runs three custom embedded apps built over four years by two partners. The newest is fully on web components and moves to Polaris 2.0 in an afternoon: one URL change, a dev store preview, a short QA pass. The oldest still renders Polaris React components across about 40 percent of its screens, so flipping its script URL would leave those screens on the old appearance while the rest updates. Migrating those components first turns a one line change into roughly three weeks of planned work, better discovered in planning than in a support ticket.

Implementation checklist

  1. Inventory every embedded app, note how each loads Polaris today, and record who maintains it.
  2. For each app, measure how much of the UI still renders Polaris React components.
  3. Choose a channel per app: polaris-2.js to follow 2.x, or polaris-2.0.js to pin.
  4. For React Router template apps, set polarisUrl in AppProvider and in the server configuration to the same value, and confirm @shopify/shopify-app-react-router is at 2.1.0 or later.
  5. Install @shopify/polaris-types version 2 in TypeScript projects.
  6. Install the app on a dev store and compare it against both the current and the updated admin.
  7. Audit custom CSS, hand rolled layouts, and any third party UI library for visual drift.

FAQ

Q: Will our app break if we do nothing?

A: No. polaris.js and polaris-1.js keep serving Polaris 1.1 and polaris.js will not move to 2.x. The cost of inaction is visual inconsistency inside the new admin, not breakage.

Q: Should we pin or track the 2.x line?

A: Pin to polaris-2.0.js when the app is business critical and upgrades should be deliberate. Track polaris-2.js when the app is small and you would rather inherit fixes automatically. Mixing the two across a portfolio is fine if each choice is recorded.

Resources

Update your app for Polaris 2

Need guidance? Talk to Makro.