SubComponents
Page
The following components extend the native <div>
API. That's why the className
prop is not included in the tables.
children
ReactNode
✅
PageContent
children
ReactNode
✅
hasPadding
boolean
❌
PageContentFooter
children
ReactNode
✅
PageHeader
children
ReactNode
✅
PageHeaderActions
children
ReactNode
✅
PageHeaderNavigation
children
ReactNode
✅
PageHeaderNavigationButton
This subcomponent extends the SDS Button API. Always a 'ghost' button.
PageHeaderTitle
children
ReactNode
✅
Sidebar
children
ReactNode
✅
SidebarContent
SidebarContentDivider
Just to add a divider in the Sidebar. Extend the 'div' props.
SidebarContentGroup
children
ReactNode
✅
variant
'static' | 'accordion'
❌
heading
string
❌
defaultExpanded
boolean
❌
isExpanded
boolean
❌
onClick
(e: React.MouseEvent) => void;
❌
SidebarContentGroupActions
children
ReactNode
✅
SidebarContentGroupActionsButton
This subcomponent extends the SDS Button API. Always a 'ghost' button. Should be used inside a SidebarContentGroupActions. It is not required to use this button, but recommended. iconOnly
variant used.
SidebarContentGroupItem
children
ReactNode
✅
avatar
string
❌
avatarProfilePic
string
❌
isLoading
boolean
❌
isActive
boolean
❌
notification
string
❌
notificationColor
| 'neutral' | 'inverted' | 'blue' | 'green' | 'yellow' | 'red' | 'indigo' | 'purple' | 'lime' | 'teal' | 'orange' | 'pink';
❌
collapseSidebarOnMobile
() => void
❌
SidebarHeader
children
ReactNode
✅
TabBar
children
ReactNode
✅
TabBarItem
notifcation
string
❌
notificationColor
| 'neutral' | 'inverted' | 'blue' | 'green' | 'yellow' | 'red' | 'indigo' | 'purple' | 'lime' | 'teal' | 'orange' | 'pink';
❌
isActive
boolean
❌
Last updated