Skip to content

Lost explorer

404 page with an animated line-drawn illustration.

Usage

Usage
import { NotFoundExplorer } from '@/components/blocks/not-found-04'


<NotFoundExplorer />


// Swap in your own content
<NotFoundExplorer
  title="We searched everywhere"
  description="The link may be broken, or the page has moved on."
  primaryAction={{ label: 'Back to dashboard', href: '/dashboard' }}
  secondaryAction={{ label: 'Contact support', href: '/support' }}
/>

Install

pnpm dlx shadcn@latest add @pastaui-pro/not-found-04

Source

Props

Lost explorer props
PropTypeDefaultDescription
codestring= '404'Light digits circled in blue pen above the headline.
titlestring= 'Hmm, this page wandered off.'Main headline, rendered as the page h1.
descriptionstring= Short playful noteSupporting text under the headline.
primaryActionNotFoundExplorerAction= { label: 'Back to home', href: '/' }Label and href for the solid blue button.
secondaryActionNotFoundExplorerAction= { label: 'Browse the docs', href: '/docs' }Label and href for the outline button.
classNamestring= undefinedExtra classes for the section, e.g. a fixed min height.