copied = false, 2000)"
@keydown.enter="navigator.clipboard.writeText('─'); copied = true; setTimeout(() => copied = false, 2000)"
:class="copied ? 'border-green-400 bg-green-50 dark:bg-green-950' : ''">
─
BOX DRAWINGS LIGHT HORIZONTAL
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://unicodefyi.com/iframe/entity//" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://unicodefyi.com/entity//
Add a dynamic SVG badge to your README or docs.
[](https://unicodefyi.com/entity//)
Use the native HTML custom element.
Encoding Table
| Format | Value | Copy |
|---|---|---|
| unicode | U+2500 | |
| decimal | 9472 | |
| htmldecimal | ─ | |
| htmlhex | ─ | |
| css | \2500 | |
| javascript | \u{2500} | |
| python | \u2500 | |
| java | \u2500 | |
| go | \u2500 | |
| ruby | \u{2500} | |
| rust | \u{2500} | |
| ccpp | \u2500 | |
| urlencoded | %E2%94%80 | |
| utf8bytes | e2 94 80 | |
| utf16bebytes | 25 00 | |
| utf32bebytes | 00 00 25 00 |
How to Use
HTML:
─
CSS:
content: "\2500"
JavaScript:
"\u{2500}"
Python:
"\u2500"
Properties
- Block
- Box Drawing
- Script
- Zyyy
- Category
- Other Symbol (So)
- Bidirectional
- ON
- Combining
- 0
- Mirrored
- No
Frequently Asked Questions
What is the ─ character (BOX DRAWINGS LIGHT HORIZONTAL)?
─ (BOX DRAWINGS LIGHT HORIZONTAL) is the Unicode character U+2500.
What is the Unicode codepoint of BOX DRAWINGS LIGHT HORIZONTAL?
The BOX DRAWINGS LIGHT HORIZONTAL character (─) has codepoint U+2500.
How do I type or copy BOX DRAWINGS LIGHT HORIZONTAL?
Copy ─ directly, or use the HTML entity, UTF-8, and code encodings shown on this page.