1.0.4 • Published 1 year ago

@ruchiralk/cursor v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year 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

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago