Skip to content

Serbia (RS)

Field Value
Drive side Right-hand
Language(s) Serbian
Regulator AMSS
Standard Zakon o bezbednosti saobraćaja na putevima — Vienna Convention

The @road-signs/rs package contains Serbian road signs from the Zakon o bezbednosti saobraćaja. Signs are sourced from Wikimedia Commons and are in the public domain.

Terminal window
npm install @road-signs/rs
Category Series Description
warning II series Hazard warnings
priority III series Right-of-way and prohibitions
prohibitory III series Prohibitions and restrictions
mandatory IV series Mandatory actions
information V series Information and direction
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/rs';
// Example below uses the real RS sign "E70" — adjust to taste.
// All signs
signs.length;
// By slug ID
const sign = getSign("e70-european-road");
// By sign code
const s = getSignByCode("E70");
// All information signs
const filtered = getSignsByCategory("information");
Metric Value
Signs scraped 234
Signs with SVG 234
Missing SVG 0
Overall 100%
Category Scraped With SVG Missing %
warning 51 51 0 100%
priority 0 0 0 —
prohibitory 42 42 0 100%
mandatory 21 21 0 100%
information 120 120 0 100%

Standard: Zakon o bezbednosti saobraćaja na putevima — Vienna Convention

SVG sources:

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

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