Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/neotan/tailwind-plugin-cursor-emoji

Tailwind plugin for using emoji as cursor
https://github.com/neotan/tailwind-plugin-cursor-emoji

Last synced: 9 days ago
JSON representation

Tailwind plugin for using emoji as cursor

Awesome Lists containing this project

README

        

# Emoji Cursor Plugin for Tailwind CSS
![Tests](https://github.com/neotan/tailwind-plugin-cursor-emoji/workflows/Tests/badge.svg)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/1e75191e4b1444c59be79054984c5d78)](https://www.codacy.com/gh/neotan/tailwind-plugin-cursor-emoji/dashboard?utm_source=github.com&utm_medium=referral&utm_content=neotan/tailwind-plugin-cursor-emoji&utm_campaign=Badge_Grade)
![npm](https://img.shields.io/npm/dt/tailwind-plugin-cursor-emoji)

banner

Adds emoji to cursor for tailwind.

## Installation

```bash
yarn add -D tailwind-plugin-cursor-emoji
```
or
```bash
npm install --save-dev tailwind-plugin-cursor-emoji
```

Add it to the plugins array of `tailwind.config.js`.

```js
// tailwind.config.js

plugins: [
// ...
require('tailwind-plugin-cursor-emoji'),
],
```

## Usage

Use these classes like ordinary tailwind classes, and differentiate them with various parameter combinations. The basic syntax is:

```jsx


content

```

## Examples

|Class|Cursor|
|---|---|
|`cursor-emoji-[😜/lg]` | |
|`cursor-emoji-[😜]` | |
|`cursor-emoji-[😜/40]` | |
|`cursor-emoji-[😜/4xl/red]` | |
|`cursor-emoji-[😜/4xl/green-500]` | |
|`cursor-emoji-[😜/4xl/#e76215]` | |
|`cursor-emoji-[😜/4xl/rgb(231,98,21)]` | |
|`cursor-emoji-[😜/4xl/hsl(22deg,84%,49%)]` | |
|`cursor-emoji-[😜/4xl/blue-500/70]` | |

## License

This project is licensed under the [MIT License](/LICENSE).