Skip to the content

Hata旗

Load a native country or region flag, choose supported framing and keep each drawing’s source, author and licence.

Hata (旗) is Japanese for a flag. About the name

Contents

Reference · SUHH--1936 flag SVG

svgconstant

The flag of 1936 to 1955: one of the flags of Soviet Union (ソビエト連邦), SUHH, in real use, as an SVG string: viewBox 1000 by 500 (2:1), 7.1 KB. From Wikimedia Commons, "Flag of the Soviet Union (1936 – 1955).svg" (public domain). flag("SUHH", { variant: "1936" }) loads it, and variantsOf("SUHH") says its status, dates and why it is offered.

Import it

import { svg } from "@johnmorrisdotca/hata/flags/suhh--1936";

Definition

const svg: string

Examples

Example 1

import flag from "@johnmorrisdotca/hata/flags/suhh--1936";

const host=document.createElement("div");
host.innerHTML = flag;
console.log(host.querySelector("svg")?.getAttribute("viewBox"));

Example 2

import { svg } from "@johnmorrisdotca/hata/flags/suhh--1936";
console.log(svg.startsWith("<svg"),svg.length);
true 7281

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/hata 1.31.0.