More components in Pro
Galleries, cards and interactive pieces for pages that need more than the basics.
items | (string | { id?, icon?, image?, title, description?, meta? })[] | sample files | The rows to show. Strings become plain rows. Objects can add an icon or image, a description and a label on the right. |
onItemSelect | (item, index) => void | Called when a row is clicked, or when Enter is pressed on the selected row. | |
renderItem | (item, index, selected) => ReactNode | Renders your own content inside each row instead of the built-in layout. | |
initialSelectedIndex | -1 | Which row starts selected. Use -1 for none. | |
selectOnHover | Moves the selection to the row under the cursor. | ||
enableArrowNavigation | Arrow keys, Home and End move the selection while the list is hovered or focused. | ||
loop | 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 | Animates each row only the first time it appears. | ||
stagger | 0.05 | Delay between rows when the list first appears, in seconds. | |
showGradients | Fades rows out at the top and bottom edges while there is more to scroll. | ||
fadeSize | 56 | Height of the edge fades, in px. | |
displayScrollbar | Shows a thin scrollbar when the list overflows. | ||
frame | Shows the frosted panel around the list. | ||
theme | 'dark' | 'light' | 'dark' | Color theme of the panel and rows. |
accentColor | Color of the selection outline. Uses a soft tint of the text color when not set. | ||
radius | 14 | Corner radius of the rows, in px. | |
gap | 8 | Space between rows, in px. | |
width | number | string | 420 | Maximum width of the list. |
maxHeight | number | string | 440 | Height at which the list starts to scroll. |
| Extra class names for the list. | |||
itemClassName | Extra class names for each row. | ||
| Inline styles for the list. |
items(string | { id?, icon?, image?, title, description?, meta? })[]The rows to show. Strings become plain rows. Objects can add an icon or image, a description and a label on the right.
sample filesonItemSelect(item, index) => voidCalled when a row is clicked, or when Enter is pressed on the selected row.
renderItem(item, index, selected) => ReactNodeRenders your own content inside each row instead of the built-in layout.
initialSelectedIndexnumberWhich row starts selected. Use -1 for none.
-1selectOnHoverbooleanMoves the selection to the row under the cursor.
enableArrowNavigationbooleanArrow keys, Home and End move the selection while the list is hovered or focused.
loopbooleanWraps keyboard navigation from the last row back to the first.
animation'pop' | 'slide' | 'fade' | 'none'How rows animate in as they scroll into view.
'pop'animateOncebooleanAnimates each row only the first time it appears.
staggernumberDelay between rows when the list first appears, in seconds.
0.05showGradientsbooleanFades rows out at the top and bottom edges while there is more to scroll.
fadeSizenumberHeight of the edge fades, in px.
56displayScrollbarbooleanShows a thin scrollbar when the list overflows.
framebooleanShows the frosted panel around the list.
theme'dark' | 'light'Color theme of the panel and rows.
'dark'accentColorstringColor of the selection outline. Uses a soft tint of the text color when not set.
radiusnumberCorner radius of the rows, in px.
14gapnumberSpace between rows, in px.
8widthnumber | stringMaximum width of the list.
420maxHeightnumber | stringHeight at which the list starts to scroll.
440Extra class names for the list.
itemClassNamestringExtra class names for each row.
Inline styles for the list.
Dependencies
2 required packages
npm install @hugeicons/react @hugeicons/core-free-icons


