ShineBorder

Wraps any card or container with an animated conic-gradient border that rotates continuously. Supports single or multi-stop color palettes.

import { ShineBorder } from "@animui/ui"

Basic

Shine Border Card

Animated conic-gradient border

Multi-color

Pass an array to color for a multi-stop gradient shine.

Multi-color shine

Three-stop gradient

Props

PropTypeDefaultDescription
childrenReactNodeContent rendered inside the border.
colorstring | string[]["#7c3aed","#3b82f6","#06b6d4"]One or more color stops for the shine gradient.
durationnumber4Full rotation cycle duration in seconds.
borderWidthnumber2Border thickness in pixels.
classNamestringAdditional classes for the outer wrapper.
© 2026 Steal Shadow. MIT License.Report an issue