Skip to content

Taiwan (TW)

Field Value
Drive side Right-hand
Language(s) Mandarin
Regulator MOTC Taiwan
Standard Road Traffic Safety Rules (道路交通標誌標線號誌設置規則)

The @road-signs/tw package contains Taiwan road signs from the Road Traffic Safety Rules (道路交通標誌標線號誌設置規則). Signs are sourced from Wikimedia Commons and are in the public domain.

Terminal window
npm install @road-signs/tw
Category Series Description
warning Warning 警告標誌 — hazard warnings
prohibitory Regulatory 禁制標誌 — prohibitory and regulatory signs
mandatory Instruction 指示標誌 — mandatory instruction signs
information Guide 指引標誌 — guide and information signs
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/tw';
// Example below uses the real TW sign "A1" — adjust to taste.
// All signs
signs.length;
// By slug ID
const sign = getSign("a1-taiwan-roc-road-sign");
// By sign code
const s = getSignByCode("A1");
// All warning signs
const filtered = getSignsByCategory("warning");
Metric Value
Signs scraped 215
Signs with SVG 215
Missing SVG 0
Overall 100%
Category Scraped With SVG Missing %
warning 17 17 0 100%
priority 8 8 0 100%
prohibitory 35 35 0 100%
mandatory 40 40 0 100%
information 115 115 0 100%

Standard: Road Traffic Safety Rules (道路交通標誌標線號誌設置規則)

SVG sources:

Coverage data is also published in the @road-signs/docs package.

import type { TWSign, TWCategory } from '@road-signs/tw';
type TWCategory = 'information' | 'mandatory' | 'prohibitory' | 'warning';
interface TWSign {
id: string; // e.g. "w1-sharp-bend"
code: string; // sign code, e.g. "W1"
name: string;
description: string;
category: TWCategory;
svg: string; // inline SVG string
assets: {
svg: string;
png: Record<number, string>;
jpg: Record<number, string>;
webp: Record<number, string>;
};
}