Skip to content

Browser Window

Free

A Safari, Chrome, Edge, or minimal browser frame with tabs, an address bar, and a loading state, around a real page.

  • Base UI
  • Motion
  • React 19
  • Tailwind CSS 4

Added Nov 10, 2026 · MIT + Commons Clause

Playground

Loading the preview

Props

Pick a browser, and put your page in the content.

browser-frame.tsx

BrowserWindow

<figure>
PropTypeDefaultDescription
browser"chrome-mac""chrome-windows""edge""minimal""safari""safari-compact""safari"The browser chrome. Default safari.
urlstring—The page address. Safari, Edge, and the minimal frame show the domain with a lock; Chrome shows the domain and path. Empty: the placeholder.
activeTabnumber0The 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.
heightstring | 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>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

BrowserWindowTabs

PropTypeDefaultDescription
childrenRequiredReactNode—The BrowserWindowTab parts, in order. The root's activeTab names the active one.

BrowserWindowTab

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

BrowserWindowFavicon

<span>
PropTypeDefaultDescription
...props<span> attributes—Every other attribute goes to the <span>, with a ref.

BrowserWindowTabTitle

<span>
PropTypeDefaultDescription
...props<span> attributes—Every other attribute goes to the <span>, with a ref.

BrowserWindowContent

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • Use it on a marketing page.
  • Use minimal when the frame must stay quiet.
  • Set appearance to pin the chrome to light or dark.

The chrome is hidden from screen readers, and the content is read.

  1. AddedBrowser Window, with macOS Traffic Lights, macOS Window, Windows Caption Buttons, Windows Window.
Open the release