# Terminal To Browser Deploy

CLI deploy completes, terminal blurs back, and a browser window springs from the deploy URL.

> 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/terminal-to-browser-deploy
```

<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 { TerminalToBrowserDeploy } from "@/components/framecn/terminal-to-browser-deploy";
```

```tsx
<TerminalToBrowserDeploy />
```

## API Reference

### TerminalToBrowserDeploy

| Prop               | Type     | Default                     |
| ------------------ | -------- | --------------------------- |
| `siteUrl`          | `string` | `"https://app.example.com"` |
| `accentColor`      | `string` | `"#22c55e"`                 |
| `speed`            | `number` | `1`                         |
| `fps`              | `number` | `30`                        |
| `durationInFrames` | `number` | `210`                       |
| `className`        | `string` | `-`                         |

## Notes

  Terminal animates command execution, blurs, then a browser window springs open
  from the URL. Perfect for deployment product demos.