Month picker
Twelve months as one choice, for anything that comes monthly: bills, statements, reports. Each month shows its figure, and months with nothing yet cannot be picked.
Electricity bills · Flat 3, Dyer Street
The code
Plain HTML and CSS on your kit's variables. Put it next to tokens/variables.css from your kit's files and it draws in your look.
<div class="ukc-calendar-month-picker">
<div class="mp">
<header class="hd">
<div><p class="lbl">Electricity bills · Flat 3, Dyer Street</p><h3><time datetime="2026">2026</time></h3></div>
<div class="nav"><button type="button" aria-label="2025"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 6l-6 6 6 6"/></svg></button><button type="button" aria-label="2027" disabled><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 6l6 6-6 6"/></svg></button></div>
</header>
<ol class="months">
<li><label class="mo"><input type="radio" name="ukc-calendar-month-picker-m" aria-label="January 2026, 412 kilowatt hours"><span class="nm"><time datetime="2026-01">Jan</time><span class="ck"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span></span><span class="kwh">412 kWh</span><span class="use" style="--v: 1.00"></span></label></li>
<li><label class="mo"><input type="radio" name="ukc-calendar-month-picker-m" aria-label="February 2026, 388 kilowatt hours"><span class="nm"><time datetime="2026-02">Feb</time><span class="ck"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span></span><span class="kwh">388 kWh</span><span class="use" style="--v: 0.94"></span></label></li>
<li><label class="mo"><input type="radio" name="ukc-calendar-month-picker-m" aria-label="March 2026, 341 kilowatt hours"><span class="nm"><time datetime="2026-03">Mar</time><span class="ck"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span></span><span class="kwh">341 kWh</span><span class="use" style="--v: 0.83"></span></label></li>
<li><label class="mo"><input type="radio" name="ukc-calendar-month-picker-m" aria-label="April 2026, 276 kilowatt hours"><span class="nm"><time datetime="2026-04">Apr</time><span class="ck"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span></span><span class="kwh">276 kWh</span><span class="use" style="--v: 0.67"></span></label></li>
<li><label class="mo"><input type="radio" name="ukc-calendar-month-picker-m" aria-label="May 2026, 214 kilowatt hours"><span class="nm"><time datetime="2026-05">May</time><span class="ck"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span></span><span class="kwh">214 kWh</span><span class="use" style="--v: 0.52"></span></label></li>
<li><label class="mo"><input type="radio" name="ukc-calendar-month-picker-m" aria-label="June 2026, 187 kilowatt hours"><span class="nm"><time datetime="2026-06">Jun</time><span class="ck"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span></span><span class="kwh">187 kWh</span><span class="use" style="--v: 0.45"></span></label></li>
<li><label class="mo"><input type="radio" name="ukc-calendar-month-picker-m" aria-label="July 2026, 176 kilowatt hours"><span class="nm"><time datetime="2026-07">Jul</time><span class="ck"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span></span><span class="kwh">176 kWh</span><span class="use" style="--v: 0.43"></span></label></li>
<li><label class="mo"><input type="radio" name="ukc-calendar-month-picker-m" aria-label="August 2026, 181 kilowatt hours"><span class="nm"><time datetime="2026-08">Aug</time><span class="ck"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span></span><span class="kwh">181 kWh</span><span class="use" style="--v: 0.44"></span></label></li>
<li><label class="mo"><input type="radio" name="ukc-calendar-month-picker-m" checked aria-label="September 2026, 223 kilowatt hours"><span class="nm"><time datetime="2026-09">Sep</time><span class="ck"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span></span><span class="kwh">223 kWh</span><span class="use" style="--v: 0.54"></span></label></li>
<li><label class="mo cur"><input type="radio" name="ukc-calendar-month-picker-m" aria-label="October 2026, 198 kilowatt hours so far"><span class="nm"><time datetime="2026-10">Oct</time><span class="ck"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span></span><span class="kwh">198 kWh</span><span class="use" style="--v: 0.48"></span></label></li>
<li><label class="mo off"><input type="radio" name="ukc-calendar-month-picker-m" disabled aria-label="November 2026, no bill yet"><span class="nm"><time datetime="2026-11">Nov</time></span><span class="kwh">No bill</span></label></li>
<li><label class="mo off"><input type="radio" name="ukc-calendar-month-picker-m" disabled aria-label="December 2026, no bill yet"><span class="nm"><time datetime="2026-12">Dec</time></span><span class="kwh">No bill</span></label></li>
</ol>
<footer class="ft"><p>Bills land on the 3rd. The dot is this month.</p><button type="button" class="pri">Download bill</button></footer>
</div>
</div>
.ukc-calendar-month-picker { position: relative; font-family: var(--uk-font-body, system-ui, sans-serif); color: var(--uk-ink); font-size: 15px; line-height: 1.5;
--tint: color-mix(in srgb, var(--uk-accent) 12%, var(--uk-paper));
--tint-strong: color-mix(in srgb, var(--uk-accent) 22%, var(--uk-paper));
--accent-deep: color-mix(in srgb, var(--uk-accent) 72%, black);
--ink-soft: color-mix(in srgb, var(--uk-ink) 8%, var(--uk-paper));
--line-strong: color-mix(in srgb, var(--uk-ink) 32%, var(--uk-paper));
--danger-tint: color-mix(in srgb, var(--uk-danger) 12%, var(--uk-paper));
--high-tint: color-mix(in srgb, var(--uk-highlight) 28%, var(--uk-paper)); }
.ukc-calendar-month-picker *, .ukc-calendar-month-picker *::before, .ukc-calendar-month-picker *::after { box-sizing: border-box; }
.ukc-calendar-month-picker :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-calendar-month-picker :where(ul, ol) { padding: 0; list-style: none; }
.ukc-calendar-month-picker :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-calendar-month-picker :where(a) { color: inherit; }
.ukc-calendar-month-picker svg { flex: none; }
.ukc-calendar-month-picker { container-type: inline-size; inline-size: 100%; }
.ukc-calendar-month-picker .mp { max-width: 344px; padding: 14px; border: var(--uk-border-width) solid var(--uk-line); border-radius: var(--uk-radius-lg); background: var(--uk-surface); box-shadow: var(--uk-card-shadow); }
.ukc-calendar-month-picker .hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.ukc-calendar-month-picker .lbl { font-size: 12px; color: var(--uk-muted); }
.ukc-calendar-month-picker h3 { font-family: var(--uk-font-display, inherit); font-size: 26px; font-weight: 600; line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
.ukc-calendar-month-picker .nav { display: flex; gap: 2px; }
.ukc-calendar-month-picker .nav button { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: var(--uk-radius-md); background: none; color: var(--uk-ink); cursor: pointer; }
.ukc-calendar-month-picker .nav button:hover { background: var(--ink-soft); }
.ukc-calendar-month-picker .nav button:disabled { opacity: 0.35; cursor: not-allowed; background: none; }
.ukc-calendar-month-picker .months { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ukc-calendar-month-picker .mo { position: relative; display: grid; gap: 1px; overflow: hidden; padding: 8px 8px 10px; border: var(--uk-border-width) solid var(--uk-line); border-radius: min(var(--uk-radius-md), 10px); background: var(--uk-paper); cursor: pointer; }
.ukc-calendar-month-picker .mo input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.ukc-calendar-month-picker .mo:hover { border-color: var(--uk-ink); }
.ukc-calendar-month-picker .nm { display: flex; align-items: center; justify-content: space-between; min-height: 20px; font-size: 14px; font-weight: 600; }
.ukc-calendar-month-picker .ck { display: none; }
.ukc-calendar-month-picker .kwh { font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 10.5px; color: var(--uk-muted); white-space: nowrap; }
.ukc-calendar-month-picker .use { position: absolute; left: 0; bottom: 0; width: calc(var(--v) * 100%); height: 3px; background: var(--line-strong); }
.ukc-calendar-month-picker .cur .nm time::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 5px; border-radius: 999px; background: var(--uk-accent); vertical-align: 2px; }
.ukc-calendar-month-picker .mo:has(input:checked) { border-color: var(--uk-ink); background: var(--uk-ink); color: var(--uk-paper); }
.ukc-calendar-month-picker .mo:has(input:checked) .kwh { color: color-mix(in srgb, var(--uk-paper) 78%, var(--uk-ink)); }
.ukc-calendar-month-picker .mo:has(input:checked) .use { background: var(--uk-paper); }
.ukc-calendar-month-picker .mo:has(input:checked) .ck { display: grid; }
.ukc-calendar-month-picker .mo:has(input:focus-visible) { outline: 2px solid var(--uk-accent); outline-offset: 2px; }
.ukc-calendar-month-picker .mo.off, .ukc-calendar-month-picker .mo.off:hover { border-style: dashed; border-color: var(--uk-line); background: none; color: var(--uk-muted); cursor: not-allowed; }
.ukc-calendar-month-picker .ft { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--uk-line); }
.ukc-calendar-month-picker .ft p { flex: 1 1 130px; font-size: 12px; color: var(--uk-muted); }
.ukc-calendar-month-picker .pri { height: 34px; padding: 0 14px; border: 0; border-radius: var(--uk-radius-md); background: var(--uk-accent); color: var(--uk-accent-ink); font-size: 13px; font-weight: 600; cursor: pointer; }
.ukc-calendar-month-picker .pri:hover { background: var(--accent-deep); }
.ukc-calendar-month-picker button:focus-visible, .ukc-calendar-month-picker select:focus-visible { outline: 2px solid var(--uk-accent); outline-offset: 2px; }
@container (max-width: 300px) {
.ukc-calendar-month-picker .months { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
More calendars
All 24Repeat this class
Wheel throwing for beginners
Kiln Lane Pottery · 18:30 to 20:30 · from the week of
The next four weeks
Monday Tuesday Wednesday Thursday Friday Saturday Sunday 26days to go
Harbour 10K
Week 3 of 6- , done
- , done
- , done
- , done
- , done
- , done
- , done
- , done
- , done
- , done
- , done
- , done
- , done
- , done
- , done
- , today
- , race day
This week: 5 km on Thursday, 7 km on Sunday.
Heron Cabin · sleeps 4
December 2026
Monday Tuesday Wednesday Thursday Friday Saturday Sunday - Booked
- Christmas week, £189
- Fridays and Saturdays, £146
Job 2281 · 500 wedding invitations
When is the proof due?
October 2026
Monday Tuesday Wednesday Thursday Friday Saturday Sunday Tall Ships Studio · mix review, 60 minutes
Pick the hour it starts in Lisbon
LisbonMarta, mixing · UTC+1
TorontoDev, strings · UTC-4
SingaporeWei Ling, vocals · UTC+8
November
Thimble Lane Press
Monday Tuesday Wednesday Thursday Friday Saturday Sunday * † ‡ § . Open studio, ten to four. Bring your own paper.
. Armistice Day. The presses stop at eleven.
. Last orders for Christmas cards.
. Paper arrives from Two Rivers mill. Closed until noon.