🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@rzl-zone/click-feedback

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rzl-zone/click-feedback

A lightweight React component that provides visual feedback on user clicks, enhancing interaction clarity on buttons and interactive UI elements.

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
2
-88.24%
Maintainers
1
Weekly downloads
 
Created
Source

Click Feedback

A lightweight React component that provides visual feedback on user clicks.

Designed to enhance interaction clarity for buttons and interactive UI elements with smooth animated effects.

Quick Start

  • Installation

    # npm
    npm install @rzl-zone/click-feedback
    
    # pnpm
    pnpm add @rzl-zone/click-feedback
    
    # yarn
    yarn add @rzl-zone/click-feedback
    
    # bun
    bun add @rzl-zone/click-feedback
    
  • Import the Styles (Required)

    Add this to your application's root or entry point (e.g., main.tsx, _app.tsx, or layout.tsx).
    Without this CSS, the feedback animation will not render correctly.

    // Import once in your root layout or entry file
    import "@rzl-zone/click-feedback/styles";
    

    (Alternatively, you can also use @import "@rzl-zone/click-feedback/styles"; inside your global CSS file).

  • Basic Usage

    Just drop the <ClickFeedback /> component inside any supported interactive element (<a> or <button>).

    Important: Make sure the parent element has a relative position so the animation coordinates calculate correctly!

    import { ClickFeedback } from "@rzl-zone/click-feedback";
    
    export default function App() {
      return (
        <button className="relative px-4 py-2 bg-blue-500 text-white rounded">
          Click me!
          <ClickFeedback />
        </button>
      );
    }
    

Read More Documentation

Keywords

react

FAQs

Package last updated on 20 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts