This component no longer exists. It was in obsidianui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-05 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
eagle-vision
obsidianui/eagle-visionRemovedComponent
obsidianui publishes no description for this item.
Live preview
live · rendered by the registry
Rendered by obsidianui on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://obsidianui.dev/r/eagle-vision.jsonSource
1'use client';23import { useSpring, useTransform, MotionValue, motion, useMotionValue } from 'framer-motion';4import React, { useEffect } from 'react';5import { createPortal } from 'react-dom';67interface RingProps {8 x: MotionValue<number>;9 y: MotionValue<number>;10 size: MotionValue<number>;11 borderRadius: MotionValue<number>;12 distanceBetweenRings: MotionValue<number>;13}1415const MAX_DISTANCE = 1440;16const MIN_DISTANCE = 100;17const CORRECT_DISTANCE = 76;1819const Ring = ({ x, y, size, borderRadius, distanceBetweenRings }: RingProps) => (20 <motion.span21 className="fixed z-10"22 style={{23 transform: useTransform([x, y], ([x, y]: number[]) => `translate(${x}px, ${y}px)`),24 height: size,25 width: size26 }}27 >28 <span className="absolute inset-0 flex items-center justify-center">29 <motion.span30 style={{31 width: size,32 height: size,33 borderColor: useTransform(size, (value) => (value < CORRECT_DISTANCE ? '#00ff00' : 'white')),34 borderRadius: useTransform(borderRadius, (value) => `${value}px`)35 }}36 className="absolute border animate-spin-reverse"37 />38 <motion.span39 style={{40 width: useTransform([size, distanceBetweenRings], ([s, d]: number[]) => s - d + 3),41 height: useTransform([size, distanceBetweenRings], ([s, d]: number[]) => s - d + 3),42 borderColor: useTransform(size, (value) => (value < CORRECT_DISTANCE ? '#00ff00' : 'white')),43 borderRadius: useTransform(borderRadius, (value) => `${value}px`)44 }}45 className="absolute border animate-spin-reverse"46 />47 <motion.span48 style={{49 width: useTransform([size, distanceBetweenRings], ([s, d]: number[]) => s - d - 10),50 height: useTransform([size, distanceBetweenRings], ([s, d]: number[]) => s - d - 10),51 borderColor: useTransform(size, (value) => (value < CORRECT_DISTANCE ? '#00ff00' : 'white')),52 borderRadius: useTransform(borderRadius, (value) => `${value}px`)53 }}54 className="absolute border border-dashed animate-spin"55 />56 <motion.span57 style={{58// … truncated
What it pulls in
npm packages
