An open design system for public service websites and apps.
Lampung Design System (LDS) gives you tokens, components and guides written in Indonesian and English, so local governments, people in Lampung and anyone else can build websites and apps quickly with a consistent design.
Free under the MIT license. Made by the community, not by the Provincial Government of Lampung.
For teams that build services for citizens.
Anyone may use it, for government, business or personal projects.
Local governments and agencies
Agency websites, service portals and internal dashboards that look the same across every office, without commissioning a design from scratch for each project.
Developers
Install with one command. Components are plain CSS classes, and their behavior is one optional script that works in any framework.
Designers
Color, type, spacing and motion are stored as tokens, with light and dark values whose contrast has already been computed.
Small businesses and communities
A business page, a sign-up form or an event site that is tidy and easy to read on a phone, with no license fee.
What you get.
One npm package for the web, one pub.dev package for Flutter, and documentation in Indonesian and English.
One token file for CSS, JavaScript and Flutter.
Color, type, spacing, radius, shadows and motion live in tokens.json, each with a light and a dark value. One command writes CSS variables, a typed JavaScript module, a Dart class and a shadcn/ui theme.
- Change the accent once and the website and the Flutter app follow.
- Springs are exported as curves, so motion feels the same on the web and on phones.
:root { --accent: #0B6E4F; --gold: #C9952B; --r-lg: 16px; } [data-theme="dark"] { --accent: #0F7D59; --gold: #D9A93F; }
170+ components
Buttons, forms, data tables, calendars, maps and charts. Every component has a documentation page in Indonesian and English: when to use it, markup, states and accessibility.
A CLI for eight frameworks
lampung-ds init sets up Next.js, Vite, TanStack Start, React Router, Astro, Laravel, plain HTML and Flutter.
Dark mode
Every color has its own dark value. The theme can follow the person's choice or the device setting.
WCAG 2.2 AA contrast
The contrast of every text color pairing is computed in light and dark: body text at least 4.5:1, control edges at least 3:1.
Aksara Lampung accents
The Lampung script appears as a quiet ornament, always with the Latin reading next to it or for screen readers.
Skills for AI agents
AI coding agents read the LDS component catalog and rules before they write UI, then use the components that already exist.
Add it to your project.
Pick your framework, copy the command and run it in the project folder. The full guide for each framework is in the documentation.
npx lampung-ds@latest init -t nextRun it in the folder of an existing Next.js project.
npx lampung-ds@latest init -t viteRun it in the folder of an existing Vite project.
npx lampung-ds@latest init -t startRun it in the folder of an existing TanStack Start project.
npx lampung-ds@latest init -t react-routerRun it in the folder of an existing React Router project.
npx lampung-ds@latest init -t astroRun it in the folder of an existing Astro project.
laravel new my-app
cd my-app
npx lampung-ds@latest init -t laravelAlready have a Laravel project? Skip the first two lines and run the last one in the project folder.
npx lampung-ds@latest init -t htmlNo install? Link the CSS from the CDN inside <head>:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/lampung-design-system@0/css/lds.css">flutter pub add lampung_design_systemRun it in your Flutter project folder. The package holds the tokens, the theme and the widgets.
Real components, straight from lds.css.
This sample form uses the same classes you install: text fields, buttons, a status badge and an alert. Try it with the keyboard, send it with an empty name, or switch the theme at the top of the page.
- Every control works by keyboard and shows a visible focus ring.
- Errors replace the helper line, so nothing below it moves.
Whole screens built with nothing but LDS.
Each example uses the same CSS file and script you install. The examples are in Indonesian, and every agency and figure in them is fictional.
Open all examplesTwo colors that start in Lampung.
Both are inspired by the provincial emblem, the siger crown and tapis cloth. They are inspiration, not official use: LDS does not use the regional emblem, and these are not official government colors.
Hijau Lampung #0B6E4F
Lampung green, inspired by the green of the Lampung provincial emblem. Used for the main button, the current selection and links.
Emas Siger #C9952B
Siger gold, inspired by the siger crown and the gold thread of tapis cloth. Used for identity and ornament, never for buttons and never as text on white.
The word Lampung in aksara Lampung. In LDS the script is only ornament and always comes with its Latin reading.
Free to use, change and share.
LDS is MIT licensed. You may use it for government, business or personal projects and change the code. Bug reports and fixes are welcome on GitHub.
Want to use LDS in your agency or community?
For partnerships or questions about using LDS, write to the address below.
alif@kartadinata.app