Components › Identity › Identity marks › Country flag

Country flag

beta

Flat vector flag of a country (30 × 20, rounded, hairline outline) — the mark of a phone number by its dialling code.

Owner-approved 15 Oct 2026 in prototype proto/telefony-pin-puk (picks ACRM-515, ACRM-518: „vlajky úplně jednoduše, plošně vektorově", style reference nucleoapp.com/svg-flag-icons — own drawing, no Nucleo SVG copied, licence unclear). First use: /telefony identity column and drawer head (acrm !5089). Covers the 50 countries of DIAL_CODES; unknown code falls back to the grey phone tile. Before beta: move to packages/ui next to EntityMark, stories (all flags, sizes sm/lg, fallback), props. DialCodePicker („CZ +420 ▾") stays WITHOUT a flag — owner decision 15 Oct 2026. Registry repaired 17 Oct 2026 (review F1, F10): Flag/PhoneFlag now live in packages/ui/src/components/CountryFlag.tsx and are exported from @acrm/ui. Registry repaired 17 Oct 2026 (review F3): mapped existing Ladle stories. Beta 17 Oct 2026 (AD): moved to @acrm/ui next to EntityMark with stories Default · Variants · Sizes · States · Composition + 10 light/dark baselines (acrm !5124, 445b2e68b). AD 17 Oct 2026: a number without a dialling code is read as Czech (splitDial falls back to DEFAULT_DIAL +420, the same default as DialCodePicker and the phone mask) and shows the Czech flag — it is dialled as Czech; the grey phone tile stays only for a code outside DIAL_CODES. Canon after a dev check of /telefony with real data 1440/390 light/dark.

Used in 2 files · 2 areas · 2× — pages/TelefonyPage, pages/telefony

Default

components--country-flag--defaultOpen standalone ↗Code

Variants

CZ · Česko
SK · Slovensko
DE · Německo
AT · Rakousko
PL · Polsko
HU · Maďarsko
UA · Ukrajina
GB · Spojené království
IE · Irsko
FR · Francie
ES · Španělsko
PT · Portugalsko
IT · Itálie
CH · Švýcarsko
NL · Nizozemsko
BE · Belgie
LU · Lucembursko
DK · Dánsko
SE · Švédsko
NO · Norsko
FI · Finsko
EE · Estonsko
LV · Lotyšsko
LT · Litva
RO · Rumunsko
BG · Bulharsko
GR · Řecko
HR · Chorvatsko
SI · Slovinsko
RS · Srbsko
TR · Turecko
US · USA / Kanada
MX · Mexiko
BR · Brazílie
AR · Argentina
IL · Izrael
AE · Spojené arabské emiráty
SA · Saúdská Arábie
IN · Indie
CN · Čína
JP · Japonsko
KR · Jižní Korea
AU · Austrálie
NZ · Nový Zéland
ZA · Jihoafrická republika
EG · Egypt
RU · Rusko
VN · Vietnam
TH · Thajsko
SG · Singapur
components--country-flag--variantsOpen standalone ↗Code

Sizes

default 20 × 13 — the mark of a list row
lg 28 × 19 — drawer / record head (size="lg")
components--country-flag--sizesOpen standalone ↗Code

States

the code picks the country by the longest match (+421 Slovakia, +1 USA, +44 UK)
white flags keep the hairline outline (Poland, Japan, Finland)
unknown code — grey phone tile, no guessed flag
number without a code — splitDial assumes the default +420, so the Czech flag
components--country-flag--statesOpen standalone ↗Code

Composition

+420 603 123 456
+421 905 222 333
+49 30 1234567
identity column of /telefony — flag in the mark box, number next to it
+420 603 123 456
drawer head — lg mark
components--country-flag--compositionOpen standalone ↗Code