List
Data Displayatlas-listExamples
Divided list
Items are data: title, description, an icon or avatar, and trailing meta.
- 2m ago
New comment
Ada replied to your post
- 1h ago
Build passed
Pipeline #142 on main
- Yesterday
Invoice ready
October invoice is available
Selection
selectionMode makes items selectable; bind [(value)] to the selected id(s).
- €0
Free
For personal projects
- €12
Pro
For small teams
- Contact us
Enterprise
SSO and audit logs
Selected: pro
Navigable rows
With navigable , items with an href render as links and the others as buttons that emit (itemClick) . Name the list with aria-label when no heading does.
Last opened: —
Custom selection indicator
selectionIndicator="none" drops the trailing check; itemTemplate gets selected in its context to draw its own marker.
Alice Johnson
Engineering
- Assigned
Bob Smith
Design
Carol Williams
Product
API
Generated from the library source, so it always matches the code.
AtlasListComponent atlas-list
| Input | Type | Default | Description |
|---|---|---|---|
| items required | ListItem[] | — | title , optional description , leading icon or avatar, trailing meta , href , disabled . |
| variant | 'default' | 'divided' | 'bordered' | 'default' | divided draws lines between rows; bordered also frames the list. |
| dense | boolean | false | |
| navigable | boolean | false | href render as links, the others as buttons that emit itemClick . |
| selectionMode | 'none' | 'single' | 'multiple' | 'none' | value and selectionChange . |
| value two-way | string | string[] | '' | single ) or ids ( multiple ), two-way. |
| selectionIndicator | 'check' | 'none' | 'check' | 'none' , keep the selection visible without color, e.g. through itemTemplate (its context has selected ) or a surrounding detail view. |
| emptyText | string | undefined | undefined | list.emptyText . |
| aria-label | string | undefined | undefined | |
| class | string | '' | cn() ; yours win on conflicts. |
| itemTemplate | TemplateRef<ListItemTemplateContext> | null | null | ListItemTemplateContext : { $implicit: item, selected } . |
| Output | Payload | Description |
|---|---|---|
| itemClick | ListItem | |
| selectionChange | string[] |
Types
ListItem
| Property | Type | Description |
|---|---|---|
| id | string | |
| title | string | |
| description? | string | |
| icon? | string | |
| avatar? | string | |
| avatarSrc? | string | |
| meta? | string | |
| disabled? | boolean | |
| href? | string | |
| data? | unknown |
ListItemTemplateContext
itemTemplate : the item and whether it is selected.
| Property | Type | Description |
|---|---|---|
| $implicit | ListItem | |
| selected | boolean | true when the row is selected (always false when selectionMode is 'none' ). |