Nicheloom visits: 62,431 all-time · 8,415 in the last 7 days

The opportunity tracker for new startups.

Today: 2,085 launches · Niche of the day: browser-based utility tools · See what launched today →

Data-anim

Animate HTML with just data attributes

Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.

Want to reach these readers? Sponsor an issue.

Hey HN, I built data-anim — an animation library where you never have to write JavaScript yourself.You just write: <div data-anim="fadeInUp">Hello</div> That's it. Scroll-triggered fade-in animation, zero JS to write.What it does:- 30+ built-in animations (fade, slide, zoom, bounce, rotate, etc.)- 4 triggers: scroll (default), load, click, hover- 3-layer anti-FOUC protection (immediate style injection → noscript fallback → 5s timeout)- Responsive controls: disable per device or swap animations on mobile- TypeScript autocomplete for all attributes- Under 3KB gzipped, zero dependenciesWhy I built this:I noticed that most animation needs on landing pages and marketing sites are simple — fade in on scroll, slide in from left, bounce on hover. But the existing options are either too heavy (Framer Motion ~30KB) or require JS boilerplate.I also think declarative HTML attributes are the most AI-friendly animation format. When LLMs generate UI, HTML attributes are the output they hallucinate least on — no selector matching, no JS API to misremember, no script execution order to get wrong.Docs: https://ryo-manba.github.io/data-anim/Playground: https://ryo-manba.github.io/data-anim/playground/npm: https://www.npmjs.com/package/data-animHappy to answer any questions about the implementation or design decisions.

HN · launched Mar 14, 2026 · 19 upvotes (top 27%) · 0 views

Niche: animation and motion graphics software · 229 launches, 11 in the last 7 days ▼ -52% · Explore this niche →

Category and tags

  • Horizontal
  • Dev tools
  • Developer
  • Not AI
  • Hobby / open-source project

Visit website ↗ Source listing ↗

Could you build this?

Yes A lightweight JavaScript animation library that reads data attributes and applies CSS animation classes using IntersectionObserver is trivial to vibe-code.

Discussion

7 comments analyzed.

Concerns raised: Demo page scroll performance issues with blur filters, Chaining animations across different elements not supported

Feature requests: Chain/sequence animations (run one after another), Demo page showing all animations at once

Competitors

Other products that read as similar to this one : 154 launches clear the similarity bar, closest 8 shown.

Attention rank: #64 of 155 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).

Launched 136 days after the earliest competitor.

The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.