Qwik Homepage
  • Docs
  • Qwik City
  • Examples
  • Tutorial
  • Playground
  • GithubGithub
  • @Builder.ioTwitter
  • DiscordDiscord
  1. APIs
  2. useContent()
Qwik City
  • Overview
  • File Layout
  • Static Assets
Routing
  • Overview
  • Index
  • Route Parameters
  • Pathless Dirs
Layout
  • Overview
  • Nested
  • Named
Authoring Content
  • Components
  • MDX
  • Menu
Data Endpoints
  • Overview
  • Retrieving Data
  • Modifying Data
  • Non 200 Responses
Head
  • Title
APIs
  • useContent()
  • useDocumentHead()
  • useLocation()
Middleware
  • Overview
  • Express

Qwik City - useContent()

Use useContent() to retrieve the nearest menu for current route.

Menus are contextual data declared with _menu.mdx files. See menus file definition for more information on the file format and location.

Title
useDocumentHead()
Github@QwikDevDiscord
Made with ♡ by the Builder.io team
More
  • Edit this page
  • Create an issue
  • ChatboxJoin our community
  • GithubGithub
  • Twitter@QwikDev