Skip to main content
The Brand Editor component allows you to customize and manage a tenant’s brand settings directly within your application. This brand editor provides an interface for modifying brand colors, logos, and other visual elements that will be applied to your templates.
For successful authentication it’s required to generate a JWT with proper brand scopes.*

Basic Setup

To embed the Brand Editor, install and import the required components and styles:

Publishing Hook

Similar to the Template Editor, the Brand Editor also provides a publishing hook that allows you to customize the publishing behavior. You can use the useBrandActions hook to programmatically trigger brand updates and integrate them with your application’s workflow.
useBrandActions must be used inside of the <BrandProvider /> context

Theming and Customization

Apply visual styles directly to match each tenant’s brand:

BrandEditor Props

Required Authentication Scopes

  • tenant:${TENANT_ID}:brand:read | Allows the user to read brand data for a specific tenant.
  • tenant:${TENANT_ID}:brand:write | Allows the user to write brand data for a specific tenant.

Brand + Template Editors

Courier Create allows you to use both editors in a single interface via the brandEditor prop on TemplateEditor. No need to use BrandProvider separately: