A simple library that provides standard Unicode emoji support across all platforms.
Twemoji v17.0 adheres to the Unicode 17.0 spec and supports the Emoji 17.0 spec.
The Twemoji library offers support for all Unicode-defined emoji which are recommended for general interchange (RGI), and in this fork a few that are extra.
- Change the Antartica flag emoji #11
- Add Quebec (CA-QC) flag #50
- two emoji consistency fixes #74
- Adding subdivision flags, USA #99
- Add Valencia (ES-VC) flag emoji #107
- Update Honduras Flag #112
- Update country flag images: Martinique (PNG and SVG files) #114
- Fixed teeth color in 1f62b.svg #115
- Fix right-facing wheelchair emojis #125
- Add Catalonia ES-CT flag emoji #38
- fix: aspect ratio watermelon #102
- Add Missing Flag emoji [Mine!]
I will try to provide a TTF file in the Releases tab made with WhyNotHugo's script
I will also provide a custom Magisk module based on my own Twemoji replacer
If you'd like to size the emoji according to the surrounding text, you can add the following CSS to your stylesheet:
img.emoji {
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em;
}This will make sure emoji derive their width and height from the font-size of the text they're shown with. It also adds just a little bit of space before and after each emoji, and pulls them upwards a little bit for better optical alignment.
To properly support emoji, the document character set must be set to UTF-8. This can be done by including the following meta tag in the document <head>
<meta charset="utf-8">Stuff from upstream
The contributing documentation can be found here.
As an open source project, attribution is critical from a legal, practical and motivational perspective in our opinion. The graphics are licensed under the CC-BY 4.0 which has a pretty good guide on best practices for attribution.
However, we consider the guide a bit onerous and as a project, will accept a mention in a project README or an 'About' section or footer on a website. In mobile applications, a common place would be in the Settings/About section (for example, see the mobile Twitter application Settings->About->Legal section). We would consider a mention in the HTML/JS source sufficient also.
- Justine De Caires (ex-Twitter)
- Jason Sofonia (ex-Twitter)
- Bryan Haggerty (ex-Twitter)
- Nathan Downs (ex-Twitter)
- Tom Wuttke (ex-Twitter)
- Andrea Giammarchi (ex-Twitter)
- Joen Asmussen (WordPress)
- Marcus Kazmierczak (WordPress)
- Kevin VQ Dam (ex-Discord)
- Gica Tam (Discord)
The goal of this project is to simply provide emoji for everyone. We definitely welcome improvements and fixes, but we may not merge every pull request suggested by the community due to the simple nature of the project.
The rules for contributing are available in the CONTRIBUTING.md file.
Thank you to all of our contributors.
See the LICENSE and LICENSE-GRAPHICS files for full license texts.
Code licensed under the MIT License: http://opensource.org/licenses/MIT
Graphics licensed under CC-BY 4.0: https://creativecommons.org/licenses/by/4.0/