Fine-tune light, shadows, borders, neumorphic
Light and shadows
Borders
Neumorphic
Marketing template

Not found (404)

A 404 page that helps: the address that was not found, a search across the site as you type, the main pages, go back, and a way to report the link.

Live preview

Full screen

Desktops have one layout. On phones and tablets the same markup can also lay itself out like a native app: or .

Code

Copy it into a page of your app. Load the CSS and register the components once (see framework setup); links point at routes like /orders that you replace with your own.

This template works: the page renders from data.ts (sample rows, replace them with your API) and behavior.ts makes its controls work. The behaviour file is the same in every framework.

<script type="module"> import '@prismora/css'; import '@prismora/elements/badge'; import '@prismora/elements/button'; import '@prismora/elements/card'; import '@prismora/elements/drawer'; import '@prismora/elements/icon'; import '@prismora/elements/input'; import '@prismora/elements/list'; import '@prismora/elements/theme-settings'; import '@prismora/elements/theme-switch'; import { registerIcons } from '@prismora/elements/icon'; import { activity, arrowLeft, chevronRight, creditCard, fileText, home, lifeBuoy, mail, search, settings, sparkles, user, zap } from '@prismora/icons'; import { data } from './prismora/not-found/data'; import { setup } from './prismora/not-found/behavior'; registerIcons([activity, arrowLeft, chevronRight, creditCard, fileText, home, lifeBuoy, mail, search, settings, sparkles, user, zap]); setup(document.body, data); </script> <main class="pm-centered-page" style="--pm-container: 36rem"> <a href="/" class="pm-brand pm-justify-center"> <pm-icon name="zap"></pm-icon> <span class="pm-brand-name">Lumen</span> </a> <div class="pm-stack pm-items-center pm-text-center"> <pm-badge tone="neutral" size="lg">Error 404</pm-badge> <h1 class="pm-text-4xl pm-heading">This page does not exist</h1> <p class="pm-lead"> The link may be old, or the page may have moved. <span data-ref="path-row" hidden> We looked for <code data-ref="path"></code> . </span> </p> <div class="pm-cluster pm-justify-center"> <pm-button icon-start="home" href="/">Go to the home page</pm-button> <pm-button variant="outline" tone="neutral" icon-start="arrow-left" data-action="back">Go back</pm-button> </div> </div> <pm-card heading="Find what you were looking for"> <div class="pm-stack"> <form role="search" novalidate data-ref="form"> <pm-input type="search" label="Search the site" hide-label placeholder="Search the site" icon-start="search" clearable data-ref="search"></pm-input> </form> <pm-list divided label="Pages" data-ref="pages"> <pm-list-item icon-start="home" icon-end="chevron-right" heading="Product overview" description="What Lumen does" href="/"></pm-list-item> <pm-list-item icon-start="credit-card" icon-end="chevron-right" heading="Pricing" description="Plans, seats and what each includes" href="/pricing"></pm-list-item> <pm-list-item icon-start="user" icon-end="chevron-right" heading="Sign in" description="Open your workspace" href="/sign-in"></pm-list-item> <pm-list-item icon-start="life-buoy" icon-end="chevron-right" heading="Help centre" description="Guides and answers" href="/help"></pm-list-item> <pm-list-item icon-start="mail" icon-end="chevron-right" heading="Contact" description="Talk to a person" href="/contact" hidden></pm-list-item> <pm-list-item icon-start="sparkles" icon-end="chevron-right" heading="Changelog" description="What is new" href="/changelog" hidden></pm-list-item> <pm-list-item icon-start="file-text" icon-end="chevron-right" heading="Blog" description="Notes from the team" href="/blog" hidden></pm-list-item> <pm-list-item icon-start="activity" icon-end="chevron-right" heading="System status" description="Is everything working?" href="/status" hidden></pm-list-item> <pm-list-item icon-start="credit-card" icon-end="chevron-right" heading="Billing and invoices" description="Download an invoice, change your plan" href="/billing" hidden></pm-list-item> <pm-list-item icon-start="settings" icon-end="chevron-right" heading="Account settings" description="Password, two-step verification, sessions" href="/settings" hidden></pm-list-item> </pm-list> <p class="pm-text-sm pm-muted" data-ref="none" hidden> Nothing matches. Try another word, or <a href="/contact">ask us</a> . </p> </div> </pm-card> <p class="pm-text-sm pm-muted pm-text-center"> Did a link on our site bring you here? <pm-button variant="link" size="sm" data-action="report" data-ref="report">Report the broken link</pm-button> </p> </main> <div class="pm-display-corner"> <pm-theme-switch size="sm" class="pm-site-wide" variant="toggle"></pm-theme-switch> <pm-button size="sm" variant="ghost" tone="neutral" icon icon-start="settings" label="Display settings" commandfor="display-settings" command="--open"></pm-button> </div> <pm-drawer id="display-settings" heading="Display settings" description="Saved in this browser." side="end"> <pm-theme-settings></pm-theme-settings> </pm-drawer>

With the CLI

npx @prismora/cli add not-found --write

Writes the page into your routes folder and both files into prismora/not-found/.

With an AI agent (MCP)

scaffold_page({ pattern: "not-found", framework: "html" })

Components in this template