The tiny code component I reuse on almost every Framer site: an animated counter.
Stats like '920+ projects' or '10+ years' land harder when they count up as they scroll into view. So I keep this as a small Framer code component:
requestAnimationFrame with an ease-out curve, cleaned up on unmount, and property controls (to, duration, suffix) so anyone on the team can drop it in and edit it from the canvas without touching code.
Full code is in the image. Want me to share more Framer code components like this?
The tiny code component I reuse on almost every Framer site: an animated counter.
Stats like '920+ projects' or '10+ years' land harder when they count up as they scroll into view. So I keep this as a small Framer code component:
requestAnimationFrame with an ease-out curve, cleaned up on unmount, and property controls (to, duration, suffix) so anyone on the team can drop it in and edit it from the canvas without touching code.
Full code is in the image. Want me to share more Framer code components like this?