Skip to Content
Wirebird Docs

Wirebird

The all-in-one view. Inbox for texts and calls, setup, call settings, and the call bar.

import { Wirebird } from '@wirebird/react';

<Wirebird />;

The simplest integration: one component gives a business everything. It has two views:

  • Setup: pick a number, enter business details for texting registration, call settings.
  • Inbox: conversations, with texts and calls together in each thread.

It also includes the floating call bar for calling out from the browser.

Without a view prop, it opens on Setup until the business has a number, then on the Inbox.

Props

PropTypeDefaultDescription
view'inbox' | 'setup'Chosen automaticallyControls the open view. Pass it to drive the view from your own navigation.
onViewChange(view) => voidCalled when someone opens a view. Use it with view to keep your URL in sync.
heightnumber | string640Fixed height in pixels or any CSS length. The inside scrolls, never your page.
Controlled view
const [view, setView] = useState<WirebirdView>('inbox');

<Wirebird view={view} onViewChange={setView} height="calc(100vh - 64px)" />;

On this page