Skip to Content
Nextra 4.0 is released. Read more

NotFoundPage

Options to configure report of broken link on not found page.

OptionTypeDescription
contentReactNodeContent of the link. Default: "Submit an issue about broken link →"
labelsstringLabels that can be added to the new created issue. Default: "bug"
childrenReactNodeTop content of page. Default: <H1>404: Page Not Found</H1>
app/not-found.jsx
import { NotFoundPage } from 'nextra-theme-docs'
 
export default function NotFound() {
  return (
    <NotFoundPage content="Submit an issue" labels="broken-link">
      <h1>The page is not found</h1>
    </NotFoundPage>
  )
}
Last updated on