Skip to content

Instantly share code, notes, and snippets.

@flaviut
Last active August 20, 2026 20:38
Show Gist options
  • Select an option

  • Save flaviut/0db1aec4cadf2ef06455 to your computer and use it in GitHub Desktop.

Select an option

Save flaviut/0db1aec4cadf2ef06455 to your computer and use it in GitHub Desktop.
Box Drawing characters with examples

Box drawing fun

A few boxes drawn with Unicode box drawing characters:

╔═╦═╗
╠═╬═╣
║ ║ ║
╚═╩═╝
┏━┳━┓
┣━╋━┫
┃ ┃ ┃
┗━┻━┛
┌─┬─┐
├─┼─┤
│ │ │
└─┴─┘
╭─╥─╮
╞═╬═╡
│ ║ │
╰─╨─╯

No idea WTF this is useful for, but whatever.

 ╳
╱ ╲
╲ ╱
 ╳
╱ ╲
▏ ▕
▔▔▔

Complete list

─
━
│
┃
┄
┅
┆
┇
┈
┉
┊
┋
┌
┍
┎
┏
┐
┑
┒
┓
└
┕
┖
┗
┘
┙
┚
┛
├
┝
┞
┟
┠
┡
┢
┣
┤
┥
┦
┧
┨
┩
┪
┫
┬
┭
┮
┯
┰
┱
┲
┳
┴
┵
┶
┷
┸
┹
┺
┻
┼
┽
┾
┿
╀
╁
╂
╃
╄
╅
╆
╇
╈
╉
╊
╋
╌
╍
╎
╏
═
║
╒
╓
╔
╕
╖
╗
╘
╙
╚
╛
╜
╝
╞
╟
╠
╡
╢
╣
╤
╥
╦
╧
╨
╩
╪
╫
╬
╭
╮
╯
╰
╱
╲
╳
╴
╵
╶
╷
╸
╹
╺
╻
╼
╽
╾
╿
@itzender5820

Copy link
Copy Markdown

There actual use

2040

@monopodog

Copy link
Copy Markdown

I'm not sure if you're using the Noto Mono font, but I was and had the exact same problem getting these Unicode box-drawing characters to line up. Noto Mono is fabulous for rendering almost any kind of glyph, but despite the name, it's technically not a monospaced font. See notofonts/latin-greek-cyrillic#234.

Anyway, I tried other monospaced fonts (e.g. Liberation Mono) and got it to work as advertised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment