Skip to content
tastebase

tastebase

Sign in

Your agent gets your look, hearts and dislikes in every project. Folders follow you to every device.

We keep the name, avatar and email your provider shares. Nothing else.

slot-text alternatives

· updated

Written from the tastebase registry, so it changes when an entry does.

slot-text is zero-dependency text roll: labels change by rolling characters like a slot machine (Copy to Copied). It's the right pick for a framework-free label that rolls character by character to a new word, in plain JS or any framework.

Look elsewhere when you're dealing with changing numbers: use number-flow. These 2 text effect libraries do the same job differently.

2 slot-text alternatives

  1. Torph

    Animated text morphing: labels change letter by letter instead of swapping.

  2. NumberFlow

    Animated number component: digits roll to the new value, formatted with Intl.NumberFormat.

Compared

LibraryPricingOpen sourceBest forSite
TorphFreeYes (MIT)copy button that confirms in place (Copy -> Copied)torph.lochie.me–
NumberFlowFreeYes (MIT)a pricing toggle where the price rolls between monthly and yearlynumber-flow.barvian.me–

Questions

Is slot-text free?

Yes, slot-text is free (MIT).

What is the best alternative to slot-text?

Torph: animated text morphing: labels change letter by letter instead of swapping. It's best for copy button that confirms in place (Copy -> Copied).

When should I not use slot-text?

Changing numbers: use number-flow.

Which slot-text alternatives are open source?

Torph (MIT) and NumberFlow (MIT).