IconsBrand
160+ company and platform logos, each available in colored and mono variants and rendered as scalable SVGs.
Installation
npm install @xsolla/xui-icons-brand
Imports
import { Github, Discord, Steam, BaseIcon, type BrandIconProps, type IconVariant } from '@xsolla/xui-icons-brand';
Quick start
import * as React from 'react';
import { Github } from '@xsolla/xui-icons-brand';
export default function QuickStart() {
return <Github size={32} aria-label="GitHub" />;
}
Switch the visual treatment with variant:
<Github variant="colored" /> {/* default */}
<Github variant="mono" /> {/* uses theme.colors.content.primary */}
<Github variant="mono" color="#FF7A00" />
De-emphasise an icon with muted:
<Github muted /> {/* colored glyph at reduced opacity */}
<Github variant="mono" muted /> {/* mono glyph at reduced opacity */}
API Reference
Brand icon components (<Github>, <Discord>, <Steam>, ...)
All brand icons accept the same props (BrandIconProps).
| Prop |
Type |
Default |
Description |
variant |
"colored" \| "mono" |
"colored" |
Renders the colour or monochrome glyph. Mono uses the active theme content.primary token by default. |
size |
number |
24 |
Pixel size (square). |
color |
string |
theme.colors.content.primary |
Manual color override for the mono variant. |
muted |
boolean |
false |
Render the icon in a muted / inactive state by reducing its opacity. Works for both variants; orthogonal to variant. See Muted / inactive state. |
themeMode |
ThemeMode |
current design-system context |
Optional theme mode override used to resolve the default mono color. |
themeProductContext |
ProductContext |
current design-system context |
Optional product context override used to resolve the default mono color. |
className |
string |
— |
CSS class on the wrapper. |
style |
CSSProperties |
— |
Inline styles. |
data-testid |
string |
— |
Test ID (web). |
testID |
string |
— |
Test ID (React Native). |
aria-label |
string |
— |
Accessible label. When set, the icon is exposed as role="img". |
aria-hidden |
boolean |
true if no aria-label |
Hide from assistive tech. |
Mono icons consume ThemeOverrideProps so their default color follows the same theme context as the rest of the UI kit. Colored icons keep their original brand fills, except for plain black ink — see Colored icons on dark backgrounds.
Colored icons on dark backgrounds
In the colored variant, any part of a logo drawn in plain black (black, #000, #000000, rgb(0,0,0)) is rendered with currentColor instead. It follows the CSS color inherited from the surrounding element, so marks such as Apple, Twitter (X), Gog, Unity, Wix, Patreon and the Tiktok note stay visible on a dark surface instead of rendering black-on-black.
- Brand hues (YouTube red, Twitch purple, TikTok cyan/magenta, Google's four colours) and
white knockouts are left exactly as the brand specifies them.
- Near-black brand hues are NOT converted — e.g.
Github (#24292F), Discourse (#231F20) and ParadoxLauncher (#100F0D) keep their published colour.
- On a light surface nothing changes, because the inherited text colour is dark.
- To force a specific ink colour, set
color on a wrapping element (or via style={{ color: '...' }} on the icon); the color prop itself only affects the mono variant.
import * as React from 'react';
import { Apple, Twitter, Unity, Tiktok } from '@xsolla/xui-icons-brand';
export default function OnDarkSurface() {
return (
<div style={{ display: 'flex', gap: 16, padding: 16, background: '#0f1419', color: '#ffffff' }}>
<Apple size={32} aria-label="Apple" />
<Twitter size={32} aria-label="X" />
<Unity size={32} aria-label="Unity" />
<Tiktok size={32} aria-label="TikTok" />
</div>
);
}
Muted / inactive state
Use muted — not variant="mono" — to convey that a brand icon is disabled or de-emphasised.
variant selects which glyph is drawn; muted changes how strongly it is drawn. Reaching for mono to express an inactive state has three problems:
- it recolors the glyph to a single content token, changing the brand's identity rather than its emphasis;
- brand icons that ship colored-only have no mono artwork, so they stay at full colour and cannot be muted that way at all;
- a mixed row of colored and mono icons then reads as inconsistent rather than as "these are inactive".
muted reduces the rendered element's opacity, so it behaves identically for every brand icon regardless of variant, and a mixed row mutes uniformly.
import * as React from 'react';
import { Github, Discord, Steam, Twitch } from '@xsolla/xui-icons-brand';
export default function MutedRow() {
return (
<div style={{ display: 'flex', flexDirection: 'column', gap: 16 }}>
{/* Active */}
<div style={{ display: 'flex', gap: 16 }}>
<Github size={32} aria-label="GitHub" />
<Discord size={32} variant="mono" aria-label="Discord" />
<Steam size={32} aria-label="Steam" />
<Twitch size={32} variant="mono" aria-label="Twitch" />
</div>
{/* Inactive — mutes uniformly across both variants */}
<div style={{ display: 'flex', gap: 16 }}>
<Github size={32} muted aria-label="GitHub" />
<Discord size={32} variant="mono" muted aria-label="Discord" />
<Steam size={32} muted aria-label="Steam" />
<Twitch size={32} variant="mono" muted aria-label="Twitch" />
</div>
</div>
);
}
Inside a disabled control, prefer muting the control (which already dims its contents) over setting muted on the icon as well — stacking both compounds the opacity.
An opacity supplied through the style prop still wins over muted, so a consumer can dial in a different value when a design calls for one.
muted is presentational only. It does not set aria-disabled or otherwise change the accessibility tree — label the surrounding control as disabled.
<BaseIcon>
Internal wrapper exported for advanced use cases (custom brand icons built from raw SVG strings). Most consumers should use the named icon components instead.
Available icons (160+)
Social and communication
Discord, Facebook, FacebookMessenger, Instagram, Line, Linkedin, Meetup, RedditAlien, Skype, Slack, SnapchatGhost, TelegramPlane, Tiktok, Tumblr, Twitter, Viber, Vk, Wechat, Whatsapp
Gaming platforms
BattleNet, EaGames, EpicGamesStore, Gog, GooglePlay, GoogleStadia, ItchIo, MinecraftLauncher, MyNintendoStore, NexonLauncher, Oculus, Origin, ParadoxLauncher, Playstation, RiotGames, RobloxClient, RockstarGames, Steam, SteamSymbol, Ubisoft, Viveport, WargamingGameCenter, Xbox
Payments and finance
AmericanExpress, ApplePay, Btc, CcDinersClub, CcJcb, CcMastercard, CcPaypal, CcVisa, Ethereum, GooglePay, Paypal, Stripe
Tech and productivity
Adobe, Amazon, Apple, Atlassian, Dropbox, Ebay, Etsy, Google, GoogleDrive, Meta, Microsoft, Salesforce
Development
Angular, Bitbucket, Bootstrap, Centos, Codepen, Confluence, Css3Alt, Figma, GitAlt, Github, GithubAlt, Gitlab, Html5, Java, Jira, Linux, NodeJs, Npm, Sketch, Trello, Ubuntu, Unity, WordpressSimple
Browsers
Chrome, Edge, FirefoxBrowser, Opera, Safari
Media and entertainment
Bandcamp, Behance, Deviantart, Dribbble, Flickr, Imdb, ItunesNote, Soundcloud, Spotify, Twitch, Unsplash, VimeoV, Youtube
Xsolla
XsollaLine, XsollaSolid
For the full list, see packages/foundation/icons-brand/src/index.ts.
Examples
Variants
import * as React from 'react';
import { Github, Discord, Steam, Twitch } from '@xsolla/xui-icons-brand';
export default function Variants() {
return (
<div style={{ display: 'flex', flexDirection: 'column', gap: 16 }}>
<div style={{ display: 'flex', gap: 16 }}>
<Github size={32} aria-label="GitHub" />
<Discord size={32} aria-label="Discord" />
<Steam size={32} aria-label="Steam" />
<Twitch size={32} aria-label="Twitch" />
</div>
<div style={{ display: 'flex', gap: 16 }}>
<Github size={32} variant="mono" aria-label="GitHub" />
<Discord size={32} variant="mono" aria-label="Discord" />
<Steam size={32} variant="mono" aria-label="Steam" />
<Twitch size={32} variant="mono" aria-label="Twitch" />
</div>
</div>
);
}
Mono color override
import * as React from 'react';
import { Github, Discord, Steam } from '@xsolla/xui-icons-brand';
export default function MonoColorOverride() {
return (
<div style={{ display: 'flex', gap: 16 }}>
<Github size={32} variant="mono" color="#FF7A00" aria-label="GitHub" />
<Discord size={32} variant="mono" color="#5865F2" aria-label="Discord" />
<Steam size={32} variant="mono" color="#1B2838" aria-label="Steam" />
</div>
);
}
Social media links
import * as React from 'react';
import { Facebook, Twitter, Instagram, Linkedin, Youtube } from '@xsolla/xui-icons-brand';
export default function SocialLinks() {
const socials = [
{ Icon: Facebook, url: 'https://facebook.com/example', label: 'Facebook' },
{ Icon: Twitter, url: 'https://twitter.com/example', label: 'Twitter' },
{ Icon: Instagram, url: 'https://instagram.com/example', label: 'Instagram' },
{ Icon: Linkedin, url: 'https://linkedin.com/company/example', label: 'LinkedIn' },
{ Icon: Youtube, url: 'https://youtube.com/@example', label: 'YouTube' },
];
return (
<div style={{ display: 'flex', gap: 12 }}>
{socials.map(({ Icon, url, label }) => (
<a key={label} href={url} aria-label={label}>
<Icon size={24} aria-hidden />
</a>
))}
</div>
);
}
Platform login buttons
import * as React from 'react';
import { Google, Apple, Steam, Discord } from '@xsolla/xui-icons-brand';
import { Button } from '@xsolla/xui-button';
export default function LoginOptions() {
return (
<div style={{ display: 'flex', flexDirection: 'column', gap: 12 }}>
<Button variant="secondary" iconLeft={<Google size={20} aria-hidden />}>Continue with Google</Button>
<Button variant="secondary" iconLeft={<Apple size={20} aria-hidden />}>Continue with Apple</Button>
<Button variant="secondary" iconLeft={<Steam size={20} aria-hidden />}>Continue with Steam</Button>
<Button variant="secondary" iconLeft={<Discord size={20} aria-hidden />}>Continue with Discord</Button>
</div>
);
}
Unavailable integrations
import * as React from 'react';
import { Steam, Discord, Twitch } from '@xsolla/xui-icons-brand';
export default function Integrations() {
const integrations = [
{ Icon: Steam, label: 'Steam', connected: true },
{ Icon: Discord, label: 'Discord', connected: false },
{ Icon: Twitch, label: 'Twitch', connected: false },
];
return (
<div style={{ display: 'flex', gap: 16 }}>
{integrations.map(({ Icon, label, connected }) => (
<Icon key={label} size={32} muted={!connected} aria-label={label} />
))}
</div>
);
}
Accessibility
- Icons are hidden from screen readers by default.
- Set
aria-label whenever a brand logo carries meaning (e.g. as a stand-alone link).
- Within a labelled control (link/button), keep the icon
aria-hidden and label the control.
muted is presentational only — it does not mark the icon or its control as disabled for assistive tech.