Menu

581 inline icons, 21 shapes between them, and 164 KB of our HTML is the attributes around the drawings
📰

581 inline icons, 21 shapes between them, and 164 KB of our HTML is the attributes around the drawings

DEV Community: html·Daniel Pertu·20 days ago
#T6ALeLlq
#devto2#devto#dev#arrow#icons
Long article (1439 words) — no AI summary yet.
Reading 0:00
15s threshold

PubTrivia uses lucide-react , which means every icon on the site is an inline <svg> in the server-rendered HTML rather than a file, a font or a sprite. I pulled all 72 public pages and counted them, because "inline SVG is cheap" is one of those things everybody repeats and nobody measures.

581 icons. Here is the whole vocabulary:

Icon Count

arrow-right 219

chevron-right 127

check 90

chevron-down 69

minus 29

x 27

the other 15 20

21 distinct names, and the top six are 561 of the 581. The long tail is one trophy , one wifi , one timer , one smartphone and so on, each appearing once or twice on a single page, which is exactly what a marketing site looks like: a handful of structural arrows doing nearly all the work, and a few illustrative icons on the features index .

Those 581 elements contain 871 <path> children, drawn from 49 distinct d strings.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.