ArchiveList
Every post on one page, one dense line each, built from parts.
2026 3 posts
- TutorialRetries without a thundering herdUpdated
- NoteIdempotency keys, briefly
- LinkWhat the RFC says about caching
2025 2 posts
- EssayA year of small services
- TutorialLogging one line per request
View code
import { Badge } from "@sdxc/ui";
import { ArchiveList } from "@sdxc/ui/blog";
<ArchiveList>
<ArchiveList.Jump>
<ArchiveList.JumpLink href="#2026">2026</ArchiveList.JumpLink>
<ArchiveList.JumpLink href="#2025">2025</ArchiveList.JumpLink>
</ArchiveList.Jump>
<ArchiveList.Group id="2026">
<ArchiveList.Heading>
2026 <ArchiveList.Count>3 posts</ArchiveList.Count>
</ArchiveList.Heading>
<ArchiveList.Entries>
<ArchiveList.Entry>
<ArchiveList.Day date="2026-11-18" />
<ArchiveList.Kind>Tutorial</ArchiveList.Kind>
<ArchiveList.Main>
<ArchiveList.Title href="/retries">Retries without a thundering herd</ArchiveList.Title>
<ArchiveList.Extra><Badge>Updated</Badge></ArchiveList.Extra>
</ArchiveList.Main>
</ArchiveList.Entry>
<ArchiveList.Entry>
<ArchiveList.Day date="2026-10-02" />
<ArchiveList.Kind>Note</ArchiveList.Kind>
<ArchiveList.Title href="/idempotency">Idempotency keys, briefly</ArchiveList.Title>
</ArchiveList.Entry>
<ArchiveList.Entry>
<ArchiveList.Day date="2026-08-21" />
<ArchiveList.Kind>Link</ArchiveList.Kind>
<ArchiveList.Title href="/rfc-caching">What the RFC says about caching</ArchiveList.Title>
</ArchiveList.Entry>
</ArchiveList.Entries>
</ArchiveList.Group>
<ArchiveList.Group id="2025">
<ArchiveList.Heading>
2025 <ArchiveList.Count>2 posts</ArchiveList.Count>
</ArchiveList.Heading>
<ArchiveList.Entries>
<ArchiveList.Entry>
<ArchiveList.Day date="2025-12-30" />
<ArchiveList.Kind>Essay</ArchiveList.Kind>
<ArchiveList.Title href="/year-review">A year of small services</ArchiveList.Title>
</ArchiveList.Entry>
<ArchiveList.Entry>
<ArchiveList.Day date="2025-06-11" />
<ArchiveList.Kind>Tutorial</ArchiveList.Kind>
<ArchiveList.Title href="/wide-events">Logging one line per request</ArchiveList.Title>
</ArchiveList.Entry>
</ArchiveList.Entries>
</ArchiveList.Group>
</ArchiveList>Installation
An ordinary dependency: install it, import the theme once, and import the component where it is used.
npm add @sdxc/ui remiximport "@sdxc/ui/theme.css";Usage
import { ArchiveList } from "@sdxc/ui/blog";Renders the archive as a column of its parts, a size container so each entry's columns
follow the list's own width, sharing locale with every ArchiveList.Day.
Restyle the lines through ArchiveList.CustomProperties.
Composition
The parts the component publishes, each a static property of the host.
ArchiveListArchiveList.JumpA row of links to each group, for an archive long enough that a reader skips ahead.ArchiveList.JumpLinkOne group's link in the jump list, quiet until hovered.ArchiveList.GroupA run of entries under one heading, such as a year or a month, named by that heading; itsidlands on the heading, so a jump link scrolls to the heading itself.ArchiveList.HeadingThe group's heading, carrying the group's id; it sits under a rule and clears a sticky header by--ui-archive-list-scroll-marginwhen jumped to.ArchiveList.CountA group's count beside its heading's label, quieter and in the body weight.ArchiveList.EntriesThe ordered list holding a group's entries.ArchiveList.EntryOne post's line: a grid with the day first, then the title, with the kind under the title until the list is 32rem wide and in its own column before the title from then on.ArchiveList.DayThe day the post went out as a<time>, written in the archive's locale as a short month and day, read in UTC.ArchiveList.KindThe post's kind as a small upper-case label, under the title on a narrow list and in a 6rem column before it from 32rem.ArchiveList.MainThe title's line, for setting marks or badges beside the title: its children wrap as one run in the title's column, in the order written.ArchiveList.TitleThe post's title as a link that reads as text until hovered, in the title's column.ArchiveList.ExtraSomething set beside the title, such as a badge, a mark or a host chip: inside ArchiveList.Main it sits in the title's line where written, and directly in ArchiveList.Entry it takes a column at the line's end, under the title on a narrow list.
Props
Read from the component's own types, so every prop, every default and every allowed value is listed.
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
locale | string | — | No | Locale the days are written in, read as calendar dates in UTC. |
Also accepts everything in TagProps<"div">.
ArchiveList.Jump
Also accepts everything in TagProps<"nav">.
ArchiveList.JumpLink
ArchiveList.Group
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
id | string | — | No | The heading's id, which jump links and outside links target, such as 2026-11. |
Also accepts everything in TagProps<"section">.
ArchiveList.Heading
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
level | HeadingLevel | — | No | Defaults to the ambient HeadingScope, or 2 without one. |
Also accepts everything in TagProps<"h2">.
ArchiveList.Count
Also accepts everything in TagProps<"span">.
ArchiveList.Entries
Also accepts everything in TagProps<"ol">.
ArchiveList.Entry
Also accepts everything in TagProps<"li">.
ArchiveList.Day
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
date | string | — | Yes | The day it went out, as YYYY-MM-DD, read as a calendar date in UTC. |
children | RemixNode | — | No | Replaces the formatted day as the visible text; datetime still carries date. |
Also accepts everything in Omit<TagProps<"time">, "datetime">.
ArchiveList.Kind
Also accepts everything in TagProps<"span">.
ArchiveList.Main
Also accepts everything in TagProps<"span">.
ArchiveList.Title
ArchiveList.Extra
Also accepts everything in TagProps<"span">.