Render CLI

npx remotion render remotion/index.tsx DynamicIsland output.mp4 --codec=h264

Composition code

import { AbsoluteFill, interpolate, spring, useCurrentFrame, useVideoConfig } from "remotion";
import React from "react";

export const DynamicIsland: React.FC = () => {
  const frame = useCurrentFrame();
  const { fps } = useVideoConfig();

  const initialPop = spring({ frame, fps, config: { damping: 14 } });
  const expandProgress = spring({ frame: frame - 40, fps, config: { damping: 14 } });
  const collapseProgress = spring({ frame: frame - 110, fps, config: { damping: 14 } });

  const pillBaseWidth = 240;

Dynamic Island

Apple Dynamic Island notification animation with spring physics and incoming call UI.

Duration5s
Resolution1920 × 1080
Frame rate30 fps
Frames150

This is a free, open-source template. Copy the code and drop it into your Remotion project.