uğur sözen

Centered 404 Message

Navigation 13

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

    280
  • Comparison Slider with Highlights

    Comparison Slider with Highlights

    216
  • Before/After Image Slider

    Before/After Image Slider

    139
  • Invoice History Table

    Invoice History Table

    106
  • Shop by Category Grid

    Shop by Category Grid

    56
  • Recipe Card

    Recipe Card

    51
  • PIN Keypad Unlock

    PIN Keypad Unlock

    45
  • Trigger to Action

    Trigger to Action

    39

More in Navigation

View all
  • Footer with Big Wordmark

    Footer with Big Wordmark

    100
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    295
  • Sidebar

    Sidebar

    422
  • Pagination with Ellipsis

    Pagination with Ellipsis

    25
  • Pagination

    Pagination

    3
  • Tabs

    Tabs

    33
  • Menu

    Menu

    23
  • Breadrcrumb

    Breadrcrumb

    6