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

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

Copy link
Copy Markdown

game board for tic-tac-toe

ghost commented Feb 1, 2025

Copy link
Copy Markdown

Doesn't really function for me the best, but is a monospace font on ChromeOS & Fedora Linux. I have a way to fix this; go to your browser settings and look for an option to change fonts. Then, configure it to your will. Try using a pure monospace font like "Agave" or just "Monospace" if that helps. Then, try rendering it again and I think it'll work.

@saberr26

saberr26 commented Jul 13, 2025

Copy link
Copy Markdown

just putting this here since i'll need it later
╭─╥─╮ ╞═╬═╡ │ ║ │ ╰─╨─╯

@belfie13

belfie13 commented Feb 6, 2026

Copy link
Copy Markdown
┏─┯━┳━┓╔══╗
┃ ├─╂─┨║  ║
┃ │ ┗━┛╚══╝
┖─┘

btw, what your experiencing is the browser shortening double spaces. so whenever you use more than one space in HTML the browser shortens it to just one unless you use no-break space

@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