Live List
A scrolling list whose rows pop, slide or fade in as they come into view, with hover and keyboard selection, edge fades and a framed panel.
pixikit.com/docs/components/live-list
Customize
Initial selected index-1
Select on hover
Enable arrow navigation
Loop
Animation
Animate once
Stagger0.05s
Show gradients
Fade size56px
Display scrollbar
Frame
Theme
Accent color
Radius14px
Gap8px
Width420px
Max height440px
Props
23| Name | Type | Default | Description |
|---|---|---|---|
items | (string | LiveListItem)[] | DEFAULT_ITEMS | The rows. Strings become plain rows; objects can add an icon or image, a description and a label on the right. |
onItemSelect | (item: string | LiveListItem, index: number) => void | None | Called when a row is clicked, or when Enter is pressed on the selected row. |
renderItem | (item: string | LiveListItem, index: number, selected: boolean) => ReactNode | None | Renders your own content inside each row instead of the built-in layout. |
initialSelectedIndex | number | -1 | The row that starts selected; -1 for none. |
selectOnHover | boolean | true | Moves the selection to the row under the cursor. |
enableArrowNavigation | boolean | true | Arrow keys, Home and End move the selection while the list is hovered or focused. |
loop | boolean | false | Wraps keyboard navigation from the last row back to the first. |
animation | "pop" | "slide" | "fade" | "none" | "pop" | How rows animate in as they scroll into view. |
animateOnce | boolean | false | Animates each row only the first time it appears. |
stagger | number | 0.05 | Delay between rows when the list first appears, in seconds. |
showGradients | boolean | true | Fades rows out at the top and bottom edges while there is more to scroll. |
fadeSize | number | 56 | Height of the edge fades, in pixels. |
displayScrollbar | boolean | true | Shows a thin scrollbar when the list overflows. |
frame | boolean | true | Shows the panel around the list. |
theme | "dark" | "light" | "dark" | Color theme of the panel and rows. |
accentColor | string | "#a8a4b8" | Color of the selection outline. |
radius | number | 14 | Corner radius of the rows, in pixels. |
gap | number | 8 | Space between rows, in pixels. |
width | number | string | 420 | Maximum width of the list. |
maxHeight | number | string | 440 | Height at which the list starts to scroll. |
className | string | None | |
itemClassName | string | None | Extra class names for each row. |
style | CSSProperties | None |