# Morph Island

> A black pill that morphs between states, from a quiet dot to a notification, a music player or a live timer, springing to each new size.

Category: Feedback · MotionKit Plus · Updated 2026-11-10 · Live demo: https://www.motionkitui.com/components/morph-island

## When to use it

Live status in apps: uploads, calls, timers, now playing, and notifications that shouldn't take over the screen.

## How it works

The pill is a layout-animated element, so when its content changes it springs from the old size to the new one; setting its corner radius in style keeps the corners round through the change. The content swaps inside AnimatePresence in popLayout mode, which lets the old content leave without holding the size open, with a short blur and scale either side. Ready-made pieces cover the common states.

## Installation

Part of MotionKit Plus (https://www.motionkitui.com/pricing). Subscribers install it with `npx shadcn@latest add @motionkit/morph-island` after adding their registry token from https://www.motionkitui.com/account.

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `view` | `string` |  | A name for what's showing; changing it morphs the island. |
| `children` | `ReactNode` |  | The content: IslandIdle, IslandNotice, IslandMusic, IslandTimer or your own. |
| `onClick` | `() => void` |  | Makes the island a button, e.g. to expand it. |
| `label` | `string` |  | Accessible description of what's showing. |

## Accessibility

- **Keyboard: Pass.** With onClick it's a real button with a focus ring; without, it's a status area.
- **Screen readers: Pass.** New content is announced politely as it arrives; give it a label to describe what's showing.
- **Reduced motion: Pass.** With reduced motion on, it changes size at once and content swaps with a fade.
- **Colour contrast: Pass.** White on black measures 21:1, the secondary line 7.4:1 and the timer's amber 11.5:1.
