Czech Republic (CZ)
Quick facts
Section titled “Quick facts”| Field | Value |
|---|---|
| Drive side | Right-hand |
| Language(s) | Czech |
| Regulator | MD ČR |
| Code format | A-1 / B-1 / C-1 |
| Standard | Zákon č. 361/2000 Sb. — Vienna Convention |
The @road-signs/cz package contains Czech Republic road signs under zákon č. 361/2000 Sb.
Signs are sourced from Wikimedia Commons and are in the public domain.
Installation
Section titled “Installation”npm install @road-signs/czSign categories
Section titled “Sign categories”| Category | Series | Description |
|---|---|---|
warning |
A series | Výstražné značky — hazard warnings |
priority |
B series | Značky upravující přednost — right-of-way |
prohibitory |
B/C series | Zákazové a příkazové značky — prohibitions and restrictions |
mandatory |
C series | Příkazové značky — compulsory actions |
information |
IP/IJ/IS series | Informativní značky — information and service |
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/cz';
// Example below uses the real CZ sign "I-1A" — adjust to taste.
// All signssigns.length;
// By slug IDconst sign = getSign("i-1a-i-1a-dangerous-curve-to-the-right");
// By sign codeconst s = getSignByCode("I-1A");
// All warning signsconst filtered = getSignsByCategory("warning");import { getSignsByCategory } from '@road-signs/cz';import { RoadSign } from '@road-signs/react';
const warningSigns = getSignsByCategory("warning");
export default function CZGrid() { 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/cz';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 | 275 |
| Signs with SVG | 197 |
| Missing SVG | 78 |
| Overall | 72% |
| Category | Scraped | With SVG | Missing | % |
|---|---|---|---|---|
warning |
44 | 44 | 0 | 100% |
priority |
8 | 8 | 0 | 100% |
prohibitory |
43 | 42 | 1 | 98% |
mandatory |
34 | 34 | 0 | 100% |
information |
146 | 69 | 77 | 47% |
Standard: Zákon č. 361/2000 Sb. — Vienna Convention
SVG sources:
Coverage data is also published in the @road-signs/docs package.
TypeScript types
Section titled “TypeScript types”import type { CZSign, CZCategory } from '@road-signs/cz';
type CZCategory = 'information' | 'mandatory' | 'priority' | 'prohibitory' | 'warning';
interface CZSign { id: string; // e.g. "a1-sharp-bend" code: string; // sign code, e.g. "A1" name: string; description: string; category: CZCategory; svg: string; // inline SVG string assets: { svg: string; png: Record<number, string>; jpg: Record<number, string>; webp: Record<number, string>; };}