fluent-optimized
v2025.12.14
Published
Microsoft Fluent Emoji optimized for web: trimmed WebP and SVG
Downloads
462
Maintainers
Readme
fluent-optimized
Microsoft Fluent Emoji optimized for web applications.
- Trimmed WebP — transparent padding removed for better visual alignment
- Original WebP — converted without trimming
- Flat SVG — color vector variants
- Skin tone support — all variants included
- Emoji map — JSON with Unicode, cldr names, and keywords
Install
npm install fluent-optimized
# or
bun add fluent-optimizedUsage
Copy to static folder
cp -r node_modules/fluent-optimized/generated static/emojiOr add postinstall script:
{
"scripts": {
"postinstall": "cp -r node_modules/fluent-optimized/generated static/emoji"
}
}On Windows use xcopy or a cross-platform tool like cpx.
Import the map
import emojiMap from 'fluent-optimized/map'
// emojiMap['1f44d'] = {
// unicode: '1f44d',
// cldr: 'thumbs up',
// keywords: ['thumbs up', '+1', 'hand', 'thumb', 'up'],
// hasSkinTones: true,
// skinTones: ['1f3fb', '1f3fc', '1f3fd', '1f3fe', '1f3ff']
// }File paths
/emoji/3d/trimmed/1f44d.webp # default
/emoji/3d/trimmed/1f44d-1f3fb.webp # light skin tone
/emoji/3d/original/1f44d.webp
/emoji/flat/1f44d.svgBuilding from source
Requires Bun and Git.
git clone https://github.com/troshkindm/fluent-optimized
cd fluent-optimized
bun install
bun run buildLicense
MIT. Emoji assets from Microsoft Fluent Emoji (MIT).
