@bubblesjs/vue-infinite-scroll
A Vue 3 infinite scroll component that creates a seamless auto-scrolling effect for content lists, perfect for news tickers, announcement boards, and data displays.
Features
- 🔄 Seamless Loop: Smooth infinite scrolling animation
- ⏸️ Hover Pause: Automatically pauses on mouse hover
- ⚡ Lightweight: Minimal dependencies, pure CSS animation
- 🎛️ Configurable: Adjustable animation speed
- 📱 Responsive: Adapts to container size automatically
Installation
Quick Start
Basic Usage
Table Scrolling Example
Props
How It Works
The component works by:
- Rendering your content in a scrollable container
- Duplicating the content to create a seamless loop
- Using CSS animation to scroll the content upward
- Pausing the animation when the user hovers over the content
The animation only activates when the content height exceeds the container height.
Styling
The component uses minimal styling. You can customize the appearance of your content using your own CSS:
Use Cases
- News ticker / announcement boards
- Stock price displays
- Live data feeds
- Leaderboards
- Social media feeds
- Event logs