Skip to content

Bulgaria (BG)

Field Value
Drive side Right-hand
Language(s) Bulgarian
Regulator API
Standard Закон за движението по пътищата (ZDP) — Vienna Convention

The @road-signs/bg package contains Bulgarian road signs from the Закон за движението по пътищата (ZDP). Signs are sourced from Wikimedia Commons and are in the public domain.

Terminal window
npm install @road-signs/bg
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/bg';
// Example below uses the real BG sign "1-right-curve" — adjust to taste.
// All signs
signs.length;
// By slug ID
const sign = getSign("1-right-curve-1-right-curve");
// By sign code
const s = getSignByCode("1-right-curve");
// All warning signs
const filtered = getSignsByCategory("warning");
Metric Value
Signs scraped 188
Signs with SVG 188
Missing SVG 0
Overall 100%
Category Scraped With SVG Missing %
warning 49 49 0 100%
priority 6 6 0 100%
prohibitory 36 36 0 100%
mandatory 25 25 0 100%
information 72 72 0 100%

Standard: Закон за движението по пътищата (ZDP) — Vienna Convention

SVG sources:

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

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