Introducing Magic UI Pro - 50+ blocks and templates to build beautiful landing pages in minutes.

Docs
Shine Border

Shine Border

Shine border is an animated background border effect.

Login

Enter your credentials to access your account

Installation

Examples

Monotone

Login

Enter your credentials to access your account

Usage

import { ShineBorder } from "@/registry/magicui/shine-border";
<div className="relative overflow-hidden">
  <ShineBorder />
</div>

Props

PropTypeDefaultDescription
classNamestring-The class name to be applied to the component.
durationnumber14Defines the animation duration to be applied on the shining border.
shineColorstring | string[]"#000000"Color of the border, can be a single color or an array of colors.
borderWidthnumber1Width of the border in pixels.
styleReact.CSSProperties-Additional styles to be applied to the component.