[GH-ISSUE #479] provide svg "sprite" (symbol) #292

Closed
opened 2026-03-03 14:37:18 +03:00 by kerem · 1 comment
Owner

Originally created by @tttp on GitHub (Aug 26, 2018).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/479

Hi,
In all modern browsers, you can load directly all the flags from one big svg (each of them being defined as a symbol) and then use them with use href="#flag-iso".

I've done if for the eu countries and wrote a quick demo:

https://techtothepeople.github.io/eucountries/

If there is an interest, I'm happy to finetune my gulp scripts and PR.

Originally created by @tttp on GitHub (Aug 26, 2018). Original GitHub issue: https://github.com/lipis/flag-icons/issues/479 Hi, In all modern browsers, you can load directly all the flags from one big svg (each of them being defined as a symbol) and then use them with use href="#flag-iso". I've done if for the eu countries and wrote a quick demo: https://techtothepeople.github.io/eucountries/ If there is an interest, I'm happy to finetune my gulp scripts and PR.
kerem closed this issue 2026-03-03 14:37:18 +03:00
Author
Owner

@lipis commented on GitHub (Sep 15, 2018):

Not sure if it's worth it for this project.. as this sprite will be quite huge..

<!-- gh-comment-id:421586286 --> @lipis commented on GitHub (Sep 15, 2018): Not sure if it's worth it for this project.. as this sprite will be quite huge..
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flag-icons#292
No description provided.