More components in Pro
Galleries, cards and interactive pieces for pages that need more than the basics.
items | Array<{ text, link?, image?, marquee?, meta? }> | [] | Menu rows. marquee changes the text that scrolls in the band and meta adds a note at the end of the row. |
speed | 60 | Marquee speed in px per second. | |
direction | 'left' | 'right' | 'alternate' | 'left' | Which way the marquee runs. Alternate flips every other row. |
followCursor | 0.4 | How much moving the cursor sideways speeds up or reverses the marquee, from 0 to 1. | |
duration | 0.5 | Time in seconds the band takes to glide to a row. | |
stretch | 0.6 | How much the band stretches like liquid while it moves, from 0 for rigid to 1. | |
magnet | 0.25 | How much the band leans toward the cursor inside a row, from 0 to 1. | |
bandInset | Gap in px between the band and the row edges. | ||
carryContent | Moves the marquee with the band instead of keeping it fixed in each row. | ||
bandRadius | Corner radius of the band in px. Use a large value for a pill. | ||
textColor | '#ffffff' | Color of the menu text. | |
bgColor | '#120F17' | Background color of the menu. | |
marqueeBgColor | '#ffffff' | Background color of the band. | |
marqueeTextColor | '#120F17' | Text color inside the band. | |
borderColor | 'rgba(255, 255, 255, 0.14)' | Color of the lines between rows. | |
dividers | Draws lines between rows. | ||
dimInactive | Fades the other rows while the band is on one. | ||
align | 'center' | 'left' | 'center' | Alignment of the row labels. |
showIndex | Numbers each row. | ||
showArrow | Adds an arrow to the end of each row. | ||
imageShape | 'pill' | 'rounded' | 'circle' | 'pill' | Shape of the images in the band. |
| Rows rise in, the lines draw and the band sweeps once down the menu on mount. | |||
activeIndex | Marks the current page row. | ||
onItemClick | (item, index, event) => void | Called when a row is clicked. | |
ariaLabel | 'Menu' | Accessible name of the navigation. | |
| Extra class names for the menu. | |||
| Inline styles for the menu. |
itemsArray<{ text, link?, image?, marquee?, meta? }>Menu rows. marquee changes the text that scrolls in the band and meta adds a note at the end of the row.
[]speednumberMarquee speed in px per second.
60direction'left' | 'right' | 'alternate'Which way the marquee runs. Alternate flips every other row.
'left'followCursornumberHow much moving the cursor sideways speeds up or reverses the marquee, from 0 to 1.
0.4durationnumberTime in seconds the band takes to glide to a row.
0.5stretchnumberHow much the band stretches like liquid while it moves, from 0 for rigid to 1.
0.6magnetnumberHow much the band leans toward the cursor inside a row, from 0 to 1.
0.25bandInsetnumberGap in px between the band and the row edges.
carryContentbooleanMoves the marquee with the band instead of keeping it fixed in each row.
bandRadiusnumberCorner radius of the band in px. Use a large value for a pill.
textColorstringColor of the menu text.
'#ffffff'bgColorstringBackground color of the menu.
'#120F17'marqueeBgColorstringBackground color of the band.
'#ffffff'marqueeTextColorstringText color inside the band.
'#120F17'borderColorstringColor of the lines between rows.
'rgba(255, 255, 255, 0.14)'dividersbooleanDraws lines between rows.
dimInactivebooleanFades the other rows while the band is on one.
align'center' | 'left'Alignment of the row labels.
'center'showIndexbooleanNumbers each row.
showArrowbooleanAdds an arrow to the end of each row.
imageShape'pill' | 'rounded' | 'circle'Shape of the images in the band.
'pill'introbooleanRows rise in, the lines draw and the band sweeps once down the menu on mount.
activeIndexnumberMarks the current page row.
onItemClick(item, index, event) => voidCalled when a row is clicked.
ariaLabelstringAccessible name of the navigation.
'Menu'Extra class names for the menu.
Inline styles for the menu.
Dependencies
2 required packages
npm install @hugeicons/react @hugeicons/core-free-icons


