Account

Chrome

Creative

Browser Frame

Tabs, an address bar that types on arrival and a loading bar once it is entered. For product pages and case studies.

Install

Included with Creative: needs your API key. Initialize and log in once.

Terminal
npx @galactrex/ui add browser-frame

Usage

Example
import { BrowserFrame } from "@/components/galactrex/browser-frame";

<BrowserFrame url="galactrex.com/ui">…</BrowserFrame>

Source

Installs to components/galactrex/browser-frame.tsx, with the shared motion primitives beside it.

Source for this component comes with its plan. Install it with the command above, or open your licensed copy here.

See plans

Props

PropTypeDefaultDescription
childrenReactNode—The page.
urlstring—Address.
tabsstring[]—Tab titles; first is active.
typeUrlbooleantrueType the address in.
classNamestring—Extra classes for the outer element.

Variants

  • Screenshot. An image inside.
  • Live. Real components inside.

Accessibility

  • The address is real text for assistive tech from the start.

Motion and reduced motion

  • Text typing and a one-off width transition.
  • Reduced motion: shown at once.