Cove

Put your app in the notch.

$ npm install cove-ui

Cove brings the Dynamic Island to the Mac. It gives your app a home in the notch for live activities, quick alerts and panels that open on hover, with one API for SwiftUI and Electron using the same shape and motion.

Examples

Pick one and it runs in the notch at the top of this page. The code is the whole thing.

Showing Now Playing. Hover the notch at the top to open it.

Usage

States and size

The notch is always in one of four states. A message isn't a separate thing: it's the notch peeking. Pick a state and the notch at the top goes there; the green dot follows what it's really doing. The expanded notch fits its content by default, or give it an exact width, height and radius.

Opens on

Peek

Call it from anywhere: a button, a background job, the main process.

Motion

Opening overshoots a touch so it feels alive; closing settles without one so it feels decisive. Shape either curve and the notch at the top uses it straight away. Both platforms run the same physics, so the numbers you land on mean the same thing in SwiftUI.

starttarget0 ms200 ms400 ms600 msOpen settles · 583 msClose · 533 ms

Open
Close

Many components, one notch

Any component can start an activity. The highest priority is shown, and when it ends the notch falls back to the next. On this page, Now Playing is always running underneath the examples.

Every option is in the documentation.