# Browser Window

Neutral browser chrome with back/forward arrows and a rounded url pill, wrapped around any page content you pass as children.

```bash
npx shadcn add https://www.reelcn.dev/r/browser-window.json
```

Usage:

```tsx
<Center>
  <BrowserWindow url="reelcn.dev/pricing">
    <div style={{ width: "100%", height: "100%", background: "#fff" }} />
  </BrowserWindow>
</Center>
```

Use for:

- Framing a website, landing page or web app screenshot in a launch or demo video
- Two pages side by side inside `split-screen` for a before/after

Avoid:

- A native desktop app with a title bar and no address bar. Use `app-window`


## Props

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| delay? | `number` | — | Frames to wait before entering. |
| duration? | `number` | — | Enter duration in frames. Defaults to 0.6s. Some items reuse `duration` for an unrelated local timing. See that item's own prop docs. |
| exit? | `number \| boolean` | — | Exit at the end of the parent `<Sequence>`. `false` keeps it on screen, a number sets the exit length in frames. |
| motion? | `MotionPersonality` | — | Override the theme's motion personality. |
| poster? | `boolean` | — | Renders fully entered, with no exit: for a still frame or thumbnail. Defaults to `false`. |
| holdFrames? | `number` | — | Delays the start of the exit window by this many frames, for a minimum on-screen hold. Defaults to `0`. |
| url? | `string` | `"example.com"` | Text shown in the address pill. |
| secure? | `boolean` | `true` | Shows a small lock icon before the url. |
| width? | `number` | — | Window width as a fraction of the safe area (0–1). Defaults to 0.86 in landscape, 1 otherwise. |
| aspect? | `number` | `16 / 10` | Window aspect ratio (width / height). Defaults to 16/10. |
| children? | `ReactNode` | — |  |
| barColor? | `string` | — | Chrome bar fill. Defaults to the theme surface. |
| background? | `string` | — | Page fill behind the children. Defaults to the theme background. |
| borderColor? | `string` | — |  |
| urlColor? | `string` | — | Address pill text color. Defaults to the theme muted color. |
| radius? | `number` | — | Corner radius in design units. Defaults to the theme radius. |
| style? | `CSSProperties` | — |  |
| className? | `string` | — |  |