Components · Inline Primitives
Logo
StableAdded v0.0.1
The Nexub mark and wordmark, with an optional product name.
import { Logo } from '@nexub/react';Playground
Props
variant
tone
size
mark
nexub
<Logo />Examples
Variants
With a product name
States
- nexub
default - nexub
size="sm" - nexub
size="md" - nexub
size="lg" variant="mark"- nexub
variant="full" variant="icon"- nexub
tone="default" - nexub
tone="inverse"
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | 'mark' | 'full' | 'icon' | 'full' | full = mark and wordmark; icon = the mark only. mark is the old name for icon. |
| product | string | — | Product name after the wordmark, e.g. "Command Hub". Truncates in a narrow container. Ignored for icon. |
| size | 'sm' | 'md' | 'lg' | 'md' | Height: 24, 32 or 40 px. |
| tone | 'default' | 'inverse' | 'default' | inverse is always white, for dark backgrounds or imagery in either theme. |
| mark | 'color' | 'mono' | 'color' | color = the official mark in brand colours; mono = currentColor. |
Accessibility
ARIA roles
img
Screen reader
Read as "Nexub", or "Nexub Command Hub" with `product`.
On iOS & Android
Web only
Logo has no @nexub/react-native twin. On phones, follow the platform pattern instead, or compose it from the native components listed on the React Native page.