# Brand Logo

The logo of a product or service (Slack, GitHub, Stripe …) at 16, 20 or 24 px, for list rows, integrations and buttons.

- Category: Core Elements
- Page: https://wunderui.com/components/brand-logo
- Tier: Free

## Install

```bash
npx wunderui-cli add brand-logo
```

## Import

```tsx
import { BrandLogo, BRAND_NAMES, BrandLogoProps, BrandMark, BrandMarkProps, BrandName, BRANDS } from "@/components/wunderui/brand-logo"
```

## Minimal usage

Then use it:

```tsx
import { BrandLogo } from "@wunderui/react"

export function SlackRow() {
  return (
    <div className="flex items-center gap-3">
      <BrandLogo name="Slack" label="" />
      <span className="text-sm font-medium">Slack</span>
    </div>
  )
}
```

Expected result: You see the Slack logo at 20 px beside the word Slack.

## Usage

```tsx
import { BrandLogo } from "@wunderui/react"

export function Example() {
  return (
    <div className="flex items-center gap-3">
      <BrandLogo name="Slack" />
      <BrandLogo name="Notion" />
      <BrandLogo name="Google Drive" />
    </div>
  )
}
```

## When to use

### Use Brand Logo for

- An integrations or connected-accounts list
- A button that acts on another product, such as Share to Slack
- The source of a record, a message or a file

### Use something else

- [Payment Logos](https://wunderui.com/components/payment-logos) for a card or payment method
- [Icon Tile](https://wunderui.com/components/icon-tile) for a category or a feature of your own product
- [Avatar](https://wunderui.com/components/avatar) for a person or a team

## Behavior

What the logo does with its name, size and colours. It is display only: no hover, focus or keyboard behaviour.

- **An image, not a control:** BrandLogo is an svg with the image role and the brand's name, so it has no focus stop. Put it in a Button when the logo stands for an action.
- **Colour and dark mode:** Brand colours stay as the brand draws them. OpenAI, GitHub, Linear, Vercel and X are one colour and use the current text colour, so they turn white in dark mode.
- **Brands:** BRAND_NAMES lists the 36 brands; BRANDS gives each a category and one line of text, ready for an integrations list.
- **Old names:** IntegrationMark is the same component as BrandMark, and IntegrationLogo, IntegrationName and INTEGRATION_NAMES keep working.
- **Motion and reduced motion:** Nothing is animated, so there is nothing to reduce under reduced motion.

## Anatomy

- `BrandLogo`: An svg with the image role and the brand's name, 16, 20 or 24 px. With label="" it is hidden from screen readers.
- `BrandMark`: The bare mark on a 20 px grid, decorative unless it gets an aria-label. The same component as IntegrationMark; IntegrationLogo puts it in a 36 px tile with a Tooltip.

## Best practices

### When to use

- Use Brand Logo to show which product a row, a card or an action is about: an integration, a connected account or a share target.

### Do

- Pass label="" when the brand's name is written beside the logo, so a screen reader does not read it twice.
- Use the 16 px size in buttons and beside small text, 20 px in list rows.

### Don't

- Don't recolour a logo or put it on a coloured tile. Brand colours are the brands' own; the one-colour logos already follow the text colour.
- Don't use a brand logo for a payment method. Payment Logos draws Visa, Klarna and the others on their cards.
- Don't use a logo alone as a button. Put it in a Button with a label, or give an Icon Button an aria-label.

## API reference

### BrandLogo

| Prop | Type | Default | Description |
|---|---|---|---|
| name* | "Figma" \| "Claude" \| "OpenAI" \| "Slack" \| "Notion" \| "GitHub" \| "Google Drive" \| "Google Sheets" \| "Google Calendar" \| "Microsoft Teams" \| "Stripe" \| "Shopify" \| "HubSpot" \| "Zapier" \| "Linear" \| "Gmail" \| "Outlook" \| "Salesforce" \| "Zoom" \| "Discord" \| "Dropbox" \| "Jira" \| "Asana" \| "Trello" \| "Airtable" \| "Mailchimp" \| "PayPal" \| "Zendesk" \| "Intercom" \| "Google Analytics" \| "Vercel" \| "Google" \| "X" \| "LinkedIn" \| "Google Meet" \| "Apple Calendar" |  | The brand, one of `BRAND_NAMES`, such as `Slack`, `GitHub` or `Stripe`. |
| label | string |  | The accessible name. The brand name by default; pass `""` when the text beside the logo names the brand. |
| size | "lg" \| "sm" \| "md" | "md" | `sm` 16 px, `md` 20 px (default) or `lg` 24 px. |

Also accepts React.SVGAttributes attributes.

### BrandMark

| Prop | Type | Default | Description |
|---|---|---|---|
| name* | "Figma" \| "Claude" \| "OpenAI" \| "Slack" \| "Notion" \| "GitHub" \| "Google Drive" \| "Google Sheets" \| "Google Calendar" \| "Microsoft Teams" \| "Stripe" \| "Shopify" \| "HubSpot" \| "Zapier" \| "Linear" \| "Gmail" \| "Outlook" \| "Salesforce" \| "Zoom" \| "Discord" \| "Dropbox" \| "Jira" \| "Asana" \| "Trello" \| "Airtable" \| "Mailchimp" \| "PayPal" \| "Zendesk" \| "Intercom" \| "Google Analytics" \| "Vercel" \| "Google" \| "X" \| "LinkedIn" \| "Google Meet" \| "Apple Calendar" |  | Which product mark to draw. |

Also accepts React.SVGAttributes attributes.

## Examples

### Brands: every logo, A–Z

```tsx
import { BrandLogo, BRAND_NAMES } from "@wunderui/react"

export function Example() {
  return (
    <ul className="grid grid-cols-3 gap-2 sm:grid-cols-4">
      {[...BRAND_NAMES].sort().map((name) => (
        <li key={name} className="flex flex-col items-center gap-2 rounded-md p-2">
          <BrandLogo name={name} size="lg" label="" />
          <span className="text-xs text-text-secondary">{name}</span>
        </li>
      ))}
    </ul>
  )
}
```

### Size: 16, 20 and 24 px

```tsx
import { BrandLogo } from "@wunderui/react"

export function Example() {
  return (
    <div className="flex items-center gap-3">
      <BrandLogo name="Slack" />
      <BrandLogo name="Notion" />
      <BrandLogo name="Google Drive" />
    </div>
  )
}
```

## In context

### In a list: the integrations of a workspace

The row names the brand, so the logo takes `label=""` and a screen reader does not read the name twice.

```tsx
import * as React from "react"
import { Badge, BrandLogo, Button } from "@wunderui/react"

const integrations = [
  { name: "Slack", text: "Send updates and notifications to your channels.", connected: true },
  { name: "GitHub", text: "Sync repositories, issues, and pull requests.", connected: true },
  { name: "Stripe", text: "Track payments, customers, and subscriptions.", connected: false },
] as const

export function Example() {
  const [status, setStatus] = React.useState("")

  return (
    <section aria-label="Integrations" className="flex w-full flex-col rounded-xl border border-border bg-card p-2">
      <ul className="flex flex-col">
        {integrations.map((item) => (
          <li key={item.name} className="flex items-center gap-3 rounded-md px-2 py-2">
            <BrandLogo name={item.name} label="" />
            <span className="flex min-w-0 flex-1 flex-col">
              <span className="truncate text-sm font-medium text-foreground">{item.name}</span>
              <span className="truncate text-xs text-text-secondary">{item.text}</span>
            </span>
            {item.connected ? (
              <Badge color="green" badgeStyle="light">Connected</Badge>
            ) : (
              <Button type="button" variant="plain" size="sm" onClick={() => setStatus(`Connecting ${item.name}`)}>
                Connect
              </Button>
            )}
          </li>
        ))}
      </ul>
      <p role="status" className="min-h-4 px-2 text-xs text-text-secondary">
        {status}
      </p>
    </section>
  )
}
```

### As a button icon: actions on another product

A 16 px logo before the label of a plain button, in the place of the icon. The label says what happens.

```tsx
import * as React from "react"
import { BrandLogo, Button } from "@wunderui/react"

export function Example() {
  const [status, setStatus] = React.useState("")

  return (
    <div className="flex flex-col items-center gap-2">
      <div className="flex flex-wrap justify-center gap-2">
        <Button type="button" variant="plain" onClick={() => setStatus("Sharing to Slack")}>
          <BrandLogo name="Slack" size="sm" label="" />
          Share to Slack
        </Button>
        <Button type="button" variant="plain" onClick={() => setStatus("Importing from Notion")}>
          <BrandLogo name="Notion" size="sm" label="" />
          Import from Notion
        </Button>
      </div>
      <p role="status" className="min-h-4 text-xs text-text-secondary">
        {status}
      </p>
    </div>
  )
}
```

## For AI agents

`get_component("brand-logo")`

Hand your agent this page as Markdown or the WunderUI MCP server, not a screenshot.
