ResourceMenuItemGroup
Groups related resource menu items under a heading.
Installation
pnpm dlx shadcn@latest add @chelone/resource-menu-item-groupGroups related resource menu items under a heading.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | Extra CSS class appended to the wrapping sidebar group. |
| defaultOpen | boolean | — | Initial open state for labeled (collapsible) groups. |
| label | string | — | Optional section label. Omit for the ungrouped resource section. |
| menuClassName | string | — | Extra CSS class appended to the underlying sidebar menu. |
| resources | string[] | — | Resource names to render. When omitted, every registered resource with `hasList === true` is rendered. |