SidebarFooter
Navigation & Chrome

SidebarFooter

Place persistent supporting content in the footer of a Sidebar.

SidebarFooter places persistent supporting content after the navigation inside a Sidebar.

Import

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

Props

SidebarFooterProps props
PropTypeDefaultDescription
usageLabelReactNode—Label for the usage meter, e.g. 'Storage'.
usageValueReactNode—Value for the usage meter, e.g. '4.2 / 10 GB'.
usagePercentnumber—Fill percentage for the usage Meter, 0–100.
linksReactNode[]—Array of link elements rendered below the meter.
userInitialsstring—Initials for the user Avatar.
userNamestring—Display name of the current user.
userEmailstring—Email of the current user.
onUserMenu() => void—Click handler for the user menu kebab button.

Example

SidebarFooter