Shine Border

A rotating conic gradient border that creates a spotlight shine effect.

npx arupui add shine-border
Preview

Shine Border

A rotating conic gradient creates this spotlight effect.

Usage

shine-border.tsx
import { ShineBorder } from "@/components/blocks/shine-border"

<ShineBorder>
  <div className="p-6">Content</div>
</ShineBorder>

Props

borderWidth
Type: numberDefault: 1
duration
Type: numberDefault: 8
shineColor
Type: string[]Default: ["#7c3aed", "#2563eb", "#06b6d4"]
Theme Editor

Theme

Radius0.5rem
Letter Spacing0em

Colors

light