List
Server-safe native primitives for ordered and unordered static lists.
List in motion
- 01NorthstarReady · Keyboard
- 02HorizonReview · Touch
- 03PolarisDraft · Voice
When to Use
Use List when content is naturally a set of items or a sequence of steps. Use NavList for application navigation, Menu or Listbox for keyboard-operated choices, and Feed for a stream whose articles need feed navigation. List does not manage focus, selection, activation, or item state.
Features
The behavior Atom owns before your product adds appearance.
- Renders native
ul,ol, andlielements. - Switches between unordered and ordered roots.
- Exposes consumer-owned disabled item metadata.
- Preserves native list props and supports custom composition.
- Adds no client boundary or keyboard handling.
Import
Anatomy
API Reference
Root
Renders ul by default or ol when ordered is true. Its public TypeScript
contract accepts native ordered-list start and reversed props and forwards
them to the rendered host.
| Prop | Type | Default |
|---|---|---|
ordered | boolean | false |
asChild | boolean | false |
render | RenderProp | - |
| Data attribute | Values |
|---|---|
[data-slot] | "list" |
[data-ordered] | Present when ordered |
Item
Renders one native li. Disabled state is descriptive metadata only; Atom
does not suppress events or disable interactive descendants.
| Prop | Type | Default |
|---|---|---|
disabled | boolean | false |
asChild | boolean | false |
render | RenderProp | - |
| ARIA attribute | Values |
|---|---|
aria-disabled | "true" when disabled |
| Data attribute | Values |
|---|---|
[data-slot] | "list-item" |
[data-disabled] | Present when disabled |
Examples
Ordered Steps
Unavailable Static Item
Accessibility
List relies on native list semantics and owns no keyboard interaction. Preserve
ul/ol and li semantics when using composition. aria-disabled tells
assistive technology that an Item is unavailable, but consumers must separately
disable or remove any interactive descendants.
Changelog
0.22.6 - 2026-08-10
- Added public Agent Knowledge for native list semantics, ordered meaning, non-interactive ownership, disabled metadata, and server-safe composition.
0.9.1
- Fixed
List.Rootdeclarations to accept the documented native ordered-liststartandreversedattributes whenorderedrenders anol.
0.1.0
- Initial Atom release.