GitHub

Brand Provider

Context provider for brand/theme configuration and switching

Installation

pnpm add @corew500/ui

Usage

import { BrandProvider } from "@corew500/ui/brand-provider"

<BrandProvider>Content</BrandProvider>

API Reference

Props

PropTypeDefaultDescription
defaultBrandenumInitial brand to use. Defaults to localStorage value or "default"
storageKeystringmordecai-brandlocalStorage key for persistence

Accessibility

Additional

  • - Brand preference persists across sessions via localStorage

Localization

Translatable Content

  • - No translatable strings; brand names are internal ("default", "kilalo")

Related

Related Components