Luxembourg (LU)
Quick facts
Section titled “Quick facts”| Field | Value |
|---|---|
| Drive side | Right-hand |
| Language(s) | French, German, Luxembourgish |
| Regulator | MMTP |
| Standard | Code de la route — Vienna Convention |
The @road-signs/lu package contains Luxembourg road signs from the Code de la route — Vienna Convention.
Signs are sourced from Wikimedia Commons and are in the public domain.
Installation
Section titled “Installation”npm install @road-signs/luSign categories
Section titled “Sign categories”| Category | Series | Description |
|---|---|---|
warning |
A series | Danger — hazard warnings |
priority |
B series | Priorité — right-of-way |
prohibitory |
C series | Interdictions et restrictions — prohibitions |
mandatory |
D series | Obligations — mandatory actions |
information |
E–F series | Indication — information and direction |
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/lu';
// Placeholders — replace with real codes once @road-signs/lu ships a registry.
// All signssigns.length;
// By slug IDconst sign = getSign("example-sign");
// By sign codeconst s = getSignByCode("EXAMPLE-CODE");
// All warning signsconst filtered = getSignsByCategory("warning");import { getSignsByCategory } from '@road-signs/lu';import { RoadSign } from '@road-signs/react';
const warningSigns = getSignsByCategory("warning");
export default function LUGrid() { 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/lu';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 | 0 |
| Signs with SVG | 0 |
| Missing SVG | 0 |
| Overall | — |
| Category | Scraped | With SVG | Missing | % |
|---|---|---|---|---|
warning |
0 | 0 | 0 | — |
priority |
0 | 0 | 0 | — |
prohibitory |
0 | 0 | 0 | — |
mandatory |
0 | 0 | 0 | — |
information |
0 | 0 | 0 | — |
Standard: Code de la route — Vienna Convention
SVG sources:
Coverage data is also published in the @road-signs/docs package.
TypeScript types
Section titled “TypeScript types”import type { LUSign, LUCategory } from '@road-signs/lu';
type LUCategory = 'information' | 'mandatory' | 'priority' | 'prohibitory' | 'warning';
interface LUSign { id: string; // e.g. "a1-sharp-bend" code: string; // sign code, e.g. "A1" name: string; description: string; category: LUCategory; svg: string; // inline SVG string assets: { svg: string; png: Record<number, string>; jpg: Record<number, string>; webp: Record<number, string>; };}