Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add icon in cursor. #33

Open
sagarkhadka opened this issue Aug 16, 2023 · 0 comments
Open

How to add icon in cursor. #33

sagarkhadka opened this issue Aug 16, 2023 · 0 comments

Comments

@sagarkhadka
Copy link

I am doing like this but the icon is not applying. I even tried to add svg code directly in data-cursor-icon but didn't work.

<h4
  data-cursor-icon='/icons/up-arrow.svg'
  id={`service-${index}`}
  ref={serviceRef}
  className='tracking-[-0.25rem] md:tracking-[-0.5rem]'
>
  {serviceTitle}
</h4>

it only enlarges the icon
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant