| Symbol Name | Box Drawings Light Vertical |
| Unicode Version | 1.1 |
| Unicode | U+2502 |
| Unicode block | |
| General category | Other Symbol (So) |
| CSS Code | \2502 |
| Hex Code | 0x2502 |
| HTML Code | │ |
| LaTeX | \vline |
| Symbol | │ |
| URL encode (UTF-8 percent) | %E2%94%82 |
| Spoken / screen reader name | Box Drawings Light Vertical |
| UTF-8 | E2 94 82 |
| UTF-16 | 2502 |
| UTF-32 | 00002502 |
1\documentclass{article}2\usepackage{pifont}3\vline 4\end{document}You can type the box drawings light vertical symbol on most modern devices with the help of following methods:
Alt + 9474 on Windows (numeric keypad with Num Lock), or insert via Character Map.
Edit → Emoji & Symbols, search "box drawings light vertical", or use Unicode Hex Input with 2502.
Ctrl + Shift + U, type 2502, then Enter (layout-dependent).
Paste from this page, use text replacement, or pick from the symbol keyboard.
Paste from this page or use a keyboard with geometric symbol support.
1span.box-drawings-light-vertical::before { content: "\2502"; }1<span>│</span>Box Drawings Light Vertical symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\u2502' or String.fromCodePoint(9474) |
| Python | '\N{BOX DRAWINGS LIGHT VERTICAL}' or chr(9474) |
| Rust | '\u{2502}' |
| C / C++ | UTF-8 source or wchar_t with U+2502 |
| Go | string(rune(0x2502)) |
| Ruby | "\u{2502}" |