# SidebarMenuLinkProps (@salmonui/navigation/sidebar-menu)

> The SidebarMenuLinkProps interface of @salmonui/navigation/sidebar-menu: Props a link item passes to renderLink: spread all of them on the link element.

Canonical: https://salmonui.dev/docs/reference/navigation/sidebar-menu/SidebarMenuLinkProps

```ts
import type { SidebarMenuLinkProps } from '@salmonui/navigation/sidebar-menu';
```

Entry index: https://salmonui.dev/docs/reference/navigation/sidebar-menu (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/navigation/sidebar-menu.md).

## Reference

Kind: interface

```ts
interface SidebarMenuLinkProps {
    readonly href: string;
    readonly className: string;
    readonly 'aria-current'?: 'page' | undefined;
    readonly 'data-sidebar-menu-item': string;
    readonly 'data-sidebar-menu-leaf': '';
    readonly children: ReactNode;
}
```

Props a link item passes to `renderLink`: spread all of them on the link element.

Members (6):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `href` | `readonly href: string;` |  |  |
| `className` | `readonly className: string;` |  |  |
| `aria-current` | `readonly 'aria-current'?: 'page' \| undefined;` | optional |  |
| `data-sidebar-menu-item` | `readonly 'data-sidebar-menu-item': string;` |  | The item id; the menu reads it to select the item on click. |
| `data-sidebar-menu-leaf` | `readonly 'data-sidebar-menu-leaf': '';` |  |  |
| `children` | `readonly children: ReactNode;` |  |  |
