Skip to content

Ukraine (UA)

Field Value
Drive side Right-hand
Language(s) Ukrainian
Regulator Ukravtodor
Code format 1.1 / 2.1 / 3.1
Standard Правила дорожнього руху (PDR) — Vienna Convention

The @road-signs/ua package contains Ukrainian road signs from the Правила дорожнього руху (PDR) — Vienna Convention. Signs are sourced from Wikimedia Commons and are in the public domain.

Terminal window
npm install @road-signs/ua
Category Series Description
warning 1.xx Попереджувальні знаки — hazard warnings (decimal codes, e.g. 1.1, 1.2)
priority 2.xx Знаки пріоритету — right-of-way signs
prohibitory 3.xx Заборонні знаки — prohibitions and restrictions
mandatory 4.xx Наказові знаки — mandatory actions
information 5.xx Інформаційні знаки — information and direction
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/ua';
// Example below uses the real UA sign "curve-to-the-right" — adjust to taste.
// All signs
signs.length;
// By slug ID
const sign = getSign("curve-to-the-right-curve-to-the-right");
// By sign code
const s = getSignByCode("curve-to-the-right");
// All warning signs
const filtered = getSignsByCategory("warning");
Metric Value
Signs scraped 309
Signs with SVG 303
Missing SVG 6
Overall 98%
Category Scraped With SVG Missing %
warning 54 54 0 100%
priority 6 6 0 100%
prohibitory 44 44 0 100%
mandatory 26 26 0 100%
information 179 173 6 97%

Standard: Правила дорожнього руху (PDR) — Vienna Convention

SVG sources:

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

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