spoilerjs – Reddit-style spoilers with particle animations
spoilerjs – Reddit-style spoilers with particle animations
Hello HN! I just published my first npm library as a small way to give back to the open source community. I built `spoilerjs`, a lightweight web component that lets you hide text with an animated spoiler effect. Think Reddit spoilers, but with more flair! It works with plain HTML, React, Vue, or Svelte, and you can customize attributes like particle density, velocity, and scale. The effect is totally inspired by the Telegram app! Demo: https://spoilerjs.sh4jid.me NPM: https://www.npmjs.com/package/spoilerjs GitHub: https://github.com/shajidhasan/spoilerjs I'm sure there are probably some bugs and rough edges, but I'd love to hear your feedback! Thanks!
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
find your Reddit cakeday in style
Doom 1993 Preprocessing Animations
I made some transistor animations
My attempt at a decentralised Reddit
Reddit Imgur Uploader
Reddit 1.0
Afroic – The African Reddit
Dumppit – A Reddit Firehose
Reddit Firehose
Rockets – Reddit and websockets