Adds emoji to cursor for tailwind.
yarn add -D tailwind-plugin-cursor-emoji
or
npm install --save-dev tailwind-plugin-cursor-emoji
Add it to the plugins array of tailwind.config.js
.
// tailwind.config.js
plugins: [
// ...
require('tailwind-plugin-cursor-emoji'),
],
Use these classes like ordinary tailwind classes, and differentiate them with various parameter combinations. The basic syntax is:
<div className="flex rounded cursor-emoji-[<EMOJI>/<SIZE>/<COLOR>/<OPACITY>]">
content
</div>
This project is licensed under the MIT License.