Argentina (AR)
Quick facts
Section titled “Quick facts”| Field | Value |
|---|---|
| Drive side | Right-hand |
| Language(s) | Spanish |
| Regulator | CNRT |
| Code format | P-1 / R-1 / I-1 |
| Standard | Decreto 779/95 — Reglamento Nacional de Tránsito (Vienna Convention variant) |
The @road-signs/ar package contains Argentine road signs from the Decreto 779/95 — Reglamento Nacional de Tránsito (Vienna variant).
Signs are sourced from Wikimedia Commons and are in the public domain.
Installation
Section titled “Installation”npm install @road-signs/arSign categories
Section titled “Sign categories”| Category | Series | Description |
|---|---|---|
warning |
Preventivas | Señales preventivas — hazard warnings |
prohibitory |
Reglamentarias | Señales reglamentarias — prohibitions and regulations |
information |
Informativas | Señales informativas — information and direction |
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/ar';
// Example below uses the real AR sign "railway-crossing-ahead" — adjust to taste.
// All signssigns.length;
// By slug IDconst sign = getSign("railway-crossing-ahead-railway-crossing-ahead");
// By sign codeconst s = getSignByCode("railway-crossing-ahead");
// All warning signsconst filtered = getSignsByCategory("warning");import { getSignsByCategory } from '@road-signs/ar';import { RoadSign } from '@road-signs/react';
const warningSigns = getSignsByCategory("warning");
export default function ARGrid() { 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/ar';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 | 140 |
| Signs with SVG | 140 |
| Missing SVG | 0 |
| Overall | 100% |
| Category | Scraped | With SVG | Missing | % |
|---|---|---|---|---|
warning |
62 | 62 | 0 | 100% |
priority |
0 | 0 | 0 | — |
prohibitory |
78 | 78 | 0 | 100% |
mandatory |
0 | 0 | 0 | — |
information |
0 | 0 | 0 | — |
Standard: Decreto 779/95 — Reglamento Nacional de Tránsito (Vienna Convention variant)
SVG sources:
Coverage data is also published in the @road-signs/docs package.
TypeScript types
Section titled “TypeScript types”import type { ARSign, ARCategory } from '@road-signs/ar';
type ARCategory = 'information' | 'prohibitory' | 'warning';
interface ARSign { id: string; // e.g. "p1-sharp-bend" code: string; // sign code, e.g. "P1" name: string; description: string; category: ARCategory; svg: string; // inline SVG string assets: { svg: string; png: Record<number, string>; jpg: Record<number, string>; webp: Record<number, string>; };}