UNPKG

simple-marquee-js

Version:

A lightweight JavaScript marquee/ticker library with CSS

25 lines (18 loc) 1.34 kB
# simple-marquee-js **Simple Marquee JS** - A lightweight, responsive marquee ticker library with zero dependencies. Create smooth, customizable scrolling content with simple JavaScript and CSS. Perfect for news tickers, product carousels, and announcement bars. [![npm version](https://img.shields.io/npm/v/simple-marquee-js)](https://www.npmjs.com/package/simple-marquee-js) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Bundle Size](https://img.shields.io/bundlephobia/minzip/simple-marquee-js)](https://bundlephobia.com/package/simple-marquee-js) A lightweight, responsive marquee ticker library with zero dependencies. Create smooth scrolling content with simple JavaScript and CSS. ![Marquee Demo](https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExcDl1d2x5eXZtYzV5Z3R2dWJ5b2h4N2Rmdm5xZzZ6eGJ4eGx0dSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/xT5LMHxhOfscxPfIfm/giphy.gif) ## Features ✨ - 📏 **Responsive** - Works on all screen sizes -**Lightweight** - Just 3KB gzipped - 🎛️ **Customizable** - Control speed, direction and behavior - 🛑 **Pause on Hover** - User-friendly interaction - 📱 **Touch Friendly** - Works on mobile devices - 🚫 **No Dependencies** - Pure vanilla JS ## Installation 📦 **Via npm:** ```bash npm install simple-marquee-js