Speed
60px/s
Follow Cursor
0.4
Duration
0.5s
Stretch
0.6
Magnet
0.25
Band Inset
0px
Band Radius
0px

More components in Pro

Galleries, cards and interactive pieces for pages that need more than the basics.

View all 255
27 properties
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.
speed60Marquee speed in px per second.
direction'left' | 'right' | 'alternate''left'Which way the marquee runs. Alternate flips every other row.
followCursor0.4How much moving the cursor sideways speeds up or reverses the marquee, from 0 to 1.
duration0.5Time in seconds the band takes to glide to a row.
stretch0.6How much the band stretches like liquid while it moves, from 0 for rigid to 1.
magnet0.25How much the band leans toward the cursor inside a row, from 0 to 1.
bandInsetGap in px between the band and the row edges.
carryContentMoves the marquee with the band instead of keeping it fixed in each row.
bandRadiusCorner 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.
dividersDraws lines between rows.
dimInactiveFades the other rows while the band is on one.
align'center' | 'left''center'Alignment of the row labels.
showIndexNumbers each row.
showArrowAdds 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.
activeIndexMarks the current page row.
onItemClick(item, index, event) => voidCalled 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.

Default[]
speednumber

Marquee speed in px per second.

Default60
direction'left' | 'right' | 'alternate'

Which way the marquee runs. Alternate flips every other row.

Default'left'
followCursornumber

How much moving the cursor sideways speeds up or reverses the marquee, from 0 to 1.

Default0.4
durationnumber

Time in seconds the band takes to glide to a row.

Default0.5
stretchnumber

How much the band stretches like liquid while it moves, from 0 for rigid to 1.

Default0.6
magnetnumber

How much the band leans toward the cursor inside a row, from 0 to 1.

Default0.25
bandInsetnumber

Gap in px between the band and the row edges.

carryContentboolean

Moves the marquee with the band instead of keeping it fixed in each row.

bandRadiusnumber

Corner radius of the band in px. Use a large value for a pill.

textColorstring

Color of the menu text.

Default'#ffffff'
bgColorstring

Background color of the menu.

Default'#120F17'
marqueeBgColorstring

Background color of the band.

Default'#ffffff'
marqueeTextColorstring

Text color inside the band.

Default'#120F17'
borderColorstring

Color of the lines between rows.

Default'rgba(255, 255, 255, 0.14)'
dividersboolean

Draws lines between rows.

dimInactiveboolean

Fades the other rows while the band is on one.

align'center' | 'left'

Alignment of the row labels.

Default'center'
showIndexboolean

Numbers each row.

showArrowboolean

Adds an arrow to the end of each row.

imageShape'pill' | 'rounded' | 'circle'

Shape of the images in the band.

Default'pill'
introboolean

Rows rise in, the lines draw and the band sweeps once down the menu on mount.

activeIndexnumber

Marks the current page row.

onItemClick(item, index, event) => void

Called when a row is clicked.

ariaLabelstring

Accessible name of the navigation.

Default'Menu'

Extra class names for the menu.

Inline styles for the menu.

Dependencies

2 required packages

npm install @hugeicons/react @hugeicons/core-free-icons