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
Overview
─ (BOX DRAWINGS LIGHT HORIZONTAL) is the Unicode character at code point U+2500. It belongs to the Box Drawing block, in the Other Symbol (So) general category.
On this page
Encoding Table
| Format | Value | Copy |
|---|---|---|
| Code point | U+2500 |
|
| Decimal | 9472 |
|
| HTML decimal | ─ |
|
| HTML hex | ─ |
|
| CSS | \2500 |
|
| JavaScript | \u{2500} |
|
| Python | \u2500 |
|
| Java | \u2500 |
|
| Go | \u2500 |
|
| Ruby | \u{2500} |
|
| Rust | \u{2500} |
|
| C / C++ | \u2500 |
|
| URL-encoded | %E2%94%80 |
|
| UTF-8 bytes | e2 94 80 |
|
| UTF-16BE bytes | 25 00 |
|
| UTF-32BE bytes | 00 00 25 00 |
How to Use
HTML:
─
CSS:
content: "\2500"
JavaScript:
"\u{2500}"
Python:
"\u2500"
Properties
- Block
- Box Drawing
- Script
- Common 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.