Skip to content

Croatia (HR)

Field Value
Drive side Right-hand
Language(s) Croatian
Regulator HAK
Standard Pravilnik o prometnim znakovima — Vienna Convention

The @road-signs/hr package contains Croatian road signs from the Zakon o sigurnosti prometa na cestama. Signs are sourced from Wikimedia Commons and are in the public domain.

Terminal window
npm install @road-signs/hr
Category Series Description
warning A series Opasnost — hazard warnings
priority B series Prednost prolaza — right-of-way
prohibitory C series Zabrane i ograničenja — prohibitions
mandatory D series Obveze — mandatory actions
information E–F series Obavijesti — information and direction
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/hr';
// Example below uses the real HR sign "A01" — adjust to taste.
// All signs
signs.length;
// By slug ID
const sign = getSign("a01-other-dangers");
// By sign code
const s = getSignByCode("A01");
// All warning signs
const filtered = getSignsByCategory("warning");
Metric Value
Signs scraped 337
Signs with SVG 337
Missing SVG 0
Overall 100%
Category Scraped With SVG Missing %
warning 66 66 0 100%
priority 1 1 0 100%
prohibitory 61 61 0 100%
mandatory 0 0 0 —
information 209 209 0 100%

Standard: Pravilnik o prometnim znakovima — Vienna Convention

SVG sources:

Coverage data is also published in the @road-signs/docs package.

import type { HRSign, HRCategory } from '@road-signs/hr';
type HRCategory = 'information' | 'mandatory' | 'priority' | 'prohibitory' | 'warning';
interface HRSign {
id: string; // e.g. "a1-sharp-bend"
code: string; // sign code, e.g. "A1"
name: string;
description: string;
category: HRCategory;
svg: string; // inline SVG string
assets: {
svg: string;
png: Record<number, string>;
jpg: Record<number, string>;
webp: Record<number, string>;
};
}