Skip to content

Releases: psychlone77/react-diy-cursor

v0.1.0 Alpha

26 Aug 09:52
871127d

Choose a tag to compare

v0.1.0 Alpha Pre-release
Pre-release

React DIY Cursor (Pre-release)

A customizable cursor component for React applications.

Features

  • Customizable cursor styles
  • Tracks mouse movements

Installation

This is a pre-release version and is not yet available on the npm registry. To use this package, clone the repository and install dependencies locally.

Usage

Here's an example of how to use the CustomCursor component in your React application:

import React, { useState } from 'react';
import CustomCursor from './path-to-your-cloned-repo';

const App = () => {

  const customStyles = {
    backgroundColor: 'yellow',
    borderRadius: '50%',
    width: '20px',
    height: '20px',
  };

  return (
    <div>
      <CustomCursor customStyles={customStyles}>
        <span>Custom Cursor Content</span>
      </CustomCursor>
    </div>
  );
};

export default App;

What's Changed

New Contributors

Full Changelog: https://github.com/psychlone77/react-diy-cursor/commits/v0.1.0