Browser Flow

A full Safari/Chrome simulation from URL typing to scroll and click

Installation

$ pnpm dlx shadcn@latest add @remocn/browser-flow

Usage

// src/Root.tsx
import { Composition } from "remotion";
import { BrowserFlow } from "@/components/remocn/browser-flow";

const BrowserFlowScene = () => (
  <BrowserFlow url="remocn.dev" />
);

export const RemotionRoot = () => (
  <Composition
    id="BrowserFlow"
    component={BrowserFlowScene}
    durationInFrames={270}
    fps={30}
    width={1280}
    height={720}
  />
);

Props

PropTypeDefaultDescription
url
string"remocn.dev"The URL typed into the address bar and used in the autocomplete suggestion
speed
number1Multiplier applied to the current frame to slow down or speed up the entire sequence
className
stringOptional className for the outer container