DashboardSidebarPageItem API
API reference docs for the React DashboardSidebarPageItem component. Learn about the props, CSS, and other APIs of this exported module.
Demos
Import
import { DashboardSidebarPageItem } from '@toolpad/core/DashboardLayout';| Name | Type | Default | Description | 
|---|---|---|---|
| item* | { action?: node, children?: Array<object | { kind: 'header', title: string } | { kind: 'divider' }>, icon?: node, kind?: 'page', pattern?: string, segment?: string, title?: string } | - | Navigation page item definition. | 
| disabled | bool | false | If  | 
| expanded | bool | false | If  | 
| href | string | getItemPath(navigationContext, item) | Link  | 
| LinkComponent | elementType | Link | The component used to render the item as a link. | 
| selected | bool | false | Use to apply selected styling. | 
The component cannot hold a ref.
Source code
If you did not find the information in this page, consider having a look at the implementation of the component for more detail.