Skip to Content
🎉 Nextra 4.0 is released. dimaMachina is looking for a new job or consulting.

NotFoundPage Component

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

Props

NameTypeDefault
contentReactNode

Content of the link.

'Submit an issue about broken link'
labelsstring

Labels that can be added to the new created issue.

'bug'
childrenReactNode

Top content of page.

<H1>404: Page Not Found</H1>
classNamestring

CSS class name.

Example

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