Dev Design Library

Dock

A macOS-style dock component with smooth magnification animation on hover, inspired by the macOS dock.

Dock 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/dock.json
Files
  • src/lib/components/magic/dock/dock.svelte
  • src/lib/components/magic/dock/dock-icon.svelte
  • src/lib/components/magic/dock/index.ts
  • src/lib/utils.ts
Source
https://github.com/SikandarJODD/animations

Categories

More from Animations (Svelte)