SidebarOrgSwitcher
Navigation & Chrome

SidebarOrgSwitcher

Display the active organization and open an application-provided selector.

SidebarOrgSwitcher renders a button with organization initials, name, and secondary text. Use onClick to open the application's organization selector.

Import

TSX
import { SidebarOrgSwitcher } from "@solarius/onset";

Props

SidebarOrgSwitcherProps props
PropTypeDefaultDescription
initialsstring—Initials shown in the org icon circle.
namestring—Organization name.
substring—Sub-label, e.g. plan tier or member count.

Example

SidebarOrgSwitcher