Ireland (IE)
Quick facts
Section titled “Quick facts”| Field | Value |
|---|---|
| Drive side | Left-hand |
| Language(s) | English, Irish |
| Regulator | RSA (TSM) |
| Code format | RUS 001 / W 042 |
| Standard | Road Traffic (Signs) Regulations — TSRGD-influenced |
The @road-signs/ie package contains Ireland road signs from the Road Traffic (Signs) Regulations, Ireland’s statutory instrument governing road signage.
Signs are sourced from Wikipedia / Wikimedia Commons. Signs are in the public domain.
Installation
Section titled “Installation”npm install @road-signs/ieSign categories
Section titled “Sign categories”| Category | Series | Description |
|---|---|---|
warning |
W series | Diamond/square hazard warnings |
priority |
— | Yield and stop signs |
prohibitory |
— | Regulatory restrictions |
mandatory |
— | Compulsory actions |
information |
— | Information, direction, and tourist signs |
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/ie';
// Example below uses the real IE sign "w-001-crossroads" — adjust to taste.
// All signssigns.length;
// By slug IDconst sign = getSign("w-001-crossroads-w-001-crossroads");
// By sign codeconst s = getSignByCode("w-001-crossroads");
// All warning signsconst filtered = getSignsByCategory("warning");import { getSignsByCategory } from '@road-signs/ie';import { RoadSign } from '@road-signs/react';
const warningSigns = getSignsByCategory("warning");
export default function IEGrid() { 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/ie';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 | 299 |
| Signs with SVG | 299 |
| Missing SVG | 0 |
| Overall | 100% |
| Category | Scraped | With SVG | Missing | % |
|---|---|---|---|---|
warning |
132 | 132 | 0 | 100% |
priority |
0 | 0 | 0 | — |
prohibitory |
75 | 75 | 0 | 100% |
mandatory |
0 | 0 | 0 | — |
information |
92 | 92 | 0 | 100% |
Standard: Road Traffic (Signs) Regulations — TSRGD-influenced
SVG sources:
Coverage data is also published in the @road-signs/docs package.
TypeScript types
Section titled “TypeScript types”import type { IESign, IECategory } from '@road-signs/ie';
type IECategory = 'information' | 'mandatory' | 'priority' | 'prohibitory' | 'warning';
interface IESign { id: string; // e.g. "w-01-bend-ahead" code: string; // e.g. "W-01" name: string; description: string; category: IECategory; svg: string; // inline SVG string assets: { svg: string; png: Record<number, string>; jpg: Record<number, string>; webp: Record<number, string>; };}