Code & docs examples
Copy-paste snippets for comments & docs — x ≤ y, input ⇒ output, ⌘ + ⏎.
In a code comment or a technical doc, a symbol is often tighter than spelling it out. These examples show mapping and implication arrows, comparison operators, a pipeline, a done/todo note, and a keyboard shortcut.
Copy a snippet into a comment, a commit message or a cheat sheet. Use → for "returns" or "maps to", and reach for the key glyphs only when documenting shortcuts.
Examples — tap any line to copy
Symbols used here
- →Rightwards Arrow→
- ⇒Rightwards Double Arrow→
- ≠Not Equal To→
- ≤Less-Than Or Equal To→
- ≥Greater-Than Or Equal To→
- ∑N-Ary Summation→
- ∞Infinity→
- ∪Union→
- ∩Intersection→
- ↻Clockwise Open Circle Arrow→
- ✓Check Mark→
- ✗Ballot X→
- «Left-Pointing Double Angle Quotation Mark→
- »Right-Pointing Double Angle Quotation Mark→
- ⌘Place Of Interest Sign→
- ⏎Return Symbol→
- …Horizontal Ellipsis→
More use cases
Star rating examplesCopy-paste star ratings and review marks — ★★★★☆, pros & cons, verdict lines.→Spreadsheet & status symbolsCopy-paste status marks for cells — ✓ Done, ⚠ Review, Revenue ↑ 12%.→Checklist & to-do examplesCopy-paste checklist lines — ☐ open, ☑ done, nested sub-tasks.→Arrow & call-to-action examplesCopy-paste link text and pointers — Read more →, Sign up ➜, cause ⇒ effect.→Social media bio ideasCopy-paste bio decorations — coffee ♥ books, ✦ name ✦, sparkle framing.→Price & finance examplesCopy-paste prices and trends — $49.99, was $50 → $30, ↑ 2.4%.→