ComponentsBlocksDocsExamples

Marquee
GitHub Button
Avatar Group
Typing Text
Word Rotate
Video Text
SVG Text
Counting Number
Sliding Number
Shimmering Text
Text Reveal
Gradient Background
Grid Background
Hover Background
Clock Widget
Components

Hover Background

UI Library:

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

Installation

pnpm dlx shadcn@latest add @toui/hover-background

Examples

Dark

API Reference

This component is built using Motion primitives and includes the following custom props:

HoverBackground

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"

Credits

  • Built with Motion.
PreviouseGrid BackgroundNextClock Widget

On This Page

  • Installation
  • Examples
    • Dark
  • API Reference
    • HoverBackground
  • Credits

We use cookies

We use cookies to ensure you get the best experience on our website. For more information on how we use cookies, please see our cookie policy.

By clicking Accept, you agree to our use of cookies.
Learn more.

Token UI

Components

  • Overview
  • Pricing
  • Marketplace
  • Features
  • Integrations
  • Pricing

Blocks

  • Charts
  • Team
  • Blog
  • Careers
  • Contact
  • Privacy

Examples

  • Help
  • Sales
  • Advertise

Docs

  • Twitter
  • Instagram
  • LinkedIn

© 2025 TOUI.dev. All rights reserved.

  • Terms and Conditions
  • Privacy Policy