Component packs › Vector › Target Lock
Corner brackets fly to whatever you hover, resize on a spring and snap shut with a lock readout.
Target Lock is an overlay from Vector, a component pack with 8 components: Sci-fi HUD components that stay readable. Price: $2 for the whole pack.
Built with: spring reticle, acquire → lock, focus follows.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
items | TargetLockItem[] | ||
autoplay | boolean | Showcase mode: locks onto tiles by itself. | |
onLock | (index: number) => void |
destroy(): voidimport TargetLock from './TargetLock';
<TargetLock />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Admin dashboard UI, Chart components.