Egypt (EG)
Quick facts
Section titled “Quick facts”| Field | Value |
|---|---|
| Drive side | Right-hand |
| Language(s) | Arabic |
| Regulator | Ministry of Transport |
| Standard | British-derived (Egypt Traffic Signs Manual) |
The @road-signs/eg package contains Egypt road signs from the British-derived (ETSM) standard.
Signs are sourced from Wikimedia Commons and are in the public domain.
Installation
Section titled “Installation”npm install @road-signs/egSign categories
Section titled “Sign categories”| Category | Series | Description |
|---|---|---|
warning |
Warning | Hazard and warning signs |
priority |
Priority | Priority and right-of-way signs |
prohibitory |
Prohibitory / Regulatory | Prohibition and restriction signs |
mandatory |
Mandatory | Mandatory instruction signs |
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/eg';
// Example below uses the real EG sign "egyptian-road-sign-stop" — adjust to taste.
// All signssigns.length;
// By slug IDconst sign = getSign("egyptian-road-sign-stop-egyptian-road-sign-stop");
// By sign codeconst s = getSignByCode("egyptian-road-sign-stop");
// All priority signsconst filtered = getSignsByCategory("priority");import { getSignsByCategory } from '@road-signs/eg';import { RoadSign } from '@road-signs/react';
const prioritySigns = getSignsByCategory("priority");
export default function EGGrid() { return ( <div style={{ display: 'flex', gap: 8, flexWrap: 'wrap' }}> {prioritySigns.map((sign) => ( <RoadSign key={sign.id} sign={sign} size={64} /> ))} </div> );}<script setup>import { getSignsByCategory } from '@road-signs/eg';import { RoadSign } from '@road-signs/vue';
const prioritySigns = getSignsByCategory("priority");</script>
<template> <div style="display:flex;gap:8px;flex-wrap:wrap"> <RoadSign v-for="sign in prioritySigns" :key="sign.id" :sign="sign" :size="64" /> </div></template>Coverage
Section titled “Coverage”| Metric | Value |
|---|---|
| Signs scraped | 1 |
| Signs with SVG | 1 |
| Missing SVG | 0 |
| Overall | 100% |
| Category | Scraped | With SVG | Missing | % |
|---|---|---|---|---|
warning |
0 | 0 | 0 | — |
priority |
1 | 1 | 0 | 100% |
prohibitory |
0 | 0 | 0 | — |
mandatory |
0 | 0 | 0 | — |
information |
0 | 0 | 0 | — |
Standard: British-derived (Egypt Traffic Signs Manual)
SVG sources:
Coverage data is also published in the @road-signs/docs package.
TypeScript types
Section titled “TypeScript types”import type { EGSign, EGCategory } from '@road-signs/eg';