Skip to content

Releases: psychlone77/react-diy-cursor

Release list

v0.1.0 Alpha

v0.1.0 Alpha Pre-release
Pre-release

Choose a tag to compare

@psychlone77 psychlone77 released this 26 Aug 09:52
871127d

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