Home / Function/ NotFound() — supabase Function Reference

NotFound() — supabase Function Reference

Architecture documentation for the NotFound() function in not-found.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/docs/app/not-found.tsx lines 10–43

export default function NotFound() {
  return (
    <SidebarSkeleton>
      <LayoutMainContent>
        <article className="prose max-w-[80ch]">
          <h1>404: We couldn&apos;t find that page</h1>
          <p>
            Sorry, we couldn&apos;t find that page. It might be missing, or we had a temporary error
            generating it.
          </p>
          <div className="flex flex-wrap gap-4 pt-4">
            <SearchButton />
            <Button type="default" size="small" className="p-4" asChild>
              <Link href="/" className="no-underline">
                Return to homepage
              </Link>
            </Button>
            <Button type="text" size="small" asChild>
              <Link
                href="https://github.com/supabase/supabase/issues/new?assignees=&labels=documentation&projects=&template=2.Improve_docs.md"
                target="_blank"
                rel="noreferrer noopener"
                className="no-underline"
              >
                Report missing page
              </Link>
            </Button>
          </div>
          <Recommendations />
        </article>
      </LayoutMainContent>
    </SidebarSkeleton>
  )
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free