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.

Marketing section

Marketing section

One part of a landing or product page: a head with an eyebrow, a large title and a lede, over any content. Every marketing section shares the same width and gutter, so edges line up down the page.

Usage

Use it when

  • Each part of a landing, product or pricing page after the hero: features, examples, pricing, questions.
  • A content page outside the app that needs a larger voice than an app section.

Use something else when

  • Sections of a page inside an app: use Sections. App pages use smaller heads; the marketing title is too loud next to data.
  • The first screen of the page: use Hero.
  • A closing ask: use CTA band.

Where it goes. Stacked in <main> under the hero. 1200 px wide at most with a 20 to 48 px gutter, 56 to 120 px of space above and below (msec--tight halves it). msec--rule draws a hairline on top where two sections would otherwise run together.

Examples

Head with an action on the rightResize below 760 px: the action moves under the lede.
Templates

Start from a course that already works.

Twelve course templates with lessons, quizzes and a grading scheme in place.

See all templates
<section class="msec" aria-labelledby="ms-t" style="width: 100%; padding-block: 8px;">
  <div class="msec__head msec__head--row" style="margin-bottom: 24px;">
    <span class="msec__eyebrow"><span class="ic ic--sm" aria-hidden="true">grid_view</span>Templates</span>
    <h2 class="msec__title" id="ms-t">Start from a course that already works.</h2>
    <p class="msec__lede">Twelve course templates with lessons, quizzes and a grading scheme in place.</p>
    <a class="btn btn--secondary msec__aside" href="#ms-t">See all templates</a>
  </div>
  <div class="link-grid">
    <a class="link-card" href="#ms-t"><span class="link-card__title">Intro to statistics</span><span class="link-card__body">14 lessons, 6 quizzes</span></a>
    <a class="link-card" href="#ms-t"><span class="link-card__title">Academic writing</span><span class="link-card__body">10 lessons, 3 essays</span></a>
  </div>
</section>
Centered headFor a section whose content is centered too, such as pricing.
Pricing

One price per teacher.

Students never pay. Schools get one invoice for every teacher.

<section class="msec" aria-labelledby="ms2-t" style="width: 100%; padding-block: 8px;">
  <div class="msec__head msec__head--center" style="margin-bottom: 0;">
    <span class="msec__eyebrow"><span class="ic ic--sm" aria-hidden="true">wallet</span>Pricing</span>
    <h2 class="msec__title" id="ms2-t">One price per teacher.</h2>
    <p class="msec__lede">Students never pay. Schools get one invoice for every teacher.</p>
  </div>
</section>

Anatomy

PartWhat it is
section.msecRequired. Width, gutter and vertical rhythm.
.msec--ruleHairline on top.
.msec--tightLess space above and below, for a strip or a closing band.
.msec__headThe head: a grid, max 760 px wide. --center centers it; --row puts an .msec__aside action on the right.
.msec__eyebrowA short label with an icon that names the topic. Not a pill.
h2.msec__titleRequired in a head. 30 to 48 px, tracking −0.034em.
p.msec__ledeOne or two sentences, max 62 characters a line.
.msec__asideIn msec__head--row: one secondary action, bottom right; under the text on phones.

Variants and sizes

Class or attributeWhen
msec--ruleHairline above the section.
msec--tightAbout half the vertical space.
msec__head--centerCentered head.
msec__head--rowHead with an aside action on the right.

Motion and microinteractions

  • Static. The head may fade up once with reveal on scroll (data-lds-reveal); the content keeps its own motion.

Accessibility

  • Each section is a <section> with aria-labelledby its h2, so it shows in the landmarks list.
  • Eyebrow icons are decorative (aria-hidden); the eyebrow text is read before the title.

Do and don't

Do

  • Vary what sits under the head from section to section: a live stage, a list, a grid, a table.
  • Keep titles to one sentence that states a fact or an outcome.

Don't

  • Give every section the same head and the same card grid.
  • Write eyebrows in capitals with wide tracking.
  • Alternate section backgrounds to create rhythm; use space and hairlines.