White Square With Rounded Corners

Shortcodes

Copy useful codes for white square with rounded corners symbol ▢ to use in websites, apps, blogs, and docs.

Unicode
U+25A2
HTML Code
▢
HEX Code
▢
CSS Code
\25A2
JS/JSON
\u25A2
Unix/C/PHP/JAVA
0x25A2
URL-encode
%E2%97%A2

Customize White Square With Rounded Corners

Customize ▢, download it as SVG or PNG, or copy the generated HTML snippet.

  

How to use White Square With Rounded Corners Symbol in HTML, CSS, and JS

Insert in HTML

1. Direct symbol:
<span>▢</span>
HTML Code:
<span>&#9634;</span>
HEX Code:
<span>&#x25A2;</span>

Add with CSS

.white-square-with-rounded-corners::before {
  content: '\\25A2';
}

Set it in JavaScript

document.querySelector('.white-square-with-rounded-corners').textContent = '▢';
copied