Box Vertical symbol
Type :vline: · Box drawing
What │ is for
The vertical run, and the trunk of every file tree ever printed by a command line tool. Stack it down the left margin and hang ├ and └ off it to get the shape everyone recognises from tree output.
How to type │
The shortcuts below are the built-in routes. With
Emoji Anywhere
installed you can skip all of them and type
:vline: in any text field instead, which
is the same on every platform.
macOS
No direct shortcut. Use Edit → Emoji & Symbols, or switch to the Unicode Hex
Input source and type 2502 with Option
held.
Windows
No Alt code. In Word, type 2502 then press Alt +
X. Elsewhere use the emoji panel with Win + Period, or Character Map.
Shortcodes
:vline: :box_vertical: On the web
HTML │
Unicode U+2502
What │ gets mistaken for
vertical bar
The pipe on your keyboard. It is shorter than the cell it sits in, so a column of pipes has visible breaks where a column of │ does not.
More from box drawing
:hline: ┌ :box_top_left: ┐ :box_top_right: └ :box_bottom_left: ┘ :box_bottom_right: ├ :box_tee_right: ┤ :box_tee_left: ┬ :box_tee_down: ┴ :box_tee_up: ┼ :box_cross: ╭ :box_round_top_left: ╮ :box_round_top_right: Every symbol and kaomoji is in the full gallery .
Tired of copying │ from pages like this one?
That is exactly what the extension removes. Here is the whole interaction, in every text field you already use:
You type
You get
Your keyboard already knows what you mean
Free, 290 KB, no account. Two letters from now you will never open an emoji panel again.