Skip to content

Features

The starlight-custom-navigation plugin includes the following features:

  • Touch swipe gestures for navigation (swipe left/right)
  • Keyboard navigation shortcuts (Ctrl + Left/Right Arrow)
  • Customizable button labels and icons
  • Responsive design for mobile and desktop
  • Automatic hiding of labels on small screens
  • Touch-friendly button placement
  • Smart scroll behavior with auto-hiding navigation

Supports touch swipe gestures for navigation:

  • Swipe left to navigate to the previous page
  • Swipe right to navigate to the next page
  • Minimum swipe distance of 75 pixels to trigger navigation

Supports keyboard shortcuts for navigation:

  • Default: Ctrl + Left Arrow for previous page
  • Default: Ctrl + Right Arrow for next page

You can customize these shortcuts using the navShortcuts configuration option.

Includes intelligent scroll behavior:

  • Navigation buttons appear when scrolling
  • Buttons remain visible for 3 seconds after scrolling
  • Buttons automatically hide after 3 seconds if scrolled down
  • Buttons stay visible when near the top of the page
  • Smooth transitions for showing/hiding buttons

Allows you to customize the button labels and icons:

  • Show/hide labels on buttons
  • Show labels in tooltips when hovering over buttons
  • Customize the button icon
  • Customize the button radius when labels are hidden

Designed to be responsive:

  • Labels and icons are automatically hidden on small screens
  • Buttons are placed in a touch-friendly manner for mobile devices
  • Optimized for both desktop and mobile viewing

Automatically hides labels on small screens to provide a better user experience:

  • Labels are hidden when the screen width is less than 768px
  • Tooltips show labels on hover when labels are hidden

Places buttons in a touch-friendly manner for mobile devices:

  • Buttons are placed in the center of the screen
  • Optimized for easy thumb access
  • Responsive sizing for different screen sizes