Dev Design Library

Rainbow Button

A button component with animated rainbow gradient borders and background that cycles through multiple colors.

Rainbow Button preview
Library
Animations (Svelte)
Framework
Svelte
Type
block
License
MIT
Dependencies
bits-ui, tailwind-variants
Install
pnpm dlx shadcn-svelte@latest add https://sv-animations.vercel.app/r/rainbow-button.json
Files
  • src/lib/components/magic/rainbow-button/rainbow-button.svelte
  • src/lib/components/magic/rainbow-button/index.ts
  • src/lib/utils.ts
Source
https://github.com/SikandarJODD/animations

Categories

More from Animations (Svelte)