Skip to content

Instantly share code, notes, and snippets.

@flaviut
Last active July 6, 2026 20:09
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

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

flaviut commented Feb 16, 2023

Copy link
Copy Markdown
Author

Works for me:

2023-02-15-235614_482x812_scrot

@matheusmoreira

Copy link
Copy Markdown

So it really is just me.

20230216_030430

Thanks for letting me know!

ghost commented Jul 10, 2024

Copy link
Copy Markdown

So it really is just me.

Your browser might be rendering the Box Drawing characters in a sans-serif font rather than monospaced.

To test, look at the example below. The width of the Is, Ms and As should end at the same spot of it's rendered in a monospace font.

IIIII
MMMMM
AAAAA

@matheusmoreira

Copy link
Copy Markdown

So it really is just me.

Your browser might be rendering the Box Drawing characters in a sans-serif font rather than monospaced.

To test, look at the example below. The width of the Is, Ms and As should end at the same spot of it's rendered in a monospace font.

IIIII
MMMMM
AAAAA

All of those characters look right. It's just the box drawing characters that are screwed up. Browser must be using fallback fonts or something.

@LeninZapata

Copy link
Copy Markdown

Is there any software that makes this easier?

@flaviut

flaviut commented Sep 7, 2024

Copy link
Copy Markdown
Author

@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

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