An open API service indexing awesome lists of open source software.

https://github.com/voloshchenkoal/morphing-pointer

Morphing pointer in iPadOS style
https://github.com/voloshchenkoal/morphing-pointer

animation cursor gsap ipados typescript

Last synced: 6 months ago
JSON representation

Morphing pointer in iPadOS style

Awesome Lists containing this project

README

          

# Morphing pointer (experimental project)

This is a custom pointer in iPadOS style

## Installation

Install with npm:

```js
npm install --save morphing-pointer
```

morphing pointer

## Example of use

Init Morphing Pointer in your app

```js
import { initMorphingPointer } from 'circular-revealer';

initMorphingPointer();
```

And use different triggers in html to add different types of animation

| animation type | data attr |
| -------------- | ----------------------------- |
| highlight | data-pointer-type="highlight" |
| lift | data-pointer-type="lift" |
| content | data-pointer-type="content" |

```html
Button
Another button

text


```

---

Inspired by [Pointers (iPadOS)](https://developer.apple.com/design/human-interface-guidelines/ios/user-interaction/pointers/)