uğur sözen

404 Did You Mean

Component 4

About

A left-aligned 404 error page section that strikes through the requested path and points visitors to the closest matching page with a suggestion box and a back-to-home button.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds 404 Did You Mean to your project and fits it to your theme.

Code

How 404 Did You Mean is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import Error9 from "@/components/ui/error9";

export default function Error9Demo() {
  return (
    <Error9
      code="404"
      heading="That page moved"
      description="We could not match this address, but one page comes close. Old links keep working for six months after a move."
      requestedPath="/docs/install/quick-start"
      suggestionLabel="Did you mean"
      suggestion={{ label: "/docs/getting-started", href: "https://beste.co" }}
      button={{ label: "Back to home", href: "https://beste.co" }}
    />
  );
}

Dependencies

More by uğur sözen

View all
  • Worth Keeping CTA

    Worth Keeping CTA

    206
  • Comparison Slider with Highlights

    Comparison Slider with Highlights

    191
  • Before/After Image Slider

    Before/After Image Slider

    121
  • Invoice History Table

    Invoice History Table

    66
  • Recipe Card

    Recipe Card

    38
  • PIN Keypad Unlock

    PIN Keypad Unlock

    34
  • Trigger to Action

    Trigger to Action

    34
  • Shop by Category Grid

    Shop by Category Grid

    33