Belarus (BY)
Quick facts
Section titled “Quick facts”| Field | Value |
|---|---|
| Drive side | Right-hand |
| Language(s) | Belarusian, Russian |
| Regulator | Belarusian State Auto Inspection |
| Standard | Vienna Convention (STB 1140-2013) |
The @road-signs/by package contains Belarus road signs from the Vienna Convention (STB 1140-2013).
Signs are sourced from Wikimedia Commons and are in the public domain.
Installation
Section titled “Installation”npm install @road-signs/bySign categories
Section titled “Sign categories”| Category | Series | Description |
|---|---|---|
warning |
Warning | Hazard and warning signs |
priority |
Priority | Priority and right-of-way signs |
prohibitory |
Prohibitory | Prohibition and restriction signs |
mandatory |
Mandatory | Mandatory instruction signs |
information |
Information / Service / Additional | Information, service, and additional plate signs |
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/by';
// Example below uses the real BY sign "1-5-trams" — adjust to taste.
// All signssigns.length;
// By slug IDconst sign = getSign("1-5-trams-1-5-trams");
// By sign codeconst s = getSignByCode("1-5-trams");
// All warning signsconst filtered = getSignsByCategory("warning");import { getSignsByCategory } from '@road-signs/by';import { RoadSign } from '@road-signs/react';
const warningSigns = getSignsByCategory("warning");
export default function BYGrid() { return ( <div style={{ display: 'flex', gap: 8, flexWrap: 'wrap' }}> {warningSigns.map((sign) => ( <RoadSign key={sign.id} sign={sign} size={64} /> ))} </div> );}<script setup>import { getSignsByCategory } from '@road-signs/by';import { RoadSign } from '@road-signs/vue';
const warningSigns = getSignsByCategory("warning");</script>
<template> <div style="display:flex;gap:8px;flex-wrap:wrap"> <RoadSign v-for="sign in warningSigns" :key="sign.id" :sign="sign" :size="64" /> </div></template>Coverage
Section titled “Coverage”| Metric | Value |
|---|---|
| Signs scraped | 360 |
| Signs with SVG | 358 |
| Missing SVG | 2 |
| Overall | 99% |
| Category | Scraped | With SVG | Missing | % |
|---|---|---|---|---|
warning |
64 | 64 | 0 | 100% |
priority |
13 | 13 | 0 | 100% |
prohibitory |
52 | 52 | 0 | 100% |
mandatory |
35 | 35 | 0 | 100% |
information |
196 | 194 | 2 | 99% |
Standard: Vienna Convention (STB 1140-2013)
SVG sources:
Coverage data is also published in the @road-signs/docs package.
TypeScript types
Section titled “TypeScript types”import type { BYSign, BYCategory } from '@road-signs/by';