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

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [menuItemTemplate](./fast-foundation.menuitemtemplate.md)

## menuItemTemplate variable

Generates a template for the [MenuItem](./fast-foundation.menuitem.md) component using the provided prefix.

<b>Signature:</b>

```typescript
menuItemTemplate: FoundationElementTemplate<ViewTemplate<MenuItem>, MenuItemOptions>
```