# ArchiveList

> Every post on one page, one dense line each, built from parts: groups under headings such as years, entries with a day, kind and title, and an optional jump list to each group.

```ts
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.

## Examples

```tsx
<ArchiveList>
	<ArchiveList.Group id="2026">
		<ArchiveList.Heading>2026 <ArchiveList.Count>1 post</ArchiveList.Count></ArchiveList.Heading>
		<ArchiveList.Entries>
			<ArchiveList.Entry>
				<ArchiveList.Day date="2026-11-02" />
				<ArchiveList.Kind>Note</ArchiveList.Kind>
				<ArchiveList.Title href="/hello">Hello</ArchiveList.Title>
			</ArchiveList.Entry>
		</ArchiveList.Entries>
	</ArchiveList.Group>
</ArchiveList>
```

## Props

| Prop | Type | Description |
| --- | --- | --- |
| `locale?` | `string` | Locale the days are written in, read as calendar dates in UTC. |

Also accepts everything in `TagProps<"div">`.


### ArchiveList.Jump

A row of links to each group, for an archive long enough that a reader skips ahead.

Also accepts everything in `TagProps<"nav">`.


### ArchiveList.JumpLink

One group's link in the jump list, quiet until hovered.

Takes no props of its own.

### ArchiveList.Group

A run of entries under one heading, such as a year or a month, named by that heading; its `id` lands on the heading, so a jump link scrolls to the heading itself.

| Prop | Type | Description |
| --- | --- | --- |
| `id?` | `string` | The heading's id, which jump links and outside links target, such as `2026-11`. |

Also accepts everything in `TagProps<"section">`.


### ArchiveList.Heading

The group's heading, carrying the group's id; it sits under a rule and clears a sticky header by `--ui-archive-list-scroll-margin` when jumped to.

| Prop | Type | Description |
| --- | --- | --- |
| `level?` | `HeadingLevel` | Defaults to the ambient `HeadingScope`, or 2 without one. |

Also accepts everything in `TagProps<"h2">`.


### ArchiveList.Count

A group's count beside its heading's label, quieter and in the body weight.

Also accepts everything in `TagProps<"span">`.


### ArchiveList.Entries

The ordered list holding a group's entries.

Also accepts everything in `TagProps<"ol">`.


### ArchiveList.Entry

One 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.

Also accepts everything in `TagProps<"li">`.


### ArchiveList.Day

The day the post went out as a `<time>`, written in the archive's locale as a short month and day, read in UTC.

| Prop | Type | Description |
| --- | --- | --- |
| `date` | `string` | The day it went out, as `YYYY-MM-DD`, read as a calendar date in UTC. |
| `children?` | `RemixNode` | Replaces the formatted day as the visible text; `datetime` still carries `date`. |

Also accepts everything in `Omit<TagProps<"time">, "datetime">`.


### ArchiveList.Kind

The 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.

Also accepts everything in `TagProps<"span">`.


### ArchiveList.Main

The 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.

Also accepts everything in `TagProps<"span">`.


### ArchiveList.Title

The post's title as a link that reads as text until hovered, in the title's column.

Takes no props of its own.

### ArchiveList.Extra

Something 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.

Also accepts everything in `TagProps<"span">`.

