Border beam

From nexu-io/motion-anything · View interactive version

Border beam is an AI agent skill from the GitHub repository nexu-io/motion-anything. Give one card or CTA a lively accent: a small bright comet of light travels around its border. Brighter/livelier than shine-border — use for a single "new"/"featured" element, one per view. Pure CSS; fully static under prefers-reduced-motion.

How to use this skill

Skill file

border-beam

A bright comet that travels an element's border. Part of

motion-anything; obeys MOTION-SPEC.md. Technique

popularized by Magic UI, reimplemented dependency-free (pure CSS).

When to use it

When NOT to use it (restraint)

How to apply

  1. Copy border-beam.css into the project and link it.
  2. Mark the element:

```html

<div class="beam"> … </div>

```

  1. Tune --beam-color, --beam-size, and the animation duration (default 3s).

Accessibility & performance

Framework notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.