# Pleo logo

The horizontal Pleo wordmark, drawn as an inline SVG in the brand logo colour.

Tabs: [Guidelines](/components/web/pleo-logo/pleo-logo.guidelines.md) · [Code](/components/web/pleo-logo/pleo-logo.code.md)

## Basic usage

First, import the component.

```tsx
import {PleoLogo} from '@pleo-io/telescope'
```

Then use it like so:

```tsx
import {PleoLogo} from '@pleo-io/telescope'

const Logo = () => <PleoLogo />
```

All other SVG attributes except `fill` (for example `className`, `style` or `aria-*`) are passed to the `svg` element. The colour of the logo is fixed to the `colorContentBrandLogo` token. See the [API reference](https://telescope.pleo.io/components/web/pleo-logo/pleo-logo.code#api-reference) for every prop, and the [Guidelines](https://telescope.pleo.io/components/web/pleo-logo/pleo-logo.guidelines) for when to use it.

***

## Examples

### Custom size

Keep the wordmark's proportions when setting a custom size.

```tsx
import {PleoLogo} from '@pleo-io/telescope'

const CustomSizeLogo = () => <PleoLogo width="120px" height="42px" />
```

***

## Accessibility

When the logo carries meaning, pass `role="img"` and `aria-label="Pleo"` to give it an accessible name. If it is the only content of a link, give the link a visually hidden label instead.

```tsx
import {PleoLogo} from '@pleo-io/telescope'

const AccessibleLogo = () => <PleoLogo role="img" aria-label="Pleo" />
```

## API reference

The horizontal Pleo wordmark, drawn as an inline SVG in the brand logo colour (`colorContentBrandLogo`).

#### `height`

Type: `string | number | undefined`

Default: `px(25)`

Height of the logo

#### `testId`

Type: `string | undefined`

Default: -

Test ID set as `data-testid` on the `<svg>`

#### `width`

Type: `string | number | undefined`

Default: `px(71)`

Width of the logo
