OonkooUI

Border Beam

Official

An animated beam effect that travels along the border of a container. Perfect for highlighting cards, buttons, or any element that needs attention.

Freeanimationborderbeamglowhighlightcards
0 downloadsOonkooUI Team

Installation

Run the following command:

npx oonkoo add border-beam

Props

BorderBeam Props

PropTypeDefault
sizenumber50
durationnumber6
delaynumber0
colorFromstring"#46CB76"
colorTostring"#f2ff40"
transitionTransition-
classNamestring-
styleReact.CSSProperties-
reversebooleanfalse
initialOffsetnumber0
borderWidthnumber1

Usage

Copy and paste the following code to use this component:

import { BorderBeam } from "@/components/oonkoo/border-beam"

<BorderBeam>
  {/* Your content */}
</BorderBeam>

Component Info

Typeelement
Categorycards
TierFree
Last updatedDec 24, 2025