Oman (OM)
Quick facts
Section titled “Quick facts”| Field | Value |
|---|---|
| Drive side | Right-hand |
| Language(s) | Arabic, English |
| Regulator | ROP (GCC Manual) |
| Standard | Vienna Convention, bilingual Arabic/English (GCC Manual) |
The @road-signs/om package contains Oman road signs from the GCC Manual (UK-influenced).
Signs are sourced from Wikimedia Commons and are in the public domain.
Installation
Section titled “Installation”npm install @road-signs/omSign categories
Section titled “Sign categories”| Category | Series | Description |
|---|---|---|
warning |
Warning | Hazard and warning signs |
prohibitory |
Regulatory | Regulatory and prohibition signs |
information |
Information | Information and directional signs |
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/om';
// Example below uses the real OM sign "om-road-sign-101" — adjust to taste.
// All signssigns.length;
// By slug IDconst sign = getSign("om-road-sign-101-om-road-sign-101");
// By sign codeconst s = getSignByCode("om-road-sign-101");
// All warning signsconst filtered = getSignsByCategory("warning");import { getSignsByCategory } from '@road-signs/om';import { RoadSign } from '@road-signs/react';
const warningSigns = getSignsByCategory("warning");
export default function OMGrid() { 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/om';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 | 136 |
| Signs with SVG | 136 |
| Missing SVG | 0 |
| Overall | 100% |
| Category | Scraped | With SVG | Missing | % |
|---|---|---|---|---|
warning |
58 | 58 | 0 | 100% |
prohibitory |
51 | 51 | 0 | 100% |
information |
27 | 27 | 0 | 100% |
Standard: Vienna Convention, bilingual Arabic/English (GCC Manual)
SVG sources:
Coverage data is also published in the @road-signs/docs package.
TypeScript types
Section titled “TypeScript types”import type { OMSign, OMCategory } from '@road-signs/om';