Reference · GB-NIR--UNION-FLAG flag SVG
svgconstant
The Union Flag: one of the flags of Northern Ireland (北アイルランド), GB-NIR, in real use, as an SVG string: viewBox 50 by 30 (5:3), 452 B. The same picture as GB's.
From Wikimedia Commons, "Flag of the United Kingdom (3-5).svg" (public domain). flag("GB-NIR", { variant: "union-flag" }) loads it, and variantsOf("GB-NIR") says its status, dates and why it is offered.
Import it
import { svg } from "@johnmorrisdotca/hata/flags/gb-nir--union-flag";
Definition
const svg: string = shared
Examples
Example 1
import flag from "@johnmorrisdotca/hata/flags/gb-nir--union-flag";
const host=document.createElement("div");
host.innerHTML = flag;
console.log(host.querySelector("svg")?.getAttribute("viewBox"));Example 2
import { svg } from "@johnmorrisdotca/hata/flags/gb-nir--union-flag";
console.log(svg.startsWith("<svg"),svg.length);true 452What it prints (run when this page was built)