{"id":51027205,"url":"https://github.com/deepgram/ui","last_synced_at":"2026-06-21T20:30:48.510Z","repository":{"id":354911093,"uuid":"1204776457","full_name":"deepgram/ui","owner":"deepgram","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-11T16:51:02.000Z","size":303,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-11T18:35:16.441Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ui-web-eight.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deepgram.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-08T10:18:35.000Z","updated_at":"2026-05-11T16:49:47.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/deepgram/ui","commit_stats":null,"previous_names":["deepgram/ui"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/deepgram/ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepgram%2Fui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepgram%2Fui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepgram%2Fui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepgram%2Fui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepgram","download_url":"https://codeload.github.com/deepgram/ui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepgram%2Fui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34625624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-21T20:30:47.439Z","updated_at":"2026-06-21T20:30:48.505Z","avatar_url":"https://github.com/deepgram.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @deepgram/ui\n\n[![npm](https://img.shields.io/npm/v/@deepgram/ui)](https://www.npmjs.com/package/@deepgram/ui)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n[![CI](https://github.com/deepgram/ui/actions/workflows/ci.yml/badge.svg)](https://github.com/deepgram/ui/actions/workflows/ci.yml)\n\nReact UI component library for [Deepgram Voice Agent](https://developers.deepgram.com/docs/voice-agent) — Tailwind v4, shadcn/ui, fully themeable.\n\n## Install\n\n```bash\nnpm install @deepgram/ui @deepgram/react @deepgram/agents\n```\n\n## Quick Start\n\n```tsx\nimport {\n  AgentProvider,\n  AgentStartButton,\n  AgentConversation,\n  AgentMessage,\n  AgentTextInput,\n  AgentStatus,\n} from \"@deepgram/ui\";\nimport \"@deepgram/ui/styles.css\";\n\nfunction App() {\n  return (\n    \u003cAgentProvider\n      config={{\n        auth: { tokenFactory: () =\u003e fetch('/api/deepgram-token').then(r =\u003e r.text()) },\n        agent: { think: { provider: { type: 'open_ai' }, model: 'gpt-4o-mini' } },\n      }}\n    \u003e\n      \u003cdiv data-dg-agent\u003e\n        \u003cAgentStatus /\u003e\n        \u003cAgentConversation\u003e\n          {conversation.map((entry) =\u003e (\n            \u003cAgentMessage key={entry.id} entry={entry} /\u003e\n          ))}\n        \u003c/AgentConversation\u003e\n        \u003cAgentTextInput /\u003e\n        \u003cAgentStartButton /\u003e\n      \u003c/div\u003e\n    \u003c/AgentProvider\u003e\n  );\n}\n```\n\n## Components\n\n### Agent UI Components\n\n| Component | Description |\n|-----------|-------------|\n| [`AgentStatus`](packages/ui/) | Connection state indicator (idle, connecting, connected, reconnecting, disconnected) |\n| [`AgentConversation`](packages/ui/) | Scrollable conversation container with auto-scroll |\n| [`AgentMessage`](packages/ui/) | Individual message bubble with role-aware styling, avatar, and timestamp |\n| [`AgentTextInput`](packages/ui/) | Text input field for sending messages |\n| [`AgentMicrophoneButton`](packages/ui/) | Microphone mute/unmute toggle |\n| [`AgentSpeakerButton`](packages/ui/) | Speaker mute/unmute toggle |\n| [`AgentStartButton`](packages/ui/) | Start/stop connection button |\n\n### Advanced Components\n\n| Component | Description |\n|-----------|-------------|\n| [`VoiceButton`](packages/ui/) | All-in-one button reflecting full lifecycle (idle/connecting/listening/speaking/error) |\n| [`Orb`](packages/ui/) | Canvas 2D animated hoop with idle/listening/talking states, audio-reactive |\n| [`LiveWaveform`](packages/ui/) | Canvas-based real-time waveform driven by volume getter(s) |\n| [`BarVisualizer`](packages/ui/) | Frequency bar visualization |\n| [`Response`](packages/ui/) | Lightweight markdown renderer for AI responses with Tailwind Typography |\n\n## Packages\n\n| Directory | Package | Description |\n|-----------|---------|-------------|\n| [`packages/ui/`](packages/ui/) | `@deepgram/ui` | React UI components + compiled Tailwind CSS |\n| [`packages/registry/`](packages/registry/) | `@deepgram/ui-registry` | shadcn-compatible registry build (private) |\n| [`apps/web/`](apps/web/) | -- | Landing page ([ui.deepgram.com](https://ui.deepgram.com)) |\n\n## Links\n\n- [Documentation](https://developers.deepgram.com/docs/voice-agent)\n- [API Reference](https://developers.deepgram.com/reference)\n- [Landing Page](https://ui.deepgram.com)\n\n## Development\n\n**Prerequisites:** [Bun](https://bun.sh/) 1.3+\n\n```bash\ngit clone git@github.com:deepgram/ui.git\ncd ui\nbun install\n```\n\n`@deepgram/agents` and `@deepgram/react` install from npm. No sibling checkouts required.\n\n```bash\nbun run build              # Build @deepgram/ui\nbun run build:registry     # Build shadcn registry\nbun run build:web          # Build landing page\nbun run typecheck           # Type-check @deepgram/ui\nbun run dev                 # Watch-build @deepgram/ui\n```\n\n## Contributing\n\nSee [CONTRIBUTING.md](.github/CONTRIBUTING.md).\n\n## License\n\nMIT — see [LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepgram%2Fui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepgram%2Fui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepgram%2Fui/lists"}