Nicaragua (NI)
The @road-signs/ni package contains Nicaragua road signs (SIECA).
Signs are sourced from Wikimedia Commons and are in the public domain.
Installation
Section titled “Installation”npm install @road-signs/niSign categories
Section titled “Sign categories”| Category | Series | Description |
|---|---|---|
warning |
Warning | Hazard and warning signs |
prohibitory |
Prohibitory | Prohibition and restriction signs |
information |
Information / Service / Additional | Information, service, and additional plate signs |
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/ni';
// Example below uses the real NI sign "P-1-1" — adjust to taste.
// All signssigns.length;
// By slug IDconst sign = getSign("p-1-1-sharp-curve-to-the-right-left-if-reversed");
// By sign codeconst s = getSignByCode("P-1-1");
// All warning signsconst filtered = getSignsByCategory("warning");import { getSignsByCategory } from '@road-signs/ni';import { RoadSign } from '@road-signs/react';
const warningSigns = getSignsByCategory("warning");
export default function NIGrid() { 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/ni';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 | 420 |
| Signs with SVG | 420 |
| Missing SVG | 0 |
| Overall | 100% |
| Category | Scraped | With SVG | Missing | % |
|---|---|---|---|---|
warning |
125 | 125 | 0 | 100% |
priority |
0 | 0 | 0 | — |
prohibitory |
192 | 192 | 0 | 100% |
mandatory |
0 | 0 | 0 | — |
information |
103 | 103 | 0 | 100% |
Standard: Manual Centroamericano de Dispositivos Uniformes (SIECA)
SVG sources:
Coverage data is also published in the @road-signs/docs package.
TypeScript types
Section titled “TypeScript types”import type { NISign, NICategory } from '@road-signs/ni';