Skip to content

Slovenia (SI)

Field Value
Drive side Right-hand
Language(s) Slovenian
Regulator DRSI
Standard Pravilnik o prometni signalizaciji — Vienna Convention

The @road-signs/si package contains Slovenian road signs from the Pravilnik o prometni signalizaciji. Signs are sourced from Wikimedia Commons and are in the public domain.

Terminal window
npm install @road-signs/si
Category Series Description
warning A series Hazard warnings
priority B series Right-of-way
prohibitory C series Prohibitions and restrictions
mandatory D series Mandatory actions
information E–F series Information and direction
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/si';
// Example below uses the real SI sign "I-1" — adjust to taste.
// All signs
signs.length;
// By slug ID
const sign = getSign("i-1-curve-to-the-left");
// By sign code
const s = getSignByCode("I-1");
// All warning signs
const filtered = getSignsByCategory("warning");
Metric Value
Signs scraped 184
Signs with SVG 182
Missing SVG 2
Overall 99%
Category Scraped With SVG Missing %
warning 48 48 0 100%
priority 47 47 0 100%
prohibitory 0 0 0 —
mandatory 26 26 0 100%
information 63 61 2 97%

Standard: Pravilnik o prometni signalizaciji — Vienna Convention

SVG sources:

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

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