# Logo

The Werewolf mark, the mark of another product or the flag of a country, at icon sizes: Werewolf (the default), AI agents, Google services, social networks, developer tools and flags. A brand mark is one outline in the brand's own color, or in the icon color with colored={false}. Gemini, Google, Google Drive, Google Cloud, Google Meet, Chrome, Instagram, Zalo and Cline use their official full-color icon instead, and the one-color outline with colored={false}; the Werewolf mark and a flag keep their own colors. Every flag is a 4:3 rectangle with the same 1px border and corner radius. Use it for sign-in options, integration lists, connected accounts and region pickers.

**Dependencies:** npm: 1 direct, 2 total; registry: 2 direct, 2 total.

## Usage

### When to use

- Show the product behind a sign-in option, an integration, a connected account or a model picker.
- Show a country in a region or currency picker, or beside a phone number or an address.

### When not to use

- Your own product's mark, other than Werewolf. Use an Image.
- A person or a team. Use Avatar.
- A generic action icon. Use an icon from the icon set.
- A language. A flag names a country, not a language; write the language's name.

## Variants

### name

A product: werewolf (the default), github, claude, google and so on. Use name or country, not both.

Values: `werewolf`, `anthropic`, `claude`, `gemini`, `copilot`, `mistral`, `perplexity`, `deepseek`, `ollama`, `huggingface`, `cursor`, `openrouter`, `meta`, `nvidia`, `windsurf`, `cline`, `google`, `google-drive`, `google-cloud`, `google-meet`, `chrome`, `firebase`, `facebook`, `instagram`, `x`, `youtube`, `tiktok`, `whatsapp`, `telegram`, `reddit`, `discord`, `threads`, `bluesky`, `mastodon`, `pinterest`, `snapchat`, `twitch`, `wechat`, `line`, `signal`, `zalo`, `kakaotalk`, `medium`, `substack`, `github`, `gitlab`, `figma`, `notion`, `linear`, `vercel`, `stripe`, `supabase`, `docker`, `react`, `nextjs`, `tailwind`, `npm`, `git`, `jira`, `atlassian`, `trello`, `zoom`, `spotify`, `dropbox`, `shopify`, `paypal`, `postgresql`, `mongodb`, `redis`, `cloudflare`, `netlify`, `stackoverflow`, `replit`, `bun`, `nodejs`, `typescript`, `python`, `rust`, `go`, `vite`, `firefox`. Default: `werewolf`.

### country

A country, as its lowercase ISO 3166-1 code: vn, us, jp. Use name or country, not both.

Values: `vn`, `us`, `gb`, `cn`, `jp`, `kr`, `in`, `sg`, `th`, `id`, `my`, `ph`, `la`, `kh`, `mm`, `tw`, `hk`, `fr`, `de`, `it`, `pt`, `nl`, `be`, `ch`, `at`, `se`, `no`, `dk`, `fi`, `is`, `ie`, `pl`, `cz`, `sk`, `hu`, `ro`, `bg`, `gr`, `si`, `ua`, `ru`, `tr`, `il`, `ae`, `qa`, `iq`, `pk`, `bd`, `np`, `au`, `nz`, `ca`, `br`, `ar`, `cl`, `co`, `pe`, `ve`, `uy`, `za`, `ng`, `eg`, `ke`, `ma`, `et`, `gh`, `tz`, `eu`. Default: `undefined`.

### size

16, 20, 24 or 32px wide, the sizes of an icon.

Values: `sm`, `md`, `lg`, `xl`. Default: `md`.

## Examples

### Werewolf

With no name, Logo shows the Werewolf mark in its own colors.

```tsx
<div className="flex items-center gap-lg">
  <Logo label="Werewolf" size="lg" />
  <Logo name="werewolf" label="Werewolf" size="xl" />
</div>
```

### In brand colors

Each brand shows its own color. Black brands stay in the icon color.

```tsx
<div className="flex items-center gap-lg">
  <Logo name="google" label="Google" size="lg" />
  <Logo name="discord" label="Discord" size="lg" />
  <Logo name="figma" label="Figma" size="lg" />
  <Logo name="stripe" label="Stripe" size="lg" />
  <Logo name="github" label="GitHub" size="lg" />
</div>
```

### In the icon color

colored={false} draws every mark in the icon color, one tone for a quiet list.

```tsx
<div className="flex items-center gap-lg">
  <Logo name="anthropic" colored={false} label="Anthropic" size="lg" />
  <Logo name="claude" colored={false} label="Claude" size="lg" />
  <Logo name="gemini" colored={false} label="Gemini" size="lg" />
  <Logo name="mistral" colored={false} label="Mistral" size="lg" />
  <Logo name="deepseek" colored={false} label="DeepSeek" size="lg" />
</div>
```

### Flags

A flag keeps its own colors. Every flag is the same 4:3 rectangle with the same border and corner.

```tsx
<div className="flex items-center gap-lg">
  <Logo country="vn" label="Vietnam" size="lg" />
  <Logo country="us" label="United States" size="lg" />
  <Logo country="jp" label="Japan" size="lg" />
  <Logo country="fr" label="France" size="lg" />
</div>
```

### Sign-in options

Each Logo is hidden from screen readers; the button text names it.

```tsx
<div className="flex w-full max-w-72 flex-col gap-sm">
  <Button variant="secondary" size="lg" leadingIcon={<Logo name="google" />}>Continue with Google</Button>
  <Button variant="secondary" size="lg" leadingIcon={<Logo name="github" />}>Continue with GitHub</Button>
</div>
```

## Do and don't

### Do

- Write the product or country name next to the mark, or pass label.
- Use the same size and the same look (all in their own colors, or all in the icon color with colored={false}) for the marks in one list.
- Show every flag as it is: a 4:3 rectangle with the same border and corner, never cropped to a square or circle.

### Don't

- Do not recolor a flag, and do not tint a brand with a color that is not its own.
- Do not use a flag to stand for a language; one language is spoken in many countries.
- Do not use a brand mark to suggest the brand endorses your product.

## Props

| Name | Type | Values | Default | Description |
| --- | --- | --- | --- | --- |
| `name` | `enum` | `werewolf`, `anthropic`, `claude`, `gemini`, `copilot`, `mistral`, `perplexity`, `deepseek`, `ollama`, `huggingface`, `cursor`, `openrouter`, `meta`, `nvidia`, `windsurf`, `cline`, `google`, `google-drive`, `google-cloud`, `google-meet`, `chrome`, `firebase`, `facebook`, `instagram`, `x`, `youtube`, `tiktok`, `whatsapp`, `telegram`, `reddit`, `discord`, `threads`, `bluesky`, `mastodon`, `pinterest`, `snapchat`, `twitch`, `wechat`, `line`, `signal`, `zalo`, `kakaotalk`, `medium`, `substack`, `github`, `gitlab`, `figma`, `notion`, `linear`, `vercel`, `stripe`, `supabase`, `docker`, `react`, `nextjs`, `tailwind`, `npm`, `git`, `jira`, `atlassian`, `trello`, `zoom`, `spotify`, `dropbox`, `shopify`, `paypal`, `postgresql`, `mongodb`, `redis`, `cloudflare`, `netlify`, `stackoverflow`, `replit`, `bun`, `nodejs`, `typescript`, `python`, `rust`, `go`, `vite`, `firefox` | `werewolf` | A product: werewolf (the default), github, claude, google and so on. Use name or country, not both. |
| `country` | `enum` | `vn`, `us`, `gb`, `cn`, `jp`, `kr`, `in`, `sg`, `th`, `id`, `my`, `ph`, `la`, `kh`, `mm`, `tw`, `hk`, `fr`, `de`, `it`, `pt`, `nl`, `be`, `ch`, `at`, `se`, `no`, `dk`, `fi`, `is`, `ie`, `pl`, `cz`, `sk`, `hu`, `ro`, `bg`, `gr`, `si`, `ua`, `ru`, `tr`, `il`, `ae`, `qa`, `iq`, `pk`, `bd`, `np`, `au`, `nz`, `ca`, `br`, `ar`, `cl`, `co`, `pe`, `ve`, `uy`, `za`, `ng`, `eg`, `ke`, `ma`, `et`, `gh`, `tz`, `eu` |  | A country, as its lowercase ISO 3166-1 code: vn, us, jp. Use name or country, not both. |
| `size` | `enum` | `sm`, `md`, `lg`, `xl` | `md` | 16, 20, 24 or 32px wide, the sizes of an icon. |
| `colored` | `boolean` |  | `true` | For a brand: show its own color. Brands that are black stay in the icon color. Set colored={false} to draw it in the icon color. |
| `label` | `string` |  |  | Names the mark for screen readers, such as GitHub. Without it the mark is hidden from them. |

## Anatomy

| Part | Description |
| --- | --- |
| `root` | The span that sets the size and carries the name for screen readers. On a flag it draws the 1px border and the corners. |
| `mark` | A brand: the outline, drawn in the icon color or the brand color. Werewolf: the dot-matrix wolf head on its black tile. A flag: the whole 4:3 flag, never cropped. |

## Accessibility

Role: `img`

- With label (EN `GitHub`) the mark is one image named by it; without label it is hidden from screen readers, for when the name is written next to it.
- Not interactive. To make it a control, put it inside a Button or a link and name that control.
- Brand marks that are black use the icon color, so they stay visible in both modes. A flag has a 1px border in the border color, so a white flag keeps its edge on a light page.
- Color is never the only cue: pair a flag with the country's name when the choice matters.

## Install

```bash
npx werewolf-ui add logo
```

Run `npx werewolf-ui init` once in your app before adding components. Init sets up tokens, their CSS import and agent rules. Add installs this component and its dependencies while preserving your theme. See [Installation](https://www.werewolf-ui.dev/docs/installation.md) for requirements and the alternative registry setup.
