Xero Emoji is a complete emoji set by Max Infeld. The same artwork is published as an Iconify icon set, so you can use it with the official Iconify components for React and Vue, and with the Iconify plugin for Tailwind CSS.
The Iconify package is @iconify-json/xero-emoji 1.2.0: 3,958 icons, license CC BY 4.0. Browse the set at icon-sets.iconify.design/xero-emoji. Icon names are the CLDR short name in kebab-case, for example face-with-tears-of-joy, thumbs-up, and red-heart.
Site: xeroemoji.grok.me. Book: Xero Emoji Specimen Guide.
Artwork is free to use with credit: Xero Emoji by Max Infeld, CC BY 4.0.
Install the icon data
npm install @iconify-json/xero-emoji The snippets below were checked against @iconify-json/xero-emoji@1.2.0, @iconify/react@6.0.5, @iconify/vue@5.0.6, @iconify/tailwind4@1.2.3, and Tailwind CSS 4.3.5.
You can also pass the icon name to Iconify and let the public Iconify API load it. Bundling the JSON with addCollection (React and Vue) or installing the JSON package next to the Tailwind plugin keeps the icons in your build, which is what the examples here do.
React
npm install @iconify/react @iconify-json/xero-emoji import { Icon, addCollection } from "@iconify/react"; import xeroEmoji from "@iconify-json/xero-emoji/icons.json"; addCollection(xeroEmoji); export function Example() { return ( <p> The reaction was{" "} <Icon icon="xero-emoji:face-with-tears-of-joy" width="32" /> and then{" "} <Icon icon="xero-emoji:thumbs-up" width="32" />. </p> ); } Icon is a named export from @iconify/react. Call addCollection once at module scope with the JSON from @iconify-json/xero-emoji. After that, icon="xero-emoji:face-with-tears-of-joy" resolves from the bundled data. These emoji have a fixed color palette, so they do not follow currentColor.
If you skip addCollection and the JSON package, the same icon="xero-emoji:…" name still works: the component will load that one icon from the Iconify API.
Vue
npm install @iconify/vue @iconify-json/xero-emoji This is the Vue 3 package (@iconify/vue). Vue 2 uses @iconify/vue2 instead.
<script setup> import { Icon, addCollection } from "@iconify/vue"; import xeroEmoji from "@iconify-json/xero-emoji/icons.json"; addCollection(xeroEmoji); </script> <template> <p> The reaction was <Icon icon="xero-emoji:face-with-tears-of-joy" width="32" /> and then <Icon icon="xero-emoji:thumbs-up" width="32" />. </p> </template> Same naming as React: prefix xero-emoji, then the kebab-case icon name. For Nuxt or other SSR, Iconify's Vue docs cover the ssr prop; if you use it, keep the bundled JSON available on both the server and the client so the markup matches.
Tailwind CSS
For Tailwind CSS 4, install the Tailwind 4 plugin and the icon data:
npm install -D @iconify/tailwind4 @iconify-json/xero-emoji Add the plugin to your CSS:
@import "tailwindcss"; @plugin "@iconify/tailwind4"; Then use a dynamic icon class. The prefix is icon-[…], and the set and icon name are joined with a double hyphen:
<span class="icon-[xero-emoji--face-with-tears-of-joy] size-8"></span> <span class="icon-[xero-emoji--thumbs-up] size-8"></span> <span class="icon-[xero-emoji--red-heart] size-8"></span> Because Xero Emoji has a built-in palette, the plugin emits a background-image for that class (not a CSS mask), so the original colors are preserved.
If you are still on Tailwind CSS 3, use @iconify/tailwind instead, and tell it which sets to load:
const { addIconSelectors } = require("@iconify/tailwind"); module.exports = { content: ["./src/**/*.{html,js,jsx,ts,tsx,vue}"], plugins: [addIconSelectors(["xero-emoji"])], }; <span class="iconify-color xero-emoji--face-with-tears-of-joy"></span> On Tailwind 3, iconify-color is the background-image (palette) class. iconify is the mask class, which is for monotone icons and is the wrong choice for these emoji.
Credit
Artwork: Xero Emoji by Max Infeld, CC BY 4.0. Please link "Xero Emoji" to xeroemoji.grok.me and "CC BY 4.0" to creativecommons.org/licenses/by/4.0. A credit in your app's About page, docs, or README is enough.
Get the book
The specimen book is Xero Emoji Specimen Guide: every emoji in the set, drawn by one designer. The live gallery and downloads are at xeroemoji.grok.me.


