Enter
Navigation

NavArrows

A paired navigation control. Hovering an arrow extends it the way it will take you.

Back disabled

Usage

<NavArrows
  size="md"
  stretch={4}
  intensity="normal"
  spring="smooth"
/>

How the motion works

The head advances by the full spring value while the tail retreats at a third of it, so the shaft lengthens instead of the glyph sliding. The path geometry is recomputed each frame rather than applying scaleX — a transform would distort the stroke width, whereas redrawing keeps the line weight constant as it extends.

useSpringStateusePress

Props

PropTypeDefaultDescription
onBack / onForward() => voidActivation handlers.
backDisabled / forwardDisabledbooleanfalseDisable either direction.
stretchnumber4Shaft extension on hover, in SVG units.
backLabel / forwardLabelstringAccessible names for each arrow.