Skip to content

Giant digits

404 page with a headline over oversized faint digits.

Usage

Usage
import { NotFound } from '@/components/blocks/not-found-01'


<NotFound />


// Swap in your own content
<NotFound
  title="Nothing to see here"
  description="This link is broken or the page was moved."
  primaryAction={{ label: 'Back to dashboard', href: '/dashboard' }}
  secondaryAction={{ label: 'Contact support', href: '/support' }}
/>

Install

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

Source

Props

Giant digits props
PropTypeDefaultDescription
codestring= '404'Digits drawn large behind the content and announced to screen readers.
titlestring= 'This page took a detour'Main headline, rendered as the page h1.
descriptionstring= Short friendly noteSupporting text under the headline.
primaryActionNotFoundAction= { label: 'Take me home', href: '/' }Label and href for the blue pill button.
secondaryActionNotFoundAction= undefinedOptional quieter text link shown beside the button.
classNamestring= undefinedExtra classes for the section, e.g. a fixed min height.