Vivid API

Brand

Displays a brand icon in multi-color or mono variant.

Usage

import { registerBrand } from '@vonage/vivid-api';
registerBrand('your-prefix');

Label

Use the label attribute to provide an accessible name when the brand icon conveys meaning. When no label is provided (or it is whitespace-only), aria-hidden="true" is applied automatically and the icon is treated as decorative.

See the Accessibility section for more information.

Size

Use the size attribute to choose a predefined size scale (shared with vwc-icon).

API Reference

Properties

PropertyTypeDefaultDescription
labelstringProvides a (screen reader only) descriptive label for the brand icon.
namestringThe brand name to display (e.g. "android", "slack", "vonage").
size0 | 1 | -1 | 2 | 3 | 4 | 5 | -6 | -5 | -4 | -3 | -2Controls the rendered size. Uses the same scale and behavior as `Icon.size`.
variant'color' | 'mono'The variant of the brand icon. Defaults to "color".
PropertyTypeDefaultDescription
labelstringProvides a (screen reader only) descriptive label for the brand icon.
namestringThe brand name to display (e.g. "android", "slack", "vonage").
size0 | 1 | -1 | 2 | 3 | 4 | 5 | -6 | -5 | -4 | -3 | -2Controls the rendered size. Uses the same scale and behavior as `Icon.size`.
variant'color' | 'mono'The variant of the brand icon. Defaults to "color".