Lithuania (LT)
Quick facts
Section titled “Quick facts”| Field | Value |
|---|---|
| Drive side | Right-hand |
| Language(s) | Lithuanian |
| Regulator | LAKD |
| Standard | Kelių eismo taisyklės — Vienna Convention |
The @road-signs/lt package contains Lithuanian road signs from the Kelių eismo taisyklės.
Signs are sourced from Wikimedia Commons and are in the public domain.
Installation
Section titled “Installation”npm install @road-signs/ltSign categories
Section titled “Sign categories”| Category | Series | Description |
|---|---|---|
warning |
A series | Hazard warnings |
priority |
B series | Right-of-way |
prohibitory |
C series | Prohibitions and restrictions |
mandatory |
D series | Mandatory actions |
information |
E–F series | Information and direction |
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/lt';
// Example below uses the real LT sign "E262" — adjust to taste.
// All signssigns.length;
// By slug IDconst sign = getSign("e262-international-road-number");
// By sign codeconst s = getSignByCode("E262");
// All information signsconst filtered = getSignsByCategory("information");import { getSignsByCategory } from '@road-signs/lt';import { RoadSign } from '@road-signs/react';
const informationSigns = getSignsByCategory("information");
export default function LTGrid() { return ( <div style={{ display: 'flex', gap: 8, flexWrap: 'wrap' }}> {informationSigns.map((sign) => ( <RoadSign key={sign.id} sign={sign} size={64} /> ))} </div> );}<script setup>import { getSignsByCategory } from '@road-signs/lt';import { RoadSign } from '@road-signs/vue';
const informationSigns = getSignsByCategory("information");</script>
<template> <div style="display:flex;gap:8px;flex-wrap:wrap"> <RoadSign v-for="sign in informationSigns" :key="sign.id" :sign="sign" :size="64" /> </div></template>Coverage
Section titled “Coverage”| Metric | Value |
|---|---|
| Signs scraped | 229 |
| Signs with SVG | 229 |
| Missing SVG | 0 |
| Overall | 100% |
| Category | Scraped | With SVG | Missing | % |
|---|---|---|---|---|
warning |
50 | 50 | 0 | 100% |
priority |
6 | 6 | 0 | 100% |
prohibitory |
41 | 41 | 0 | 100% |
mandatory |
19 | 19 | 0 | 100% |
information |
113 | 113 | 0 | 100% |
Standard: Kelių eismo taisyklės — Vienna Convention
SVG sources:
Coverage data is also published in the @road-signs/docs package.
TypeScript types
Section titled “TypeScript types”import type { LTSign, LTCategory } from '@road-signs/lt';
type LTCategory = 'information' | 'mandatory' | 'priority' | 'prohibitory' | 'warning';
interface LTSign { id: string; // e.g. "a1-sharp-bend" code: string; // sign code, e.g. "A1" name: string; description: string; category: LTCategory; svg: string; // inline SVG string assets: { svg: string; png: Record<number, string>; jpg: Record<number, string>; webp: Record<number, string>; };}