Skip to Content
UI Kit
Screens (56)

Brand Regions

Brand / Regions — where a brand shows up in AI answers, country by country, in a single file.

Open preview
Loading Brand Regions…

Usage

import { BrandRegionsScreen } from "ui-kit/screens/brand-regions";

Props

PropTypeDefaultDescription
workspacestring"Northwind"The workspace in the sidebar
brandstring"Brand"The page's heading
regionsBrRegion[] | ((query: BrandRegionsQuery) => BrRegion[])—Metrics for the current filters, or a fixed dataset supplied by the host.
onQueryChange(query: BrandRegionsQuery) => void—Called when the host should load a new dataset.
answersnumber5_600How many answers the numbers come from – the button on the right of the tabs
dateDate—The last day of the period, for the tooltip
defaultTab(typeof TABS)[number]"Regions"The tab the screen opens on – its content here is Regions; the others call onTab
onTab(tab: (typeof TABS)[number]) => void—Called when another tab is picked
onAnswers() => void—The 5.6k answers button
loadingbooleanfalseGray map and rows while the numbers load
emptybooleanfalseNo answers yet in this period