Back to UI Components
Components

Border Beam

A moving strip of light traces around the edge of a box, marking its boundary in an interface.

Border Beam is a real, MIT-licensed React + Tailwind UI component from the open-source Magic UI library. Run the install command above with the shadcn CLI and it drops the component's actual source straight into your project.

It depends on motion, so make sure those are installed too.

The code you install is the component's own source — once it's in your repo, it's yours to restyle.

CategoryComponents
LibraryMagic UI
Dependenciesmotion
npx shadcn@latest add "https://magicui.design/r/border-beam.json"

How to use it

  1. Run the install command above — the shadcn CLI drops the real component files into your project.
  2. Install the dependencies listed below it, if any.
  3. Import the component and restyle it with your own Tailwind tokens.
Compiled and written by VintuxAI from public sources.
← Back to UI Components