Glowing Border

An animated glowing gradient border.

npx arupui add glowing-border
Preview

Glowing Card

A card with an animated glowing border.

Usage

glowing-border.tsx
import { GlowingBorder } from "@/components/blocks/glowing-border"

<GlowingBorder>
  <h3>Content</h3>
</GlowingBorder>

Props

gradientColors
Type: string[]Default: ["#7c3aed", "#2563eb", "#06b6d4"]
borderWidth
Type: numberDefault: 2
duration
Type: numberDefault: 3
Theme Editor

Theme

Radius0.5rem
Letter Spacing0em

Colors

light