Block

Not Found.

A 404 page with a big Space Grotesk 404, a tilted terminal that fails to resolve hub://page-not-found/, and buttons back home and to search.

Installation#

$npx lanterncn add not-found

This copies the file into components/not-found and installs every component it uses. With the shadcn CLI: npx shadcn@latest add httptim/lantern-ui/not-found.

Usage#

Render it from any page.

import NotFound from "@/components/not-found/not-found";

export default function Page() {
  return <NotFound />;
}

In the Next.js app router, render it from app/not-found.tsx.