Pick a browser, and put your page in the content.
browser-frame.tsx
BrowserWindow
<figure>| Prop | Type | Default | Description |
|---|---|---|---|
| browser | "chrome-mac""chrome-windows""edge""minimal""safari""safari-compact" | "safari" | The browser chrome. Default safari. |
| url | string | — | The page address. Safari, Edge, and the minimal frame show the domain with a lock; Chrome shows the domain and path. Empty: the placeholder. |
| active | number | 0 | The index of the active BrowserWindowTab. Default 0. |
| status | "empty""error""loading""ready" | "ready" | The load state of the page. Default ready. loading: a progress line (Safari, minimal) or the stop button (Chrome, Edge). empty and error show as ready until the item has their parts. |
| dots | "color""gray""none" | "color" | The window controls of the minimal frame: the traffic light colors, gray, or none. |
| height | string | number | — | A fixed window height in px or any CSS length. Default: the chrome plus the page. |
| appearance | "dark""light""system" | "system" | The look of the chrome: the page theme (system), or always light or dark. |
| ...props | <figure> attributes | — | Every other attribute goes to the <figure>, with a ref. |
BrowserWindowBar
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
BrowserWindowTabs
| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | — | The BrowserWindowTab parts, in order. The root's activeTab names the active one. |
BrowserWindowTab
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
BrowserWindowFavicon
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |
BrowserWindowTabTitle
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |
BrowserWindowContent
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
Built with
Installs with Browser Window







