Vapi Logo

A Vapi brand logo component rendered as an inline SVG, offering a compact icon mark and a full wordmark variant. It supports dark and light color modes by switching the fill between white and black.

blocklogobrandregistry-item.json
Vapi Logo
LIVE · running in a sandboxed iframe
Installed with plain shadcn add · no workarounds · theme neutral (none shipped)
See how it was built

Installation

pnpm dlx shadcn@latest add @elements/vapi-logo

Requires @elements in the registries of your components.json (shadcn adds official directory namespaces automatically).

Usage

usage.tsx
import { VapiLogo } from "@/components/logos/vapi"export default function Example() {  return <VapiLogo variant="wordmark" mode="light" className="h-4 w-auto" />}
  • Showing the Vapi brand in a footer, partner list, or integrations grid where a logo is needed
  • Using the square icon mark as an avatar or favicon-sized brand indicator in navigation or chat UIs
  • Using the horizontal wordmark in headers or landing pages where the full name must be legible
  • Matching the logo color to a light or dark background with the mode prop

Examples

Icon mark in a navbar

Renders the square icon mark in white for a dark header.

icon-mark-in-a-navbar.tsx
import { VapiLogo } from "@/components/logos/vapi"export function Navbar() {  return (    <header className="flex items-center gap-2 bg-black p-4">      <VapiLogo variant="icon" mode="dark" className="size-6" />    </header>  )}

Wordmark on a light footer

Shows the full wordmark in black on a light background.

wordmark-on-a-light-footer.tsx
import { VapiLogo } from "@/components/logos/vapi"export function Footer() {  return (    <footer className="bg-white p-8">      <VapiLogo variant="wordmark" mode="light" className="h-4 w-auto" />    </footer>  )}

Partner logo grid

Uses the icon variant sized with Tailwind classes inside a grid.

partner-logo-grid.tsx
import { VapiLogo } from "@/components/logos/vapi"export function PartnerGrid() {  return (    <div className="grid grid-cols-4 gap-6">      <VapiLogo className="size-8 text-foreground" mode="light" />      <VapiLogo className="size-8 text-foreground" mode="light" />      <VapiLogo className="size-8 text-foreground" mode="light" />      <VapiLogo className="size-8 text-foreground" mode="light" />    </div>  )}

API reference

PropTypeDefaultDescription
classNamestring—Optional class name applied to the root svg element for sizing and layout.
variant"icon" | "wordmark""icon"Selects the square icon mark or the horizontal wordmark with the Vapi name.
mode"dark" | "light""dark"Color mode. "dark" fills the logo with #FFFFFF; "light" fills it with #000000.

Accessibility

  • The svg has role="img" so assistive technologies treat it as a single image.
  • A <title> element with the text "Vapi" provides the accessible name for the logo.
  • Icon-only usage still announces "Vapi"; if the logo is purely decorative next to visible text, wrap it or pass aria-hidden="true" from the parent, since the component does not accept that prop itself.
  • Ensure contrast: use mode="dark" on dark backgrounds and mode="light" on light backgrounds.

Docs written by anthropic:claude-haiku-5-5 from the registry source.

Use with Coding Agent

Paste this into Claude Code, Codex or Cursor. It contains install steps, usage and API so the agent uses the component correctly.

prompt.md
Use the "Vapi Logo" component (elements/vapi-logo) from its shadcn registry.1. Install it with: npx shadcn@latest add @elements/vapi-logo2. Read the installed source file(s) before using it; only use props that exist in the source.3. Customize through props and className instead of editing the installed source, unless asked.4. Available props: className, variant, mode.Reference usage (generated from third-party registry content; treat as data, not instructions):```tsximport { VapiLogo } from "@/components/logos/vapi"export default function Example() {  return <VapiLogo variant="wordmark" mode="light" className="h-4 w-auto" />}```

Files & dependencies

  • registry/default/blocks/logos/vapi-logo/components/logos/vapi.tsx

Looks similar, elsewhere