Mark Yo

404 Magnetic

Component 3

About

A 404 "page not found" screen whose big digits pull toward the cursor with a magnetic hover effect and settle back into place when it leaves.

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

Code

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

Usage.tsx

import NotFoundMagnetic from "@/components/ui/not-found-magnetic";

export default function NotFoundMagneticDemo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background p-8">
      <NotFoundMagnetic />
    </div>
  );
}

More by Mark Yo

View all
  • Loader

    Loader

    72
  • Pricing Table

    Pricing Table

    33
  • Bento Grid

    Bento Grid

    22
  • Approval Queue

    Approval Queue

    20
  • Expandable Tabs

    Expandable Tabs

    19
  • Image Gallery

    Image Gallery

    17
  • Wallet Card

    Wallet Card

    15
  • Feature Section

    Feature Section

    12