Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Svelte component for creating customizable cursors.

License

NotificationsYou must be signed in to change notification settings

n3-rd/curseur

Repository files navigation

Svelte component for creating customizable cursors.

npmGitHub repo sizeGitHub top languagenpm

enter image description here

Installation

NPM

npm i curseur

Yarn

yarn add curseur

PNPM

pnpm add curseur

Usage

import the library

import{Cursor}from'curseur';

And simply use it:

<Cursorcolor="green"mixBlendMode="exclusion"size={13}/>

To use hover effects, you can simply add a.hoverable class to the element you want to apply the effect to.

<divclass="hoverable"><h1>Hover me!</h1></div>

Customization

  • size: Number - The size of the cursor. (Default:20)
  • color: String - The color of the cursor. (Default:'black')
  • shape: String - The shape of the cursor. (Default:'circle')
  • mixBlendMode: String - The mix-blend-mode of the cursor. (Default:'none')

About

Svelte component for creating customizable cursors.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

    Packages

    No packages published

    [8]ページ先頭

    ©2009-2025 Movatter.jp