Skip to main content

Interface: GeovisWorkspaceSidebarHeader

Defined in: context/GeovisWorkspaceContext.ts:360

A zone's header: a leading icon chip and a title.

Properties

icon?

optional icon?: string

Defined in: context/GeovisWorkspaceContext.ts:380

Iconify token, rendered in the tab and — while the section is active and carries a title — in the header band's leading chip.


iconBackground?

optional iconBackground?: string

Defined in: context/GeovisWorkspaceContext.ts:384

Background of the header's icon chip (hex or token).


iconColor?

optional iconColor?: string

Defined in: context/GeovisWorkspaceContext.ts:382

Color of the header icon (hex or token).


title?

optional title?: string

Defined in: context/GeovisWorkspaceContext.ts:375

Names the section: it heads the sidebar band while the section is active, and labels the section's tab for assistive tech and on hover.

Omit it on every section and the band goes away entirely: the tab bar moves up to the top of the card and takes the close button with it, so nothing is spent on an empty strip. Omit it on some and the band stays for all — one that appeared and vanished per tab would shift the card under the pointer — heading the untitled ones with nothing.

Either way the tab keeps its icon and falls back to the section's id for its accessible name, which is a poor label; prefer a title unless the tab bar alone is meant to carry the navigation.