Introducing Nuvyx UI v1.0.0

Docs
Dynamic Ripple

Dynamic Ripple

A fluid, water ripple effect that reacts to cursor movement or touch.

Water Ripple Effect

Interactive

Move your cursor over this card to create dynamic water ripple effects. Perfect for creating engaging UI elements.

Cosmic Waves

High Intensity

A more intense ripple effect with slower speed, creating a cosmic wave-like animation that reacts to your movements.

Nature Pulse

Fast

A subtle but fast ripple effect that mimics the gentle pulse of nature. Lower intensity with higher speed.

Maximum Energy

Extreme

The most intense and fastest ripple effect, creating an energetic and dynamic interaction experience.

Installation

pnpm dlx shadcn@latest add "https://nuvyxui.vercel.app/r/dynamic-ripple.json"
 

Usage

import { DynamicRipple } from "@/components/ui/dynamic-ripple";
<DynamicRipple theme="blue" intensity={3} speed={3} rounded="lg">
  <div className="p-8 relative z-10">Your content here</div>
</DynamicRipple>

Props

PropTypeDefaultDescription
themestring"blue"The color theme of the ripple effect. Options: "blue", "purple", "green", "amber", "rose", "custom".
customColorsobjectundefinedCustom colors for the ripple when theme is set to "custom". Should include properties: primary and secondary.
intensitynumber3The intensity of the ripple effect (1-5).
speednumber3The speed of the ripple animation (1-5).
reactToCursorbooleantrueWhether to enable the ripple effect on cursor movement.
autoAnimatebooleantrueWhether to enable the automatic ripple animation.
roundedstring"lg"The border radius of the component. Options: "none", "sm", "md", "lg", "xl", "full".
gradientOverlaybooleantrueWhether to apply a gradient overlay.
classNamestring""Additional CSS classes to apply.
childrenReact.ReactNodeundefinedContent to be rendered inside the ripple component.