Skip to content
PixiKit

Stack List

A dense one-column list for people, projects and conversations. Rows enter in a short stagger, glide to their new place when the data changes and collapse away when removed. It groups under sticky headings with a jump rail, shows presence, a badge, a few avatars and a row menu.

pixikit.com/docs/app-ui/lists/stack-list

Customize

Surface
Density
Divided
Grouped
Jump rail
Trailing
Truncate
Height420px
Loading

Props

15
NameTypeDefaultDescription
itemsStackItem[]RequiredThe rows, in order.
onAction(itemId: string, actionId: string) => voidNoneCalled when a row menu entry is picked.
onSelect(itemId: string) => voidNoneCalled when a row is clicked.
surface"plain" | "card""card"`card` frames the list.
density"comfortable" | "compact""comfortable"How much room a row takes.
dividedbooleantrueLines between rows.
groupedbooleanfalseSections the rows by their `group`, with sticky headings.
jumpRailbooleanfalseWith `grouped`, a slim rail of the group names on the end edge that scrolls to a group.
trailing"chevron" | "menu" | "none""chevron"What sits at the end of a row.
truncatebooleantrueKeeps titles and subtitles to one line.
heightnumberNoneMaximum height in px; the list then scrolls inside itself.
loadingbooleanfalseShows rows shaped like the real ones.
emptyReactNodeNoneShown when there are no rows.
ariaLabelstring"List"Name for the list, read by screen readers.
classNamestringNone

More lists blocks in Pro

View all

Related