> For the complete documentation index, see [llms.txt](https://docs.reactium.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.reactium.io/reactium-toolkit/components/menu-link.md).

# MenuLink

![](/files/-MS6115ZtlO3hqsuO7YV)

## Properties

| Property     | Type      | Description                                                                                                     |
| ------------ | --------- | --------------------------------------------------------------------------------------------------------------- |
| **children** | `Node`    | <p>Element to render inside the component</p><p><strong><code>Required: true</code></strong></p>                |
| **exact**    | `Boolean` | <p>When determining the active state, use an exact match</p><p><strong><code>Default: false</code></strong></p> |
| **expanded** | `Boolean` | <p>Determines the default expanded state</p><p><strong><code>Default: false</code></strong></p>                 |
| **group**    | `String`  | When rendering as a Child Link, the Top-Level ID to target                                                      |
| **id**       | `String`  | <p>Unique ID of the component</p><p><strong><code>Required: true</code></strong></p>                            |
| **url**      | `String`  | Wraps the children in an anchor tag                                                                             |

{% hint style="info" %}
Any additional properties are passed to the MenuLink container element.
{% endhint %}

## Usage

{% code title="reactium-hooks.js" %}

```jsx
import Reactium from 'reactium-core/sdk';

Reactium.Plugin.register('ToolkitOverview').then(() => {
    if (!Reactium.Toolkit) return;

    Reactium.Hook.register(
        'plugin-ready',
        () => {
            const MenuLink = Reactium.Component.get('RTKMENULINK');

            Reactium.Toolkit.Sidebar.register('overview', {
                exact: true,
                url: '/toolkit',
                component: MenuLink,
                children: 'Overview',
                'aria-label': 'Overview',
                order: Reactium.Enums.priority.highest,
            });
        }
    );
});
```

{% endcode %}
