Published at
Updated at
Reading time
1min

I just stumbled over this package: @pierre/diffs.

@pierre/diffs is an open source diff and code rendering library. It's built on Shiki for syntax highlighting and theming, is super customizable, and comes packed with features.

The package just hit v1 and seems to be pretty new. The docs live on diffs.com (no idea how one could snatch this domain in 2026) and it looks amazing.

Diff interface with several controls.

It comes as a React and Vanilla JS component, supports server-side rendering, and the configuration options look solid.

Disclaimer: I haven't tried diffs but I can imagine that I will take it as a starter for this blog eventually.

If you enjoyed this article...

Join 6.3k readers and learn something new every week with Web Weekly.

Reply to this post and share your thoughts via good old email.
Stefan standing in the park in front of a green background

About Stefan Judis

Frontend nerd with over ten years of experience, freelance dev, "Today I Learned" blogger, conference speaker, and Open Source maintainer.

Related Topics

Related Articles