Elliot Sutton

Topography Background

Heroes 104

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

    229
  • Scroll Progress

    Scroll Progress

    147
  • Glyph Background

    Glyph Background

    144
  • Cursor

    Cursor

    140
  • Pin List

    Pin List

    114
  • Bubble Background

    Bubble Background

    107
  • Radix Dropdown Menu

    Radix Dropdown Menu

    103
  • Flip Button

    Flip Button

    102

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.7K
  • Hero

    Hero

    1.3K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Editorial Collage Hero

    Editorial Collage Hero

    507
  • Hero Section

    Hero Section

    445
  • Aero Hero-3

    Aero Hero-3

    618
  • Hero with group of images, text and two buttons

    Hero with group of images, text and two buttons

    442