Community project. This is not an official government website.

Run by volunteers. Lampung Design System is built by an open source community. No government agency runs or endorses it.

Official services use go.id. Government websites in Indonesia end in .go.id. Never enter your national ID number on a site you are unsure of.

Installation

Installation

Pick your framework. The lampung-ds CLI sets everything up: it installs the package, imports the CSS, puts the lds class on <html> and turns on the interactive behaviors.

Choose your framework

Each page has three paths: a new project, an existing project, and manual setup.

Fastest way

Run this in an existing project folder. The CLI detects your framework from the project files, or asks when it cannot tell.

npx lampung-ds@latest init

No install

For a prototype or a static page, load it straight from a CDN:

<!doctype html>
<html lang="id" class="lds" data-theme="light">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/lampung-design-system@0/css/lds.css">
</head>
<body class="lds">
  <button class="btn btn--primary">Kirim laporan</button>
</body>
</html>
<script type="module">
  import { init } from 'https://cdn.jsdelivr.net/npm/lampung-design-system@0/js/lds.js';
  init();
</script>

Requirements

  • Node.js 20 or newer for web projects.
  • Flutter 3.27 or newer for Flutter apps.
  • A terminal open in the project folder (the one with package.json, composer.json or pubspec.yaml).