Logo
Brand logos for lead sources and integrations, exactly as the Refined page draws them: 20 px marks and the 32 px LEAP CRM lockup. Each is named by its brand for screen readers, or decorative beside text that already says it.
BetaReady to use. Its API can still change in a minor release; the changelog says when.
LEAP CRMBuilt for the CRM from the core library. It knows about the CRM's own records, so it isn't a general building block.
import { Logo } from "@leap-crm/design-system";Playground
Change a prop and the component follows. Its code is under Props.
Props
Best practices
When to use it, and the rules that apply in particular places.
| Guidance | Practice |
|---|---|
| Do | Use it to show a lead source or an integration, like Google or Outlook, by the CRM's slug in name. |
| Do | Set decorative beside text that already names the brand, like "Connected to Outlook", so screen readers don't hear it twice. |
| Do | Size it with a height class and let the width follow: 16 px beside small text, 24 px in a tile. |
| Don't | Set decorative on a logo that stands alone, like the only mark in a lead source column. Its name is then the only way a screen reader learns the source. |
| Don't | Recolour a logo or draw a brand from a generic icon. Logos show exactly as the Refined page draws them; add a missing brand to the library. |
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| name * | (typeof logoNames)[number] | — | Which logo, by the CRM's lead-source slug, like "google" or "leap-crm". |
| label | string | — | What a screen reader hears. Defaults to the brand's name. |
| decorative | boolean | false | Beside text that already names the brand: hidden from screen readers. |
| className | string | — | Sizes the logo: brand marks default to 20 px square, the LEAP CRM lockup to 32 px tall. |
Code
What the playground shows, ready to copy.
import { Logo } from "@leap-crm/design-system";
<Logo name="leap-crm" />Brand marks
name takes the CRM's lead-source and integration slugs. Outlook is a touch wider than square, as drawn.
LEAP CRM
The lockup, 32 px tall. Size it with a height class.
Sizes
A height class sizes any mark; the width follows. 16 px beside small text, 24 px in a tile.
What the examples share
The imports and the scaffolding the examples above call. The scaffolding lives in this page, not in the library.
import { Logo, logoNames } from "@leap-crm/design-system";
const marks = logoNames.filter(name => name !== "leap-crm");


