Measured entry
magicui-cool-mode
hover-effectspatialmotion on file
A client-side React wrapper that turns pointer or touch presses on its child into a burst of colorful circles, emoji, or image particles. It ships as a shadcn registry source file and depends only on React hooks plus browser DOM and animation APIs.



Measured
Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 21.8 KB (87.3 KB build, 65.5 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written from the component source API |
Verdict
A fun, self-contained accent for occasional calls to action, with no styling framework lock-in. Use it selectively: the global particle layer and always-running animation loop are heavier than the simple wrapper API suggests.
Use it if
- You want a playful press-and-hold response on a prominent button or link.
- You need particle content that can switch between circles, emoji, and an image URL.
- You are comfortable reserving the effect for optional visual feedback rather than conveying state.
Skip it if
- Your interface must respect reduced-motion preferences without modifying the component.
- You want an effect triggered by hover alone, since this implementation starts on press or touch.
- You cannot justify a continuously scheduled animation loop for a decorative interaction.
Install
| Declared dependencies | none declared |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no provider required in the harness |
Copy the client component into the project and import it from your own component path. A non-shadcn React app needs no extra package or utility CSS, but it must support client-side hooks and browser DOM APIs. Add your own reduced-motion handling if required.
Source and credit
This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.
Author repository
github.com/magicuidesign/magicuiAlternatives
Other published entries for the hover-effect pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- eldora-card-flip-hover3d
- Renders
- YES
- A11y
- 0
- Gzip
- 17.5KB
- Bare
- pass
- Prov
- NO
- uilayouts-btn-hover-left-flip3d
- Renders
- YES
- A11y
- 0
- Gzip
- 17.5KB
- Bare
- pass
- Prov
- NO
- uilayouts-btn-hover-down3d
- Renders
- YES
- A11y
- 0
- Gzip
- 17.6KB
- Bare
- pass
- Prov
- NO
- uilayouts-btn-hover-multiplegradient-glow
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- uilayouts-hovercard2gradient-glow
- Renders
- YES
- A11y
- 0
- Gzip
- 24.0KB
- Bare
- pass
- Prov
- NO
- fancy-drag-elementsspatial
- Renders
- YES
- A11y
- 0
- Gzip
- 58.1KB
- Bare
- pass
- Prov
- NO