---
id: fast-components.fastmenuitem
title: fastMenuItem variable
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-components](./fast-components.md) &gt; [fastMenuItem](./fast-components.fastmenuitem.md)

## fastMenuItem variable

A function that returns a [MenuItem](./fast-foundation.menuitem.md) registration for configuring the component with a DesignSystem. Implements [menuItemTemplate](./fast-foundation.menuitemtemplate.md)

<b>Signature:</b>

```typescript
fastMenuItem: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<MenuItemOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<MenuItemOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>
```

## Remarks

Generates HTML Element: `<fast-menu-item>`
