Elliot Sutton

Topography Background

Heroes 91

About

An animated full-bleed background of living contour lines, like a topographic map, that rise into a hill under the cursor and ripple outward on click.

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

Code

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

Usage.tsx

"use client";

import { TopographyBackground } from "@/components/ui/backgrounds-topography";

export default function TopographyBackgroundDemo() {
  return (
    <div className="relative h-screen w-full overflow-hidden">
      <TopographyBackground className="absolute inset-0 bg-[radial-gradient(ellipse_at_center,#fafafa_0%,#f0f0f0_100%)] text-neutral-500 dark:bg-[radial-gradient(ellipse_at_center,#171717_0%,#000_100%)] dark:text-neutral-400" />
    </div>
  );
}

Dependencies

More by Elliot Sutton

View all
  • Notification List

    Notification List

    222
  • Scroll Progress

    Scroll Progress

    144
  • Cursor

    Cursor

    132
  • Pin List

    Pin List

    111
  • Radix Dropdown Menu

    Radix Dropdown Menu

    101
  • Flip Button

    Flip Button

    100
  • Bubble Background

    Bubble Background

    95
  • Avatar Group

    Avatar Group

    93

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.1K
  • SaaS Template

    SaaS Template

    2.6K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1K
  • Hero

    Hero

    1.3K
  • Hero 03

    Hero 03

    346
  • Hero Section

    Hero Section

    434
  • Editorial Collage Hero

    Editorial Collage Hero

    477
  • Hero Golden Spiral

    Hero Golden Spiral

    105