Paraguay (PY)
The @road-signs/py package contains Paraguay road signs from the MUTCD-based standard.
Signs are sourced from Wikimedia Commons and are in the public domain.
Installation
Section titled “Installation”npm install @road-signs/pySign categories
Section titled “Sign categories”| Category | Series | Description |
|---|---|---|
warning |
Warning | Hazard and warning signs |
prohibitory |
Regulatory | Regulatory and prohibition signs |
information |
Information | Information and directional signs |
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/py';
// Example below uses the real PY sign "P-01" — adjust to taste.
// All signssigns.length;
// By slug IDconst sign = getSign("p-01-sharp-curve-to-the-left");
// By sign codeconst s = getSignByCode("P-01");
// All warning signsconst filtered = getSignsByCategory("warning");import { getSignsByCategory } from '@road-signs/py';import { RoadSign } from '@road-signs/react';
const warningSigns = getSignsByCategory("warning");
export default function PYGrid() { 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/py';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 | 146 |
| Signs with SVG | 146 |
| Missing SVG | 0 |
| Overall | 100% |
| Category | Scraped | With SVG | Missing | % |
|---|---|---|---|---|
warning |
70 | 70 | 0 | 100% |
priority |
0 | 0 | 0 | — |
prohibitory |
37 | 37 | 0 | 100% |
mandatory |
1 | 1 | 0 | 100% |
information |
38 | 38 | 0 | 100% |
Standard: Manual de Señalización Vial — Vienna Convention variant
SVG sources:
Coverage data is also published in the @road-signs/docs package.
TypeScript types
Section titled “TypeScript types”import type { PYSign, PYCategory } from '@road-signs/py';