Lightning

Shortcodes

Copy and paste codes for Lightning symbol ☇ to use in your websites, apps, blogs, and more.

Unicode
U+2607
HTML Code
☇
HEX Code
☇
CSS Code
\2607
JS/JSON
\u2607
Unix/C/PHP/JAVA
0x2607
URL-encode
%E2%98%87
copied

Customize Lightning Symbol

Customize ☇ symbol as you like and download Lightning as SVG or PNG or copy its HTML code to use in your projects.

Preview helps customize symbol. Downloaded image and HTML code may have size/spacing differences.
 

How to add Lightning symbol in HTML, CSS, and JS?

Insert ☇ Lightning using HTML

1. Copy-paste Lightning directly:
<span>☇</span>
2. HTML Decimal Code:
<span>&#9735;</span>
3. Hexadecimal Code:
<span>&#x2607;</span>
Preview:

Add Lightning symbol with CSS

.lightning::before {
    content: '\\2607';
}
Preview: Lightning

Lightning JavaScript Code

1. Direct Symbol:
document.querySelector('.lightning').textContent = '☇';
2. Unicode Escape for ☇:
document.querySelector('.lightning').textContent = '\u2607';
Preview: