List available SVG icons or fetch a single icon.
Normal Icon
Glow Effect
List available SVG icons or fetch a single icon.
/icons- Returns JSON metadata and icon names/icons/:name- Returns icon SVG (e.g./icons/react)/icons/:name.svg- Same as above, with explicit.svgsuffix/icons/demo- Interactive icon gallery page
- For
/iconsand/icons/demo: none - For
/icons/:name: path paramname
Default demo icon: react
| Param | Description |
|---|---|
color |
Replaces currentColor fills/strokes in the SVG |
foreground |
Recolors elements marked with data-foreground |
glow |
Enable glow effect (true or 1) |
glowColor |
Set glow color (hex, rgb, named color). Defaults to #00AAFF if not specified |
JSON list endpoint:
curl "https://stats.pphat.top/icons"Single icon (SVG response):
Single icon with explicit extension:
Demo page:
https://stats.pphat.top/icons/demo
| Param | Preview |
|---|---|
color |
|
foreground |
|
glow |
|
glowColor |
Invalid icon name:
curl "https://stats.pphat.top/icons/../secret"Icon not found:
curl "https://stats.pphat.top/icons/not-a-real-icon"