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.

Link card

Link card

A grid of destinations on the quiet fill: each card is one link with an eyebrow, a title, a line of detail and a foot whose chevron leans toward where it goes.

Usage

Use it when

  • A hub page that sends people to a few places of equal weight: my courses, the question bank, transcripts, settings.
  • Each destination deserves a sentence or a status ("3 tasks open", "Updated today").
  • Two to about nine destinations; the grid fills columns of at least 300 px.

Use something else when

  • Many destinations, or ones that only need a name: use List. Linked rows (a.lrow) with a chevron.
  • The one next step for this person: use Spotlight.
  • A box that shows content and has several actions inside: use Card.
  • App navigation that is always there: use Sidebar. Or a top nav or the phone tab bar
  • Choosing an option in a form: use Radio card.
  • Key figures: use Stat row.

Where it goes. Inside a section on hub and dashboard pages, full width of the column. The grid uses auto-fill with 300 px minimum columns: one column on phones, two or three on wide screens.

Examples

Where to goHover (with a mouse) tints the card and moves the chevron 3 px toward the destination; pressing sinks it slightly.
<div class="link-grid" style="width: 100%;">
  <a class="link-card" href="#"><span class="link-card__eyebrow"><span class="ic ic--sm" aria-hidden="true">menu_book</span>Course</span><span class="link-card__title">Database Systems</span><span class="link-card__body">Week 9: indexing and query plans</span><span class="link-card__foot">3 tasks open<span class="ic lrow__chev" aria-hidden="true">chevron_right</span></span></a>
  <a class="link-card" href="#"><span class="link-card__eyebrow"><span class="ic ic--sm" aria-hidden="true">school</span>Grades</span><span class="link-card__title">Transcript</span><span class="link-card__body">Every course and grade so far</span><span class="link-card__foot">Updated today<span class="ic lrow__chev" aria-hidden="true">chevron_right</span></span></a>
  <a class="link-card" href="#"><span class="link-card__eyebrow"><span class="ic ic--sm" aria-hidden="true">assignment</span>Practice</span><span class="link-card__title">Question bank</span><span class="link-card__body">Over 2,000 questions with explanations</span><span class="link-card__foot">18 saved<span class="ic lrow__chev" aria-hidden="true">chevron_right</span></span></a>
</div>
Short cardsTitle and foot only, for a settings hub.
<div class="link-grid" style="width: 100%;">
  <a class="link-card" href="#"><span class="link-card__title">Profile</span><span class="link-card__foot">Name, photo, school<span class="ic lrow__chev" aria-hidden="true">chevron_right</span></span></a>
  <a class="link-card" href="#"><span class="link-card__title">Notifications</span><span class="link-card__foot">Email and push<span class="ic lrow__chev" aria-hidden="true">chevron_right</span></span></a>
  <a class="link-card" href="#"><span class="link-card__title">Billing</span><span class="link-card__foot">Plan until exam day<span class="ic lrow__chev" aria-hidden="true">chevron_right</span></span></a>
</div>

Anatomy

PartWhat it is
.link-gridRequired. The grid, 12 px gaps.
a.link-cardRequired. The whole card is one <a href> (or a <button> for an in-page action). Quiet fill, large radius, 18 by 20 padding.
.link-card__eyebrowOptional. Caption with a small icon: the kind of destination.
.link-card__titleRequired. The destination name, headline size.
.link-card__bodyOptional. One line of detail.
.link-card__footOptional. Status at the bottom (pushed down so feet line up) with a .lrow__chev chevron at the end.

States

StateHow
hover (fine pointer)Background deepens to --bg-tint-strong; the chevron moves 3 px right and turns accent.
:activeThe card sinks to 0.985 in --d-instant (120 ms).
focus-visibleThe system focus ring around the card.

Motion and microinteractions

  • Hover: background in --d-fast (160 ms) on --ease-standard; the chevron translateX(3px) on --spring-snappy (360 ms). Only on devices with hover and a fine pointer, so touch never sticks in the hover state.
  • Press: scale(0.985) (wide targets barely sink), back on --spring-snappy. See press feedback.
  • Cards in a grid that loads may enter with list stagger once; never on every visit to the page.
  • Reduced motion: transitions become 120 ms linear; no travel.

Accessibility

  • One link per card: the whole card is the <a>, so its name is the text inside. Do not nest other links or buttons in it.
  • Keep the title first in the reading order after the eyebrow, and short, so the link name starts with the destination.
  • The chevron is decorative (aria-hidden).

Do and don't

Do

  • Write the foot as a fact about the destination ("3 tasks open").
  • Keep cards in a grid of the same kind; mix kinds in separate sections.

Don't

  • Add images, shadows or borders to make one card stand out; use a spotlight for the one that matters.
  • Put buttons inside a link card.
  • Make a link card that is not a link (a div gets no hover or press).