Dev Design Library

Border Beam

A component for creating animated border beam effects around elements with customizable gradients, duration, and direction.

Border Beam preview
Library
Animations (Svelte)
Framework
Svelte
Type
block
License
MIT
Dependencies
motion-sv
Install
pnpm dlx shadcn-svelte@latest add https://sv-animations.vercel.app/r/border-beam.json
Files
  • src/lib/components/magic/border-beam/border-beam.svelte
  • src/lib/components/magic/border-beam/index.ts
  • src/lib/utils.ts
Source
https://github.com/SikandarJODD/animations

Categories

More from Animations (Svelte)