Skip to content
프로젝트

소개

Components, hooks and template apps for building React voice AI applications quickly. Designed to support and accelerate Pipecat AI development.

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Pipecat Voice UI Kit

NPM Version Docs

Components, hooks and template apps for building React voice AI applications quickly. Designed to support and accelerate Pipecat AI development.

  • 🔬 Debug console – Flexible, modular console UI to test and benchmark your Pipecat apps

  • 🔌 Components – Construct your own UIs with building blocks for voice, video, and real-time AI interactions

  • 🚀 Drop-in templates – Fully-featured, configurable UIs for developing and showcasing Pipecat apps

  • 💅 Fully customizable – Built on Tailwind 4 and styled with CSS variables. Extend the built-in theme or bring your own

  • 📱 Responsive design – Optimized for desktop, tablet, and mobile devices

  • ⭐ Example apps – Real-world implementations demonstrating best practices

Quickstart

Install the library

npm i @pipecat-ai/voice-ui-kit @pipecat-ai/client-js @pipecat-ai/client-react

You will also have to install one of the supported transport packages

npm i @pipecat-ai/daily-transport
# or
npm i @pipecat-ai/small-webrtc-transport

Optional - install recommended fonts for default theme:

npm i @fontsource-variable/geist @fontsource-variable/geist-mono

Launch and browse the Storybook:

Install and build workspace dependencies:

pnpm i
pnpm build

Launch the Storybook:

pnpm run dev

Run example apps

Install and build workspace dependencies:

pnpm i
pnpm build

Navigate to example directory to run the example:

cd examples/01-console
pnpm i
pnpm dev

Use the console template to chat with a Pipecat Bot:

// Optional: recommended fonts
import '@fontsource-variable/geist';
import '@fontsource-variable/geist-mono';

// Styles
import '@pipecat-ai/voice-ui-kit/styles';

import { ConsoleTemplate, ThemeProvider } from '@pipecat-ai/voice-ui-kit';

// Render Console template in full screen container
export default function App() {
  return (
    <ThemeProvider>
      <div className="w-full h-dvh bg-background">
        <ConsoleTemplate
          transportType="smallwebrtc"
          connectParams={{
            webrtcUrl: '/api/offer',
          }}
        />
      </div>
    </ThemeProvider>
  );
}

Build a custom UI

import {
  ConnectButton,
  ControlBar,
  ErrorCard,
  FullScreenContainer,
  PipecatAppBase,
  SpinLoader,
  VoiceVisualizer,
  UserAudioControl
  type PipecatBaseChildProps,
} from "@pipecat-ai/voice-ui-kit";

export default function Home() {
  return (
    <FullScreenContainer>
      <PipecatAppBase
        transportType="smallwebrtc"
        connectParams={{
          webrtcUrl: "/api/offer",
        }}
      >
        {({
          client:
          handleConnect,
          handleDisconnect,
          error,
        }: PipecatBaseChildProps) =>
          loading ? (
            <SpinLoader />
          ) : error ? (
            <ErrorCard error={error} />
          ) : (
            <>
              <VoiceVisualizer participantType="bot" />
              <ControlBar>
                <UserAudioControl />
                <ConnectButton
                  onConnect={handleConnect}
                  onDisconnect={handleDisconnect} />
              </ControlBar>
            </>
          )
        }
      </PipecatAppBase>
    </FullScreenContainer>
  );
}

Examples and Docs

📓 Documentation

Examples:

Contributing

This project uses Conventional Commits enforced by Husky + commitlint, and Release Please for automated releases. See AGENTS.md for the full development workflow, commit guidelines, and release process.

관련 프로젝트 살펴보기

불러오는 중…