1.0.4 • Published 12 months ago

@ruchiralk/cursor v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

Custom cursor

A simple and customizable animated cursor effect for web applications. Works with React applications and plain HTML/CSS/JavaScript.

📦 Installation

For React Application

1. To deploy this project run

  npm install @ruchiralk/cursor

2. Import library to App.js

  import Ruchiralkcursor from "@ruchiralk/cursor";

  function App() {
    return (
      <>
        <Ruchiralkcursor />
      </>
    );
  }

  export default App;

For Plain HTML

1. Add the CDN link and setup library

<!DOCTYPE html>
<html lang="en">
  <head>
    <link
      rel="stylesheet"
      href="https://cdn.jsdelivr.net/npm/@ruchiralk/cursor/src/cursor.css"
    />
  </head>
  <body>
    <!-- Your content -->

    <script type="module">
      import { enableCursorEffect } from "https://cdn.jsdelivr.net/npm/@ruchiralk/cursor/src/cursor.js";
      enableCursorEffect();
    </script>
  </body>
</html>
1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago