uğur sözen

Centered 404 Message

Navigation 7

About

A minimal centered 404 not-found page with a large error code, heading, short explanation, call-to-action buttons, and a row of popular page links.

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

Code

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

Usage.tsx

import Error1 from "@/components/ui/error1";
import { House } from "lucide-react";

export default function Error1Demo() {
  return (
    <Error1
      code="404"
      heading="This page could not be found"
      description="The page you are looking for was moved, renamed, or never existed. Check the address, or pick one of the pages below."
      buttons={[
        { label: "Back to home", href: "#", icon: House },
        { label: "Contact support", href: "#", variant: "outline" },
      ]}
      linksLabel="Popular pages"
      links={[
        { label: "Documentation", href: "#" },
        { label: "Pricing", href: "#" },
        { label: "Blog", href: "#" },
        { label: "Changelog", href: "#" },
      ]}
    />
  );
}

Dependencies

More by uğur sözen

View all
  • Worth Keeping CTA

    Worth Keeping CTA

    221
  • Comparison Slider with Highlights

    Comparison Slider with Highlights

    194
  • Before/After Image Slider

    Before/After Image Slider

    125
  • Invoice History Table

    Invoice History Table

    71
  • Recipe Card

    Recipe Card

    38
  • Shop by Category Grid

    Shop by Category Grid

    36
  • PIN Keypad Unlock

    PIN Keypad Unlock

    36
  • Trigger to Action

    Trigger to Action

    34

More in Navigation

View all
  • Sidebar

    Sidebar

    286
  • Navbar

    Navbar

    1
  • Tabs

    Tabs

    34
  • Oversized 404 Numeral

    Oversized 404 Numeral

    57
  • Breadrcrumb

    Breadrcrumb

    8
  • Pagination

    Pagination

    91
  • Sidebar

    Sidebar

    348
  • Pagination

    Pagination

    15