About Hero Section Bg Img

Instraction

Flowsuite is built for seamless customization—follow this guide to set up your content, adjust layouts, and launch with confidence.

<script>
document.addEventListener("DOMContentLoaded", () => {

  gsap.registerPlugin(ScrollTrigger);

  const counters = document.querySelectorAll(".counter");

  counters.forEach(counter => {

    const text = counter.textContent.trim();

    const number = parseFloat(text.replace(/[^0-9.]/g, ""));
    const suffix = text.replace(/[0-9.,]/g, "").trim();

    const obj = { value: 0 };

    gsap.to(obj, {
      value: number,
      duration: 3,
      ease: "power2.out",

      scrollTrigger: {
        trigger: counter,
        start: "top 85%",
        toggleActions: "play none none none",
        once: true
      },

      onUpdate: () => {

        const finalValue =
          number % 1 !== 0
            ? obj.value.toFixed(1)
            : Math.floor(obj.value);

        counter.textContent =
          Number(finalValue).toLocaleString() + suffix;
      }
    });

  });

});
</script>

Build Stronger Relation Close More Deals.

Manage leads, track customer interactions, and grow your business faster with an intuitive AI-powered CRM platform.

Project progress circular bar showing 60% completed and 40% in progress on black background.
Two black buttons labeled Content creation and Other on a white background.
Two black rectangular buttons labeled Marketing and Investing on a white background.
User interface showing a lead list with names, companies, and selection checkboxes.