# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.reactium.io/reactium-toolkit/components/menu-link.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
