Dev Design Library

Shiny Button

A button component with a shiny gradient mask effect that animates across the text on hover and press.

Shiny Button 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/shiny-button.json
Files
  • src/lib/components/magic/shiny-button/shiny-button.svelte
  • src/lib/components/magic/shiny-button/index.ts
  • src/lib/utils.ts
Source
https://github.com/SikandarJODD/animations

Categories

More from Animations (Svelte)