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
import { SidebarOrgSwitcher } from "@solarius/onset";Props
| Prop | Type | Default | Description |
|---|---|---|---|
initials | string | — | Initials shown in the org icon circle. |
name | string | — | Organization name. |
sub | string | — | Sub-label, e.g. plan tier or member count. |