0.0.6 • Published 5 months ago

fvursor v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Fvursor v0.0.6

Preview

It wouldn't be bad to use a few custom cursors, like figma does.

How to use?

To use it, it is enough to have basic CSS knowledge. here is a usage example:

Install with NPM

npm install fvursor@latest

Usage

import 'fvursor';

#or commonjs

require("fvursor");

Or use with CDN

To use it, you can place it between the head tags in your site's HTML file.

<link href="https://cdn.jsdelivr.net/npm/fvursor@latest/min/index.css" rel="stylesheet" />

Usage

<!DOCTYPE html>
<html>
    <head>
        <!-- ... -->
        <link href="https://cdn.jsdelivr.net/npm/fvursor@latest/min/index.css" rel="stylesheet" />
    </head>
    <body>
        <!-- ... -->

        Try it <div class="cursor-default"> Cursor Default </div>
        Try it <div class="cursor-pointer"> Cursor Pointer </div>
        Try it <div class="cursor-not-allowed"> Cursor Not Allowed </div>
        Try it <div class="cursor-progress"> Cursor Progress </div>
        Try it <div class="cursor-text"> Cursor Text </div>
        Try it <div class="cursor-wait"> Cursor Wait </div>

        <!-- ... -->
    </body>
</html>

Or you can include it in your project with css.

/* You can also include it in your project via cdn. */
@import url("https://cdn.jsdelivr.net/npm/fvursor@latest/min/index.css")

body {
    cursor: var(--cursor-default), default;
}

.pointer {
    cursor: var(--cursor-pointer), pointer;
}
0.0.6

5 months ago

0.0.5

5 months ago

0.0.4

5 months ago

0.0.3

5 months ago

0.0.2

5 months ago

0.0.1

5 months ago