Aakash

Interactive Sniper Scope

Component 30

About

A full-screen rifle scope with a lit green mil-dot reticle, breathing sway and recoil. Shoot glass bottles on a wooden range shelf and they shatter into real fractured shards that bounce and settle. Hit the HOME plate to go home, or RESET to restock. All canvas, synthesized sound.

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

Code

How Interactive Sniper Scope is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { SniperScope } from "@/components/ui/sniper-scope";

export default function SniperScopeDemo() {
  return (
    <SniperScope homeHref="https://aakashmehra.com">
      <p className="m-0 text-[12px] text-white/40">
        by{" "}
        <a
          href="https://aakashmehra.com/ref/sniperscope"
          target="_blank"
          rel="noopener noreferrer"
          className="text-white/70 underline-offset-4 hover:underline"
        >
          aakashmehra.com
        </a>
      </p>
    </SniperScope>
  );
}

More by Aakash

View all
  • Skincare Product Shelf

    Skincare Product Shelf

    422
  • Coffee Pour Menu

    Coffee Pour Menu

    354
  • Holographic Business Card

    Holographic Business Card

    201
  • Disc Reveal List

    Disc Reveal List

    74
  • Nearby Walk Menu

    Nearby Walk Menu

    67
  • Foggy Window Wipe

    Foggy Window Wipe

    43
  • Liquid Glass Login

    Liquid Glass Login

    42
  • Liquid Glass Button

    Liquid Glass Button

    42