---
title: Menu tags
framework: appkit
role: collectionGroup
role_heading: API Collection
path: appkit/menu-tags
---

# Menu tags

Constants for identifying special menu items in the search-menu template.

## Overview

Overview When an NSSearchFieldCell object dynamically constructs the actual search menu from this template, it shows or hides the tagged items as directed.

## Topics

### Constants

- [recentsTitleMenuItemTag](appkit/nssearchfield/recentstitlemenuitemtag.md)
- [recentsMenuItemTag](appkit/nssearchfield/recentsmenuitemtag.md)
- [clearRecentsMenuItemTag](appkit/nssearchfield/clearrecentsmenuitemtag.md)
- [noRecentsMenuItemTag](appkit/nssearchfield/norecentsmenuitemtag.md)
