How to Create a "Pages" Menu in Figma Prototypes

Some Figma Community files have a menu in the top-left corner (see example here or screenshot below) that lets us navigate from one page to another in the preview file.

  • Is that menu a feature that only shared/published community files can have?
  • Is that menu something that each community file author adds manually?
  • I am trying to find the best way to link across many pages in a single prototype.

This menu appears on files published to community automatically when the file has multiple pages and is shared as a file instead of a prototype.

This would be a great feature to have for regular prototypes so that we can jump from page to page within a prototype just as quickly.