Saudi Arabia (SA)
Quick facts
Section titled “Quick facts”| Field | Value |
|---|---|
| Drive side | Right-hand |
| Language(s) | Arabic, English |
| Regulator | GDT (GCC Manual) |
| Standard | Vienna Convention, bilingual Arabic/English |
The @road-signs/sa package contains Saudi Arabia road signs from the Vienna Convention.
Signs are bilingual Arabic/English and are sourced from Wikimedia Commons and are in the public domain.
Installation
Section titled “Installation”npm install @road-signs/saSign categories
Section titled “Sign categories”| Category | Series | Description |
|---|---|---|
warning |
Warning / Temporary | Hazard and warning signs |
priority |
Priority | Priority and right-of-way signs |
prohibitory |
Regulatory / Prohibitory | Prohibition and restriction signs |
mandatory |
Mandatory | Mandatory instruction signs |
information |
Guide / Information | Information and directional signs |
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/sa';
// Example below uses the real SA sign "ROAD-5018" — adjust to taste.
// All signssigns.length;
// By slug IDconst sign = getSign("road-5018-saudi-arabia-branch");
// By sign codeconst s = getSignByCode("ROAD-5018");
// All information signsconst filtered = getSignsByCategory("information");import { getSignsByCategory } from '@road-signs/sa';import { RoadSign } from '@road-signs/react';
const informationSigns = getSignsByCategory("information");
export default function SAGrid() { return ( <div style={{ display: 'flex', gap: 8, flexWrap: 'wrap' }}> {informationSigns.map((sign) => ( <RoadSign key={sign.id} sign={sign} size={64} /> ))} </div> );}<script setup>import { getSignsByCategory } from '@road-signs/sa';import { RoadSign } from '@road-signs/vue';
const informationSigns = getSignsByCategory("information");</script>
<template> <div style="display:flex;gap:8px;flex-wrap:wrap"> <RoadSign v-for="sign in informationSigns" :key="sign.id" :sign="sign" :size="64" /> </div></template>Coverage
Section titled “Coverage”| Metric | Value |
|---|---|
| Signs scraped | 192 |
| Signs with SVG | 192 |
| Missing SVG | 0 |
| Overall | 100% |
| Category | Scraped | With SVG | Missing | % |
|---|---|---|---|---|
warning |
59 | 59 | 0 | 100% |
priority |
4 | 4 | 0 | 100% |
prohibitory |
59 | 59 | 0 | 100% |
mandatory |
0 | 0 | 0 | — |
information |
70 | 70 | 0 | 100% |
Standard: Vienna Convention, bilingual Arabic/English
SVG sources:
Coverage data is also published in the @road-signs/docs package.
TypeScript types
Section titled “TypeScript types”import type { SASign, SACategory } from '@road-signs/sa';