logo

Feedback

Dynamic Island

黑色药丸按住缩小、按下展开:宽高与圆角共用一根弹簧整体生长,紧凑行与活动卡片以模糊缩放交叉换场,计时、通话、音乐与航班各自带实时状态。

Timer4:59

Timer island open. Timer running.

Code

"use client";

import DynamicIsland from "./island";

/**
 * Gallery shell for the dynamic island. The block is shown with its default
 * Timer activity, black tone and bounce of 40; the parameter controls are
 * intentionally omitted.
 */
export default function Demo() {
  return (
    <div className="dyn-stage flex w-full justify-center">
      <div className="mx-auto w-full max-w-[340px] py-3 sm:py-4">
        <DynamicIsland activity="Timer" bounce={40} tone="Black" />
      </div>
    </div>
  );
}