A beautiful, lightweight, and customizable cryptocurrency price ticker widget for any website
Perfect for blogs, news sites, portfolios, and any web project that wants to display live crypto prices in a sleek scrolling marquee format.
- 🔄 Real-time prices - Live cryptocurrency data
- 🎨 Light & Dark themes - Matches any website design
- ⚡ Lightweight - Only ~15KB minified
- 🚀 Fast loading - Optimized performance
- 📱 Responsive - Works on all devices
- 🎛️ Highly configurable - Speed, count, theme, etc.
- 🔗 SEO friendly - Generates backlinks to your site
- 🚫 No dependencies - Pure vanilla JavaScript
- ♿ Accessible - ARIA compliant
Add this single line of HTML to your website:
<div id="crypto-marquee"></div>
<script src="https://www.thecoinanalysis.com/widgets/crypto-marquee-widget.js"></script>That's it! 🎉 Your crypto ticker will automatically load and display live prices.
Visit our interactive demo to see the widget in action and test different configurations.
<div id="crypto-marquee"></div>
<script src="https://www.thecoinanalysis.com/widgets/crypto-marquee-widget.js"></script><div id="crypto-marquee" data-theme="dark"></div>
<script src="https://www.thecoinanalysis.com/widgets/crypto-marquee-widget.js"></script><div id="crypto-marquee" data-speed="20"></div>
<script src="https://www.thecoinanalysis.com/widgets/crypto-marquee-widget.js"></script><div id="crypto-marquee"
data-count="10"
data-show-change="false">
</div>
<script src="https://www.thecoinanalysis.com/widgets/crypto-marquee-widget.js"></script>Customize your widget using HTML data attributes:
| Attribute | Type | Default | Description |
|---|---|---|---|
data-speed |
number | 40 |
Animation speed in seconds (lower = faster) |
data-count |
number | 15 |
Number of cryptocurrencies to display |
data-theme |
string | "light" |
Theme: "light" or "dark" |
data-show-change |
boolean | true |
Show 24h price changes with colors |
data-show-powered-by |
boolean | true |
Show "Powered by" attribution link |
data-api-url |
string | Auto | Custom API endpoint (advanced usage) |
<div id="crypto-marquee"
data-speed="30"
data-count="20"
data-theme="dark"
data-show-change="true"
data-show-powered-by="false">
</div>
<script src="https://www.thecoinanalysis.com/widgets/crypto-marquee-widget.js"></script>Add to your theme's footer.php:
<div id="crypto-marquee" data-theme="light"></div>
<script src="https://www.thecoinanalysis.com/widgets/crypto-marquee-widget.js"></script>- Edit your page/post
- Add a "Custom HTML" block
- Paste the widget code
import { useEffect } from 'react';
function CryptoMarquee({ speed = 40, theme = 'light' }) {
useEffect(() => {
const script = document.createElement('script');
script.src = 'https://www.thecoinanalysis.com/widgets/crypto-marquee-widget.js';
script.defer = true;
document.body.appendChild(script);
return () => document.body.removeChild(script);
}, []);
return <div id="crypto-marquee" data-speed={speed} data-theme={theme} />;
}<template>
<div id="crypto-marquee" :data-speed="speed" :data-theme="theme"></div>
</template>
<script>
export default {
props: ['speed', 'theme'],
mounted() {
const script = document.createElement('script');
script.src = 'https://www.thecoinanalysis.com/widgets/crypto-marquee-widget.js';
document.body.appendChild(script);
}
}
</script>Add to your theme's theme.liquid before </body>:
<div id="crypto-marquee" data-count="10"></div>
<script src="https://www.thecoinanalysis.com/widgets/crypto-marquee-widget.js"></script><script src="https://www.thecoinanalysis.com/widgets/crypto-marquee-widget.js"></script>npm install crypto-marquee-widgetDownload the latest release from GitHub Releases
# Clone the repository
git clone https://github.com/thecoinanalysis/crypto-marquee-widget.git
cd crypto-marquee-widget
# Install dependencies
npm install
# Build the widget
npm run build
# Start development server
npm start- ✅ No tracking or cookies
- ✅ No personal data collection
- ✅ HTTPS-only connections
- ✅ No external dependencies beyond our secure API
- ✅ Open source and transparent
- ✅ Chrome 60+
- ✅ Firefox 55+
- ✅ Safari 12+
- ✅ Edge 79+
- ✅ Mobile browsers
- 📏 Size: ~22KB minified + gzipped
- ⚡ Load time: <100ms
- 🔄 Updates: Every 30 seconds
- 💾 Memory: <2MB usage
- 🚀 Hardware acceleration: Enabled
Q: Is it free to use?
A: Yes! Completely free for personal and commercial use.
Q: Can I customize the styling?
A: Yes! Override CSS classes or use our theme system.
Q: Does it affect SEO?
A: No negative impact. Actually provides beneficial backlinks.
Q: Can I use multiple widgets on one page?
A: Absolutely! Just use different IDs.
Q: What about mobile devices?
A: Fully responsive and touch-friendly.
- 🐞 Bug reports: GitHub Issues
- 💬 Questions: GitHub Discussions
- 📧 Email: support@thecoinanalysis.com
- 🌐 Website: thecoinanalysis.com
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to all contributors who have helped improve this widget
- Built with ❤️ by the thecoinanalysis team
- Cryptocurrency data provided by reliable market APIs
⭐ Star us on GitHub • 🌐 Visit our website • 📺 Live Demo
Made with ❤️ for the crypto community