@balasaravanan/cursor-follower
v1.0.5
Published
A minimal cursor follower design that replaces the traditional cursor to make your website stand out.
Readme
��#� �<د� �C�u�r�s�o�r� �F�o�l�l�o�w�e�r�
�
�
�
�A� �m�i�n�i�m�a�l� �a�n�d� �c�u�s�t�o�m�i�z�a�b�l�e� �R�e�a�c�t� �c�o�m�p�o�n�e�n�t� �t�h�a�t� �r�e�p�l�a�c�e�s� �t�h�e� �t�r�a�d�i�t�i�o�n�a�l� �m�o�u�s�e� �c�u�r�s�o�r� �w�i�t�h� �a� �s�m�o�o�t�h�,� �a�n�i�m�a�t�e�d� �f�o�l�l�o�w�e�r� � �p�e�r�f�e�c�t� �f�o�r� �m�o�d�e�r�n�,� �i�n�t�e�r�a�c�t�i�v�e� �w�e�b�s�i�t�e�s�.�
�
�
�
�-�-�-�
�
�
�
�#�#� �(' �F�e�a�t�u�r�e�s�
�
�
�
�-� �R�e�p�l�a�c�e�s� �n�a�t�i�v�e� �c�u�r�s�o�r� �w�i�t�h� �a� �c�u�s�t�o�m�i�z�a�b�l�e� �a�n�i�m�a�t�e�d� �c�i�r�c�l�e�
�
�-� �S�m�o�o�t�h� �a�n�i�m�a�t�i�o�n�s� �w�i�t�h� �p�o�i�n�t�e�r� �t�r�a�c�k�i�n�g�
�
�-� �W�o�r�k�s� �w�i�t�h� �m�o�d�e�r�n� �R�e�a�c�t� �(�v�1�8� �a�n�d� �v�1�9�)�
�
�-� �L�i�g�h�t�w�e�i�g�h�t� �a�n�d� �e�a�s�y� �t�o� �i�n�t�e�g�r�a�t�e�
�
�
�
�-�-�-�
�
�
�
�#�#� �=��� �I�n�s�t�a�l�l�a�t�i�o�n�
�
�
�
����b�a�s�h�
�
�n�p�m� �i�n�s�t�a�l�l� �@�b�a�l�a�s�a�r�a�v�a�n�a�n�/�c�u�r�s�o�r�-�f�o�l�l�o�w�e�r�
�
�
�
����
�
�
�
�#�#�#� �H�o�w� �t�o� �u�s�e�
�
�
�
����j�s�x�
�
�
�
�/�/� �i�n� �y�o�u�r� �m�a�i�n�.�j�s�x�
�
�
�
�i�m�p�o�r�t� �{� �S�t�r�i�c�t�M�o�d�e� �}� �f�r�o�m� �"�r�e�a�c�t�"�;�
�
�i�m�p�o�r�t� �{� �c�r�e�a�t�e�R�o�o�t� �}� �f�r�o�m� �"�r�e�a�c�t�-�d�o�m�/�c�l�i�e�n�t�"�;�
�
�i�m�p�o�r�t� �"�.�/�i�n�d�e�x�.�c�s�s�"�;�
�
�i�m�p�o�r�t� �A�p�p� �f�r�o�m� �"�.�/�A�p�p�.�j�s�x�"�;�
�
�i�m�p�o�r�t� �C�u�r�s�o�r�F�o�l�l�o�w�e�r� �f�r�o�m� �"�@�b�a�l�a�s�a�r�a�v�a�n�a�n�/�c�u�r�s�o�r�-�f�o�l�l�o�w�e�r�"�;�
�
�
�
�c�r�e�a�t�e�R�o�o�t�(�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�r�o�o�t�"�)�)�.�r�e�n�d�e�r�(�
�
� � �<�S�t�r�i�c�t�M�o�d�e�>�
�
� � � � �<�C�u�r�s�o�r�F�o�l�l�o�w�e�r�>� � �{�/�*� �w�r�a�p� �y�o�u�r� �a�p�p� �c�o�m�p�o�n�e�n�t� �w�i�t�h� �C�u�r�s�o�r� �F�o�l�l�w�e�r� �*�/�}�
�
� � � � � � �<�A�p�p� �/�>�
�
� � � � �<�/�C�u�r�s�o�r�F�o�l�l�o�w�e�r�>�
�
� � �<�/�S�t�r�i�c�t�M�o�d�e�>�
�
�)�;�
�
�
�
����
