This was made possible by vibing, using DOM measurements, traditional methods, as an oracle to create a pure JS library for text measurements. It's subtle, but there are so many cases where CSS does not give you adequate control over text flows.
Package author shared a great thread with videos on X:
This lib is really cool. I saw so many cool demos the past few days.
Have you tried it ?
I haven't tried it. I peeked around the code a bit. The results look pretty magical.
yes it does
https://twiiit.com/_chenglou/status/2037715317888360928