feat(icons): added square-alert Icon (#3687)

* Add square alert icon

Introduces a new 'square-alert' icon with associated metadata and SVG file. The icon represents alert or warning notifications within a square shape.

* Reorder elements in square-alert.svg

Moved the <rect> element before the <path> elements to adjust the SVG structure. No visual changes to the icon.

* Add newline at end of square-alert.json

linting fix

* changed path to line

* Add missing contributors to square-alert.json

* Update square-alert.json

* docs(square-alert): add use cases

* refactor(icons): rename square-alert to square-exclamation-point

* fix: review comments

* Update icons/square-exclamation-point.json

* Update square-exclamation-point.json

---------

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
Co-authored-by: Karsa <contact@karsa.org>
This commit is contained in:
avrl
2026-09-03 16:35:59 +02:00
committed by GitHub
co-authored by Eric Fennis Karsa
parent a744a40e23
commit 3ccaafa69b
2 changed files with 46 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"viralcodex",
"colebemis",
"ericfennis"
],
"use-cases": [
"Indicating application or system warnings or alerts",
"Highlighting important notifications that require user attention",
"Representing caution states for different components or elements",
"Marking validation errors, invalid input or configuration issues",
"Displaying diagnostic or troubleshooting information"
],
"tags": [
"warning",
"alert",
"danger",
"exclamation mark",
"rectangle",
"square",
"notification",
"attention",
"important",
"caution"
],
"categories": [
"notifications",
"shapes"
]
}
+15
View File
@@ -0,0 +1,15 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<rect width="18" height="18" x="3" y="3" rx="2" />
<line x1="12" x2="12" y1="8" y2="12" />
<line x1="12" x2="12.01" y1="16" y2="16" />
</svg>

After

Width:  |  Height:  |  Size: 349 B