Liechtenstein (LI)
Quick facts
Section titled “Quick facts”| Field | Value |
|---|---|
| Drive side | Right-hand |
| Language(s) | German |
| Regulator | ASTRA (uses Swiss SSV) |
| Code format | 1.01 / 2.02 |
| Standard | SSV/SVV (Signalisationsverordnung) — same signs as Switzerland |
The @road-signs/li package contains Liechtenstein road signs under the SSV/SVV (Swiss Sign Ordinance) — Vienna Convention.
Liechtenstein uses Swiss-standard signs (SSV/SVV) — the sign set is effectively identical to @road-signs/ch.
Signs are sourced from Wikimedia Commons and are in the public domain.
Installation
Section titled “Installation”npm install @road-signs/liSign categories
Section titled “Sign categories”| Category | Series | Description |
|---|---|---|
warning |
1.xx | Hazard warnings |
priority |
2.xx | Right-of-way signs |
prohibitory |
3.xx | Prohibitions and restrictions |
mandatory |
4.xx | Mandatory actions |
information |
5–6.xx | Information and direction |
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/li';
// Example below uses the real LI sign "1-06-uneven-road" — adjust to taste.
// All signssigns.length;
// By slug IDconst sign = getSign("1-06-uneven-road-1-06-uneven-road");
// By sign codeconst s = getSignByCode("1-06-uneven-road");
// All warning signsconst filtered = getSignsByCategory("warning");import { getSignsByCategory } from '@road-signs/li';import { RoadSign } from '@road-signs/react';
const warningSigns = getSignsByCategory("warning");
export default function LIGrid() { 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/li';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 | 251 |
| Signs with SVG | 251 |
| Missing SVG | 0 |
| Overall | 100% |
| Category | Scraped | With SVG | Missing | % |
|---|---|---|---|---|
warning |
30 | 30 | 0 | 100% |
priority |
17 | 17 | 0 | 100% |
prohibitory |
24 | 24 | 0 | 100% |
mandatory |
64 | 64 | 0 | 100% |
information |
116 | 116 | 0 | 100% |
Standard: SSV/SVV (Signalisationsverordnung) — same signs as Switzerland
SVG sources:
- Wikimedia Commons — Road signs in Liechtenstein
- Wikimedia Commons — Road signs in Switzerland (shared)
Coverage data is also published in the @road-signs/docs package.
TypeScript types
Section titled “TypeScript types”import type { LISign, LICategory } from '@road-signs/li';
type LICategory = 'information' | 'mandatory' | 'priority' | 'prohibitory' | 'warning';
interface LISign { id: string; // e.g. "1-01-sharp-bend" code: string; // sign code, e.g. "1.01" name: string; description: string; category: LICategory; svg: string; // inline SVG string assets: { svg: string; png: Record<number, string>; jpg: Record<number, string>; webp: Record<number, string>; };}