ReUI
Components

Hover Background

An interactive background component with animated objects that respond to hover interactions and customizable colors.

Installation

pnpm dlx shadcn@latest add https://reui.io/r/hover-background.json

Examples

Default

Loading

Dark

Loading

API Reference

PropTypeDefault
objectCount enum 12
children ReactNode
className string
colors.background string"bg-gradient-to-br from-slate-900 via-purple-900 to-slate-900"
colors.objects string[]["bg-cyan-400/20", "bg-purple-400/20", "bg-fuchsia-400/20", "bg-violet-400/20", "bg-blue-400/20", "bg-indigo-400/20"]
colors.glow string"shadow-cyan-400/50"