Teacher
For one teacher and all their classes.
- Unlimited classes
- Rubrics and saved comments
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.
Pricing plans as cards, with a billing period control above them. Prices roll when the period or the seat count changes; the saving is said in words next to the control.
Use it when
Use something else when
Where it goes. Inside a marketing section with a centered head. The .billing control sits centered above .plans; cards fill a grid that wraps below 280 px per card. Follow with a compare table and the questions people ask before buying.
For one teacher and all their classes.
For every teacher in one school.
<div data-lds-billing style="width: 100%;">
<div class="billing">
<div class="seg seg--lg" role="group" aria-label="Billing period" data-lds-segmented><span class="seg__thumb"></span><button class="seg__btn" aria-pressed="true" data-billing="month">Monthly</button><button class="seg__btn" aria-pressed="false" data-billing="year">Yearly</button></div>
<span class="billing__save">Yearly saves 2 months</span>
</div>
<div class="plans">
<article class="plan plan--featured" aria-labelledby="pl-1">
<div class="plan__head"><h3 class="plan__name" id="pl-1">Teacher</h3><p class="plan__desc">For one teacher and all their classes.</p></div>
<div class="plan__price"><span class="plan__amount"><span class="plan__currency">$</span><span class="roll" data-price-month="12" data-price-year="10" data-lds-roll-label="{n} US dollars a month"></span></span><span class="plan__period morph" data-lds-morph data-billing-month="a month" data-billing-year="a month, billed yearly">a month</span></div>
<ul class="plan__list"><li><span class="ic" aria-hidden="true">check</span>Unlimited classes</li><li><span class="ic" aria-hidden="true">check</span>Rubrics and saved comments</li></ul>
<div class="plan__cta"><button class="btn btn--primary btn--block">Start the Teacher plan</button></div>
</article>
<article class="plan" aria-labelledby="pl-2">
<div class="plan__head"><h3 class="plan__name" id="pl-2">School</h3><p class="plan__desc">For every teacher in one school.</p></div>
<div class="plan__price"><span class="plan__amount"><span class="plan__currency">$</span><span class="roll" data-per-seat data-price-month="9" data-price-year="7" data-lds-roll-label="{n} US dollars a month"></span></span><span class="plan__period morph" data-lds-morph data-billing-month="a month for {seats} teachers" data-billing-year="a month for {seats} teachers">a month for 10 teachers</span></div>
<div class="plan__seats"><span id="pl-s">Teachers</span><div class="stepper-field" role="group" aria-labelledby="pl-s" data-lds-stepper data-min="5" data-max="200" data-value="10"><button aria-label="Fewer teachers"><span class="ic" aria-hidden="true">remove</span></button><span class="stepper-field__value"><span class="roll" aria-live="polite"></span></span><button aria-label="More teachers"><span class="ic" aria-hidden="true">add</span></button></div></div>
<div class="plan__cta"><button class="btn btn--secondary btn--block">Ask for a school invoice</button></div>
</article>
</div>
</div>| Part | What it is |
|---|---|
[data-lds-billing] | On the section that holds the control and the prices. Wires the period and seat changes. |
.billing | The row with a segmented control of [data-billing="month|year"] buttons and .billing__save. |
.plans | Required. The grid of plans. |
article.plan | Required. One plan on the quiet fill. plan--featured sits on the canvas with a 2 px accent ring: use it for the plan that fits most buyers, or for none. |
.plan__head | h3.plan__name and p.plan__desc (who it is for). |
.plan__price | .plan__amount (with .plan__currency and a .roll) and .plan__period. |
.roll[data-price-month][data-price-year] | The price per period; add data-per-seat to multiply by the plan stepper. |
.plan__note | One line of billing detail ("$228 once a year"). |
.plan__seats | Optional row with a number stepper for seats. |
.plan__list-head, ul.plan__list | What is included, each item with a check icon. |
.plan__cta | The plan button, pushed to the bottom so buttons line up. |
[data-billing-month][data-billing-year] | Any text that depends on the period; {seats} and {total} (with data-total-year) are filled in. On a .morph element the words morph. |
| Class or attribute | When |
|---|---|
plan--featured | The one plan most buyers need: canvas color, 2 px accent ring. At most one. |
| State | How |
|---|---|
month / year | data-period on the billing element mirrors the choice; lds:billing fires with { period }. |
seats | A stepper inside a plan multiplies that plan's data-per-seat prices. |
--spring-smooth (560 ms). A change in digit count redraws without rolling.--spring-smooth.article labelled by its name. Prices get a spoken label from data-lds-roll-label ("19 US dollars a month").aria-pressed; arrow keys move between them.Do
Don't
Plain HTML. data-lds-billing on the element that holds the period buttons and the prices. Buttons [data-billing="month|year"] (inside a [data-lds-segmented]); prices .roll[data-price-month][data-price-year] (data-per-seat multiplies by the [data-lds-stepper] in the same .plan); text [data-billing-month][data-billing-year] with {seats} and {total} (data-total-month|year times seats). Emits lds:billing with { period }.