Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/open-emojify/emojify

Emojify is a customizable emoji trail javascript library that follows your mouse cursor, embedding playfulness and personality into any webpage.
https://github.com/open-emojify/emojify

css cursor customization emoji emojify html javascript library mouse open-source trail

Last synced: 2 months ago
JSON representation

Emojify is a customizable emoji trail javascript library that follows your mouse cursor, embedding playfulness and personality into any webpage.

Awesome Lists containing this project

README

        


Logo Banner

[![Published on npm](https://img.shields.io/npm/v/open-emojify)](https://www.npmjs.com/package/open-emojify)
[![](https://data.jsdelivr.com/v1/package/npm/open-emojify/badge)](https://www.jsdelivr.com/package/npm/open-emojify)

Emojify is a customizable emoji trail javascript library that follows your mouse cursor, embedding playfulness and personality into any webpage.

[Demo](https://open-emojify.github.io/emojify/)

## Installation

### CDN

Import Emojify using CDN.

```index.html```

```html

```

#### 🚧 Specific Version
```html

```

## Usage

Call the Emojify library in your Javascript. That's it 🎉.

```main.js```

```js
window.emojify = new Emojify({});
```

## Customization

Emojify comes with options / variables that can easily be customized.

```js
window.emojify = new Emojify({
emojis: ['😂','😎','😍','😀'], // replaces default emojis with emojis within a string
random: true, // determines if emojis should be shown random or in order
duration: 500, // duration before hiding emojis
delay: 15, // delay between showing a new emoji
size: '48px', // font-size of emojis
zIndex: 9999, // z-index of emojis
});
```

Check out the Demo on [Codepen.](https://codepen.io/GreenestGoat/pen/gONGbBo?editors=0010)

Emojify is also a [Chrome Extension.](https://github.com/open-emojify/emojify-extension)

## Copyright and license

Licensed under the MIT License, Copyright © 2024-present Emojify.

See [LICENSE](https://github.com/open-emojify/emojify/blob/main/LICENSE) for more information.