Shiny Button
Interactive button with spotlight effect that follows mouse cursor and highlights borders on hover.
Installation
npx shadcn@latest add https://scrollxui.dev/registry/shiny-button.json Usage
import { ShinyButton } from "@/components/ui/shiny-button";<ShinyButton size="lg">
Button
</ShinyButton>Changelog
04-12-2025, ShinyButton Hook Order Fix
- Fixed a critical issue causing “Rendered fewer hooks than expected” due to inconsistent hook execution paths.
- Added proper touch detection to prevent unwanted hover effects on mobile.
- Refined gradient reset and layering for consistent visuals across browsers.
API Reference
Shiny Button
Interactive button with spotlight effect that follows mouse cursor and highlights borders on hover.