Skip to content

France (FR)

Field Value
Drive side Right-hand
Language(s) French
Regulator Sécurité Routière
Code format A1a / B1 / C18
Standard Code de la route — Vienna Convention

The @road-signs/fr package contains France road signs from the Code de la route, organised by alphabetical series (A, AB, B, C, CE, D, E). Signs are sourced from Wikipedia / Wikimedia Commons. Signs are in the public domain.

Terminal window
npm install @road-signs/fr
Category Series Description
warning A series Danger signs — triangular, red border
priority AB series Priority and right-of-way signs
prohibitory B series Regulatory signs — circular, red or blue
information C/D/E series Indication, direction, and service signs — rectangular
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/fr';
// Example below uses the real FR sign "30-km-h-zone" — adjust to taste.
// All signs
signs.length;
// By slug ID
const sign = getSign("30-km-h-zone-30-km-h-zone");
// By sign code
const s = getSignByCode("30-km-h-zone");
// All prohibitory signs
const filtered = getSignsByCategory("prohibitory");
Metric Value
Signs scraped 323
Signs with SVG 321
Missing SVG 2
Overall 99%
Category Scraped With SVG Missing %
warning 30 29 1 97%
priority 9 9 0 100%
prohibitory 88 88 0 100%
mandatory 0 0 0 —
information 196 195 1 99%

Standard: Code de la route — Vienna Convention

SVG sources:

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

import type { FRSign, FRCategory } from '@road-signs/fr';
type FRCategory = 'information' | 'mandatory' | 'priority' | 'prohibitory' | 'warning';
interface FRSign {
id: string; // e.g. "a1-danger-bend"
code: string; // Series code, e.g. "A1"
name: string;
description: string;
category: FRCategory;
svg: string; // inline SVG string
assets: {
svg: string;
png: Record<number, string>;
jpg: Record<number, string>;
webp: Record<number, string>;
};
}