Skip to content

Italy (IT)

Field Value
Drive side Right-hand
Language(s) Italian
Regulator MIT (Codice della Strada)
Code format Fig. II.1 / II.50
Standard Codice della strada — Vienna Convention

The @road-signs/it package contains Italy road signs from the Codice della Strada, identified by figure numbers (fig. II.1, fig. III.5). Signs are sourced from Wikipedia / Wikimedia Commons. Signs are in the public domain.

Terminal window
npm install @road-signs/it
Category Series Description
warning fig. II series Danger signs — triangular, red border
priority fig. II (precedenza) Precedence and right-of-way signs
prohibitory fig. III series Prohibition signs — circular, red border
mandatory fig. IV series Obligation signs — circular, blue background
information fig. V–VI series Indication and direction signs — rectangular
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/it';
// Example below uses the real IT sign "A1" — adjust to taste.
// All signs
signs.length;
// By slug ID
const sign = getSign("a1-beginning-of-a-danger-or-a-prescription-vertical");
// By sign code
const s = getSignByCode("A1");
// All information signs
const filtered = getSignsByCategory("information");
Metric Value
Signs scraped 326
Signs with SVG 317
Missing SVG 9
Overall 97%
Category Scraped With SVG Missing %
warning 51 51 0 100%
priority 0 0 0 —
prohibitory 75 75 0 100%
mandatory 0 0 0 —
information 200 191 9 96%

Standard: Codice della strada — Vienna Convention

SVG sources:

Coverage data is also published in the @road-signs/docs package.

import type { ITSign, ITCategory } from '@road-signs/it';
type ITCategory = 'information' | 'mandatory' | 'priority' | 'prohibitory' | 'warning';
interface ITSign {
id: string; // e.g. "ii-1-curve-ahead"
code: string; // Figure number, e.g. "II.1"
name: string;
description: string;
category: ITCategory;
svg: string; // inline SVG string
assets: {
svg: string;
png: Record<number, string>;
jpg: Record<number, string>;
webp: Record<number, string>;
};
}