Skip to content

Logo

The design system provides two logo components for different use cases:

  • LogoV2 — Full-color logos with brand-specific backgrounds
  • LogoSymbol — Monochrome symbols that inherit color from parent

Variations

LogoV2 vs LogoSymbol

Use LogoV2 when you need the official brand appearance. Use LogoSymbol when you need the logo to blend with your UI’s color scheme.

Sizes

Both components support the same size variants: xs, sm, md, and lg. The default size is lg.

LogoSymbol colors

Since LogoSymbol uses currentColor, it inherits color from its parent element.

Installation

import { LogoV2, LogoSymbol } from '@harnessio/ui/components'
// Full-color logo with brand background
<LogoV2 name="github" size="lg" />
// Monochrome symbol (inherits text color)
<LogoSymbol name="github" size="lg" />