| Symbol Name | Unicorn |
| Unicode Version | 1.0 |
| Unicode | U+1F984 |
| Unicode block | |
| General category | Emoji (So) |
| CSS Code | \1F984 |
| Hex Code | 0x1F984 |
| HTML Code | 🦄 |
| LaTeX | LuaLaTeX/XeLaTeX: literal grapheme cluster or \usepackage{emoji} (engine-dependent) |
| Symbol | 🦄 |
| URL encode (UTF-8 percent) | %F0%9F%A6%84 |
| Discord / Slack shortcode | :unicorn: |
| GitHub shortcode | :unicorn: |
| Spoken / screen reader name | Unicorn |
| UTF-8 | F0 9F A6 84 |
| UTF-16 | D83E DD84 |
| UTF-32 | 0001F984 |
1\documentclass{article}2\usepackage{pifont}3LuaLaTeX/XeLaTeX: literal grapheme cluster or \usepackage{emoji} (engine-dependent)4\end{document}You can type the unicorn symbol on most modern devices with the help of following methods:
Windows: Win + . ; macOS: Ctrl + Cmd + Space; mobile: Animals & Nature in emoji keyboard.
Edit → Emoji & Symbols, search "unicorn".
Emoji picker (IBus, GNOME Characters) or paste from this page.
Emoji keyboard → Animals & Nature, or search "unicorn".
Emoji keyboard → Animals; search "unicorn".
1span.unicorn::before { content: "\1F984"; } /* prefer inline grapheme for ZWJ */1<span>🦄</span>Unicorn symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\uD83E\uDD84' or String.fromCodePoint(0x1F984) |
| Python | '\N{UNICORN}' |
| Rust | '\u{1F984}' |
| Swift | "\u{1F984}" |
| Go | string(rune(0x1F984)) |
| Ruby | "\u{1F984}" |