Account

Chrome

Creative

Edge Tracer

Runs once per event and fades: a card hovered, a row saved, a field accepted. Not ambient like Border Beam.

Install

Included with Creative: needs your API key. Initialize and log in once.

Terminal
npx @galactrex/ui add edge-tracer

Usage

Example
import { EdgeTracer } from "@/components/galactrex/edge-tracer";

<div className="relative rounded-xl border p-6"><EdgeTracer />…</div>

Source

Installs to components/galactrex/edge-tracer.tsx, with the shared motion primitives beside it.

Source for this component comes with its plan. Install it with the command above, or open your licensed copy here.

See plans

Props

PropTypeDefaultDescription
trigger"hover" | "manual""hover"What runs a lap.
playnumber—Change it for a lap, trigger="manual".
durationnumber0.9Seconds per lap.
lengthnumber0.22Head length as a share.
radiusnumber12Match the parent.
widthnumber1.5Stroke width.
colorstring—Any CSS colour; defaults to a theme token.
classNamestring—Extra classes for the outer element.

Variants

  • Saved. Bump `play` when a save succeeds.

Accessibility

  • Decorative; confirm in text too.

Motion and reduced motion

  • One SVG dash animation per event.
  • Reduced motion: none.