Skip to content
Tennantite
中文
Documentation

Crosshair

Pure CSS crosshair with an optional hidden state.

Install

CLI copy

$npx shadcn add @tennantite/crosshair

npm install

$pnpm add @tennantite/ui

npm installs the compiled package; use the CLI copy above to adapt the source.

Source

packages/ui/src/screens/hud/crosshair/index.tsx

The npm package keeps the source tree, so you can copy and adapt it directly.