‹ Back

MacOS Dynamic Island

A recreation of the Dynamic Island on the OLED MacBook Pro.

Apple recently introduced their newest MacBook Pro with a PROLED XDR Display but I wasn't interested in the 2000 nits, the 10,000,000:1 contrast ratio, or the touch screen display. I found it cool that they finally added the Dynamic Island to the Mac1.

The native Dynamic Island lets you add Spotlight functionality if you have Siri AI enabled, and I saw iJustine's video on it where I noticed the cool interaction when you expand the pill and it shows Spotlight with search results2, and I figured I wanted to try and recreate it.

Photo by Eugene Golovesov on Unsplash

Apple hasn't published the island's size, so everything here is measured from Apple's product images and a screenshot from a YouTube video. I started with a few states, including music, then cut it down to two so I could get one right: idle and search.

The Island

Shape

The way the dynamic island is set up here is that it has two states: idle and search with their respective dimensions:

export const shapes = {
  idle: { width: 68, height: 34, radius: 17 },
  search: { width: 504, height: 86, radius: 40 },
} satisfies Record<IslandState, Shape>;

satisfies was new to me. TypeScript checks that every state has a shape, but still remembers the exact numbers instead of widening them to a general type.

motion animates the width and height directly instead of using layout. Layout animations resize things with a scale transform, so anything inside that isn't corrected gets stretched along with it. Animating the real size means the text never squashes mid-animation.

Springs

Most of these numbers are honestly pure guesses (I just estimated the durations and how bouncy the animations were from the video).

const openSpring = { type: "spring", visualDuration: 0.25, bounce: 0.3 };
const closeSpring = {
  type: "spring",
  visualDuration: 0.32,
  bounce: 0.15,
  delay: 0.04,
};

Spotlight

Searching

You can type to search through a sample collection of apps, files, and folders. Similar to Spotlight, the most relevant result automatically appears as you type. The icon on the right also tells you which app will open the result. For example, a folder opens in Finder, while a photo opens in Photos.

All of this lives in one reducer, so every key press is just an action like { type: "move", by: 1 }. For screen readers, the field is a combobox and the results are a listbox, so the selected result gets announced while focus stays in the field.

Liquid Glass

The results panel uses the Liquid Glass effect from a Spicetify theme, mcloud. It's an SVG displacement map used as a backdrop-filter, which bends the page behind the panel like a lens. Only Chromium supports SVG filters there, so other browsers get a regular frosted blur.

This is also where I hit the bug that taught me the most. Fading the panel in made the glass go flat. It turns out that an element with opacity below 1, or any filter, becomes a backdrop root. Anything inside it can only blur what's inside that element, not the page behind it. So the fade lives on the glass itself, never on a parent.

When you scroll, results slide under the bar with the app chips, and only then does it frost, with a hard edge like on macOS. I first put that blur inside the glass, but it didn't blur the rows at all, so the bar now sits next to the glass instead. I'm kind of sad they replaced progressive blur with this :(

App icons belong to Apple and are only used here to show the recreation.

Sources

  1. Apple Inc. Apple unveils groundbreaking MacBook Pro with PROLED XDR Display and Touch for the first time on Mac. (October 28, 2026) Link to Source ↩

  2. iJustine. The new PROLED MacBook Pro has a Dynamic Island 😯 (October 29, 2026) Link to Video ↩