The horizontal Pleo wordmark, drawn as an inline SVG in the brand logo colour.
Basic usage
First, import the component.
import {PleoLogo} from '@pleo-io/telescope'Then use it like so:
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 for
every prop, and the
Guidelines for when to
use it.
Examples
Custom size
Keep the wordmark's proportions when setting a custom size.
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.
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).
| Prop | Type | Default |
|---|---|---|
heightHeight of the logo | enumstring | number | undefined | px(25) |
testIdTest ID set as | enumstring | undefined | |
widthWidth of the logo | enumstring | number | undefined | px(71) |
Didn't find what you were looking for?
Let us know in #team-design-systems or make a request.
Edit this page