Suriname (SR)
The @road-signs/sr package contains Suriname road signs (Vienna Convention / Dutch-inherited).
Signs are sourced from Wikimedia Commons and are in the public domain.
Installation
Section titled “Installation”npm install @road-signs/srSign categories
Section titled “Sign categories”| Category | Series | Description |
|---|---|---|
warning |
A — Warning | Hazard and warning signs |
priority |
B — Priority | Priority and right-of-way signs |
prohibitory |
C — Prohibitory | Prohibition and restriction signs |
mandatory |
D / E — Mandatory | Mandatory instruction signs |
information |
F / G / H / L — Information | Information and additional signs |
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/sr';
// Example below uses the real SR sign "J1" — adjust to taste.
// All signssigns.length;
// By slug IDconst sign = getSign("j1-uneven-road");
// By sign codeconst s = getSignByCode("J1");
// All warning signsconst filtered = getSignsByCategory("warning");import { getSignsByCategory } from '@road-signs/sr';import { RoadSign } from '@road-signs/react';
const warningSigns = getSignsByCategory("warning");
export default function SRGrid() { 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/sr';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 | 282 |
| Signs with SVG | 282 |
| Missing SVG | 0 |
| Overall | 100% |
| Category | Scraped | With SVG | Missing | % |
|---|---|---|---|---|
warning |
43 | 43 | 0 | 100% |
priority |
12 | 12 | 0 | 100% |
prohibitory |
10 | 10 | 0 | 100% |
mandatory |
92 | 92 | 0 | 100% |
information |
125 | 125 | 0 | 100% |
Standard: Vienna Convention / Dutch-influenced (Verkeerstekenbesluit)
SVG sources:
- Wikimedia Commons — Road signs in Suriname
- Wikimedia Commons — SVG road signs in the Netherlands
- Wikipedia — Road signs in the Netherlands
Coverage data is also published in the @road-signs/docs package.
TypeScript types
Section titled “TypeScript types”import type { SRSign, SRCategory } from '@road-signs/sr';