Skip to content
ProLifetime access for $199, paid once, every future release included
Truffle UI

Dynamic Island

ProNew

Morphing pill island that transitions smoothly between idle, agent thinking, voice waveform, deploy progress, and done.

Installation

pnpm dlx shadcn@latest add @viewport/dynamic-island

First time? Add the @viewport registry to components.json. Setup takes one minute.

Usage

The code behind the preview above comes with Truffle Pro.

Props

PropTypeDefault
state*IslandState

Active morphing state of the pill.

—
titlestring

Primary status text for the active state.

—
subtitlestring

Optional secondary detail, e.g. elapsed time or progress.

—
progressnumber

Progress percentage (0-100) shown in the `upload` state.

68
classNamestring—

Accessibility

  • Exposed as a polite status region so state changes are announced cleanly.
  • Uses tabular numerals for upload progress.
  • Width morphing, blur transitions, and equalizer bars stop under reduced motion.