RSS Feed Widget is a single JavaScript file that handles the hard parts of feed display. It sanitizes untrusted XML, adapts to screen size and color scheme, provides category filters, paginates long feeds, and renders image thumbnails from enclosure tags. All without a single dependency.
At a Glance
- Under 7KB gzipped bundle
- Zero dependencies
- 12 auto-colored badge themes
- WCAG AA accessible
Key Features
- Auto dark mode via prefers-color-scheme
- Built-in XSS sanitization strips scripts and dangerous markup
- "Load more" button or numbered page navigation
- Image support from RSS enclosure tags
- Skeleton loading animation while fetching
- ARIA labels, focus-visible styles, prefers-reduced-motion support
Quick Start
Add a container div, include two files from jsDelivr or npm, call RSSWidget.init() with your feed URL. Three steps, no registration, no API key, no server-side code.









