Kazakhstan (KZ)
The @road-signs/kz package contains Kazakhstan road signs from the Vienna Convention (ST RK 1125-2021).
Signs are sourced from Wikimedia Commons and are in the public domain.
Installation
Section titled “Installation”npm install @road-signs/kzSign categories
Section titled “Sign categories”| Category | Series | Description |
|---|---|---|
warning |
Warning | Hazard and warning signs |
prohibitory |
Regulatory | Prohibition and restriction signs |
information |
Information / Service / Additional | Information, service, and additional plate signs |
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/kz';
// Example below uses the real KZ sign "railroad-crossing-ahead" — adjust to taste.
// All signssigns.length;
// By slug IDconst sign = getSign("railroad-crossing-ahead-railroad-crossing-ahead");
// By sign codeconst s = getSignByCode("railroad-crossing-ahead");
// All warning signsconst filtered = getSignsByCategory("warning");import { getSignsByCategory } from '@road-signs/kz';import { RoadSign } from '@road-signs/react';
const warningSigns = getSignsByCategory("warning");
export default function KZGrid() { 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/kz';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 | 226 |
| Signs with SVG | 226 |
| Missing SVG | 0 |
| Overall | 100% |
| Category | Scraped | With SVG | Missing | % |
|---|---|---|---|---|
warning |
43 | 43 | 0 | 100% |
priority |
13 | 13 | 0 | 100% |
prohibitory |
36 | 36 | 0 | 100% |
mandatory |
21 | 21 | 0 | 100% |
information |
113 | 113 | 0 | 100% |
Standard: Vienna Convention (ГОСТ РК 1.1)
SVG sources:
Coverage data is also published in the @road-signs/docs package.
TypeScript types
Section titled “TypeScript types”import type { KZSign, KZCategory } from '@road-signs/kz';