Skip to content

Dusk gradient

404 page over a dusk sky with a glowing horizon.

Usage

Usage
import { NotFoundGradient } from '@/components/blocks/not-found-03'


<NotFoundGradient />


// Swap in your own content
<NotFoundGradient
  title="This trail ends here"
  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-03

Source

Props

Dusk gradient props
PropTypeDefaultDescription
codestring= '404'Large digits shown above the horizon line.
titlestring= 'Lost somewhere past the horizon'Main headline, rendered as the page h1.
descriptionstring= Short friendly noteSupporting text under the headline.
primaryActionNotFoundGradientLink= { label: 'Back to home', href: '/' }Label and href for the solid pill button.
secondaryActionNotFoundGradientLink= undefinedOptional second, frosted glass button. Hidden unless you pass one.
classNamestring= undefinedExtra classes for the section, e.g. a fixed min height.