Kuwait (KW)
Quick facts
Section titled “Quick facts”| Field | Value |
|---|---|
| Drive side | Right-hand |
| Language(s) | Arabic, English |
| Regulator | GCC Manual |
| Standard | Vienna Convention, bilingual Arabic/English (GCC Manual) |
The @road-signs/kw package contains Kuwait road signs from the UK-influenced standard.
Signs are sourced from Wikimedia Commons and are in the public domain.
Installation
Section titled “Installation”npm install @road-signs/kwSign categories
Section titled “Sign categories”| Category | Series | Description |
|---|---|---|
warning |
Warning | Hazard and warning signs |
prohibitory |
Regulatory | Regulatory and prohibition signs |
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/kw';
// Example below uses the real KW sign "kw-road-sign-500" — adjust to taste.
// All signssigns.length;
// By slug IDconst sign = getSign("kw-road-sign-500-kw-road-sign-500");
// By sign codeconst s = getSignByCode("kw-road-sign-500");
// All warning signsconst filtered = getSignsByCategory("warning");import { getSignsByCategory } from '@road-signs/kw';import { RoadSign } from '@road-signs/react';
const warningSigns = getSignsByCategory("warning");
export default function KWGrid() { 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/kw';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 | 98 |
| Signs with SVG | 98 |
| Missing SVG | 0 |
| Overall | 100% |
| Category | Scraped | With SVG | Missing | % |
|---|---|---|---|---|
warning |
29 | 29 | 0 | 100% |
prohibitory |
53 | 53 | 0 | 100% |
information |
16 | 16 | 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 { KWSign, KWCategory } from '@road-signs/kw';