Command Palette

Search for a command to run...

Docs
Use Ripple

A hook that allows you to create ripples on an element.

Installation

pnpm dlx shadcn@latest add "https://ui.ednesdayw.com/r/use-ripple.json"

Usage

import { useRipple } from "@/hooks/use-ripple";
 
const Component = () => {
    const { ripples, onClick, onClear } = useRipple();
}

Example

Demo

Click Me