# Browser Flow

Full Safari/Chrome simulation: URL typing, loading bar, scroll, and click.

> For the complete documentation index, see [llms.txt](/llms.txt). Markdown variants are available by appending `.md` to any URL or sending an `Accept: text/markdown` header. An agent skill is available at [/.well-known/agent-skills/site-skill.md](/.well-known/agent-skills/site-skill.md).

## Installation

<TabsTrigger value="cli">Command</TabsTrigger>
<TabsTrigger value="manual">Manual</TabsTrigger>

```bash
npx shadcn@latest add @framecn/browser-flow
```

<Step>Copy and paste the following code into your project.</Step>

<Step>Update the import paths to match your project setup.</Step>

## Usage

```tsx
import { BrowserFlow } from "@/components/framecn/browser-flow";
```

```tsx
<BrowserFlow />
```

## API Reference

### BrowserFlow

| Prop               | Type     | Default         |
| ------------------ | -------- | --------------- |
| `url`              | `string` | `"framecn.dev"` |
| `speed`            | `number` | `1`             |
| `className`        | `string` | `-`             |
| `fps`              | `number` | `30`            |
| `durationInFrames` | `number` | `270`           |
| `width`            | `number` | `1280`          |
| `height`           | `number` | `720`           |

## Notes

  The browser flow combines multiple animations: URL typing, loading bar,
  scroll, and click. Each stage can be toggled independently.