Mark Yo

404 Magnetic

Component

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

    64
  • Pricing Table

    Pricing Table

    23
  • Bento Grid

    Bento Grid

    4
  • Expandable Tabs

    Expandable Tabs

    1
  • Shared Layout Background

    Shared Layout Background

    1
  • Stateful Button

    Stateful Button

  • Animated Button

    Animated Button

  • Morphing Modal

    Morphing Modal