Overview
Navigation options control the display and behavior of navigation dots (pagination) and keyboard arrow key navigation.Options
Controls the display and functionalities of nav components (dots).If
true, display the nav and add all functionalities.Controls
nav position.The container element/selector around the dots.
navContainer must have at least same number of children as the slides.Indicate if the dots are thumbnails.If
true, they will always be visible even when more than 1 slide is displayed in the viewport.Allows using arrow keys to switch slides.
When a control button is focused, arrow keys will work regardless of this option setting.
Customizing Navigation Dots
Basic Custom Styling
Custom Navigation Container
Thumbnail Navigation
Use images as navigation:Examples
Navigation with Arrow Keys
Disable Navigation on Mobile
Text-Based Navigation
Accessibility
Tiny Slider automatically adds appropriate ARIA attributes to navigation:aria-labelindicating the page numberaria-controlspointing to the slider- Current slide indication in the label
tabindexmanagement for keyboard navigation
Responsive Configuration
Navigation options can be adjusted at different breakpoints:Best Practices
- Always provide navigation: Either dots, arrows, or both for better UX
- Consider mobile users: Touch swipe may be enough on mobile, hide dots to save space
- Thumbnails: Use
navAsThumbnailsfor image galleries to provide visual preview - Keyboard navigation: Enable
arrowKeysfor accessibility - Contrast: Ensure nav dots have sufficient contrast against the background