Dev Design Library

Animated Background

A shared animated background that smoothly moves between selected or hovered items.

Animated Background preview
Library
Animations (Svelte)
Framework
Svelte
Type
block
License
MIT
Dependencies
motion-sv, runed
Install
pnpm dlx shadcn-svelte@latest add https://sv-animations.vercel.app/r/animated-background.json
Files
  • src/lib/components/magic/animated-background/animated-background.svelte
  • src/lib/components/magic/animated-background/animated-background-item.svelte
  • src/lib/components/magic/animated-background/animated-background-context.svelte.ts
  • src/lib/components/magic/animated-background/index.ts
  • src/lib/utils.ts
Source
https://github.com/SikandarJODD/animations

Categories

More from Animations (Svelte)