| Symbol Name | Keycap: 1 |
| Unicode Version | 0.6 |
| Unicode | U+0031 |
| Unicode block | |
| General category | Emoji (Nd) |
| CSS Code | \0031 |
| Hex Code | 0x0031 |
| HTML Code | 1️⃣ |
| LaTeX | LuaLaTeX/XeLaTeX: literal grapheme cluster or \usepackage{emoji} (engine-dependent) |
| Symbol | 1️⃣ |
| URL encode (UTF-8 percent) | %31%EF%B8%8F%E2%83%A3 |
| Discord / Slack shortcode | :one: |
| GitHub shortcode | :one: |
| Spoken / screen reader name | Keycap: 1 |
| UTF-8 | 31 EF B8 8F E2 83 A3 |
| UTF-16 | 0031 FE0F 20E3 |
| UTF-32 | 00000031 0000FE0F 000020E3 |
1\documentclass{article}2\usepackage{pifont}3LuaLaTeX/XeLaTeX: literal grapheme cluster or \usepackage{emoji} (engine-dependent)4\end{document}You can type the keycap: 1 symbol on most modern devices with the help of following methods:
Windows: Win + . ; macOS: Ctrl + Cmd + Space; mobile: Symbols & Signs in emoji keyboard.
Edit → Emoji & Symbols, search "keycap: 1".
Emoji picker (IBus, GNOME Characters) or paste from this page.
Emoji keyboard → Symbols, or search "keycap: 1".
Emoji keyboard → Symbols; search "keycap: 1".
1span.keycap-1::before { content: "\0031"; } /* prefer inline grapheme for ZWJ */1<span>1️⃣</span>Keycap: 1 symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | String.fromCodePoint(0x31, 0xFE0F, 0x20E3) |
| Python | '\N{KEYCAP: 1}' |
| Rust | '\u{0031}' |
| Swift | "\u{0031}" |
| Go | string(rune(0x0031)) |
| Ruby | "\u{0031}" |