terra vidhal

Topographic Lines

Backgrounds 16

About

An animated contour map drawn with marching squares where the pointer raises terrain and clicks send ripples.

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

Code

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

Usage.tsx

"use client";

/**
 * PrequelUI Animate — MIT — https://prequeluianimate.terravidhal.me
 */

import { TopographicLines } from "@/components/ui/topographic-lines";

export default function TopographicLinesDemo() {
  return (
    <TopographicLines className="flex min-h-screen items-center justify-center bg-[#f5f2ec] px-6 text-[#1b1b1f] dark:bg-[#0a0a0d] dark:text-[#e8e6e1]">
      <h1 className="relative z-10 text-balance text-center text-6xl font-semibold tracking-[-0.06em] sm:text-8xl">
        Contours
      </h1>
    </TopographicLines>
  );
}

Dependencies

More by terra vidhal

View all
  • Project Timeline

    Project Timeline

    26
  • Gravity Stars Background

    Gravity Stars Background

    20
  • Kanban Board

    Kanban Board

    17
  • Notification Center

    Notification Center

    16
  • Audio Waveform

    Audio Waveform

    16
  • Booking Calendar

    Booking Calendar

    16
  • Kpi Counter

    Kpi Counter

    16
  • Spotlight Card

    Spotlight Card

    15

More in Backgrounds

View all
  • Elegant Dark Pattern

    Elegant Dark Pattern

    975
  • Dark Gradient Background

    Dark Gradient Background

    169
  • Background snippets

    Background snippets

    25
  • Background Components

    Background Components

    254
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    643
  • Honey Ember Background

    Honey Ember Background

    104
  • Gradient Backgrounds

    Gradient Backgrounds

    28
  • Light theme Tailwind CSS Background Snippet

    Light theme Tailwind CSS Background Snippet

    263

Explore more

Part of PrequelUI Animate — browse the full library on 21st.dev.