Skip to main content

Overview

Brand renders the Axmed logo in two variants: icon (flame mark only) and wordmark (mark + “Axmed” text). It supports light and dark themes and three size presets.

Usage

import { AxBrand } from "axmed-design-system"

function AppLogo() {
  return <AxBrand variant="wordmark" size="md" />
}

Variants

Wordmark (Default)

Flame mark + “Axmed” text — used in headers and sidebars.
<AxBrand variant="wordmark" size="md" />

Icon

Flame mark only — used in collapsed sidebars, favicons, and mobile headers.
<AxBrand variant="icon" size="md" />

Sizes

  • sm — 20px height (compact headers, mobile)
  • md — 28px height (default, most common)
  • lg — 36px height (large headers, hero sections)
<AxBrand size="sm" />
<AxBrand size="md" />
<AxBrand size="lg" />
Width scales proportionally to maintain aspect ratio.

Themes

Light (Default)

Navy mark on light background.
<AxBrand theme="light" />

Dark

White mark on dark/navy background.
<div style={{ background: "var(--primary-600)", padding: 24 }}>
  <AxBrand variant="wordmark" theme="dark" />
</div>
Switch between wordmark (expanded) and icon (collapsed):
const [collapsed, setCollapsed] = useState(false)

<AxSideNav
  collapsed={collapsed}
  logo={<AxBrand variant={collapsed ? "icon" : "wordmark"} size="md" />}
  // ... other props
/>
<AxHeader
  left={<AxBrand variant="wordmark" size="md" />}
  right={<ActionButtons />}
/>

Branded Header

<AxHeader
  variant="branded"
  left={<AxBrand variant="wordmark" size="md" theme="dark" />}
  right={<ActionButtons />}
/>

Props

variant
'icon' | 'wordmark'
default:"'wordmark'"
  • icon — flame mark only (for collapsed sidebar, favicons, etc.)
  • wordmark — mark + “Axmed” text (default)
size
'sm' | 'md' | 'lg'
default:"'md'"
Size preset (controls height; width scales proportionally):
  • sm: 20px
  • md: 28px (default)
  • lg: 36px
theme
'light' | 'dark'
default:"'light'"
  • light — navy mark on light background (default)
  • dark — white mark on dark/navy background
className
string
Additional class name
style
CSSProperties
Inline styles

Best Practices

Use variant="wordmark" in headers and expanded sidebars for brand recognition
Use variant="icon" in collapsed sidebars and mobile headers to save space
Match the theme to the background color (light on white, dark on navy)
Use size="md" for most cases — sm/lg are for special contexts
Don’t change the logo colors or aspect ratio — use the theme prop instead
Avoid placing the logo on busy backgrounds — ensure sufficient contrast

Accessibility

  • SVG has aria-hidden="true" and wrapper has aria-label="Axmed"
  • Logo is purely decorative — navigation is announced via parent components

API Reference

See the Brand API for the complete TypeScript interface.
  • Header — Use Brand in the left slot
  • Side Nav — Use Brand in the logo slot

Build docs developers (and LLMs) love